web

Why does a dynamic JNLP generated from a JSP always fail with a locahost hef ?

I have a JSP that spits out a JNLP file as shown below. Work son localhost, when deployed to a remote server, Java Web Start errors out with an exception - Unable to load resource: http : // localhost:8080/jnlp/myjnlp.jnlp ExitException[ 3]com.sun.deploy.net.FailedDownloadException: Unable to load resource: http: // localhost:8080/jnlp...

Why is PHP so popular in contract work?

I've decided I'm going to learn the skills to make websites with the hopes of maybe doing contract work one day. Currently I'm dabbling with Django, but I get the impression that most contract work is done in PHP. Why is that? ...

ASP.NET VS2010 Sub application resource cost

Hello, I was considering having a sub "web application" in my asp.net (4.0 C#) web application (using the same application pool). E.g. for a blog application so I may keep things separate. How much additional resources of the server does a sub-application take? Or rather how much resources (excluding the app pool) does a web applic...

what is webpage advertising impression program

i want to build it in asp.net 2.0 what actually advertising impression program means? what is this term means like geography, demographics, setting up a rate card. how can i easily build it? any reference site for example any pdf for help any help will be welcomed ...

Silverlight web service callback performance

I have a silverlight client that communicates with a web service on a server. It has a DoSomething method that does nothing and returns void. On the client, I call the service and listen to when the response comes back: proxy.OnDoSomethingCompleted+=OnDoSomethingCompleted; t0 = Environment.TickCount; proxy.DoSomethingAsync(); void DoS...

How do I set up an automated "Quote of the day"?

Hi all, I am in charge of a website, and I have set up a "Quote of the Day" which currently is quite simplistic. See Here (on the right of the page) What it currently does is it gets the Day of the month and the month, and normalises to one, then multiplies by the number of quotes (stored in an xml file) and rounds down. While this met...

Allow a web application to access a local file

If I have a web application that needs to use a file, it presents the user with a standard open file dialog. But instead of uploading the file to server can it modify the file locally in a temporary location, while uploading in the background? That way the user does not have to wait for the upload before they can use my web app. ...

What hosted-commenting tools produce clean markup?

You may be familiar with IntenseDebate, Disqus, and their ilk. These tools produce wretched markup that pollutes my pages significantly and is difficult to style correctly. I have a site which is statically generated. Are there hosted commenting options that are simple, clean, unobstrusive, and easy to style? ...

adding .asx to windows media player 12 library problem

Hi friends I'm trying to listening web radio on WMP 12 but I need to add extension .asx to libary and choose the low connection but I could not find how to do ? in microsoft support site "http://support.microsoft.com/kb/977314" they gave hotfix but also howfix is not related to this Can anyone help me? ...

ASP.NET How do you stop the underlying Web Form in a routing application from being accessed directly?

Imagine a Web Forms application with routing. A clean page name like: http://www.mywebsite.com/home Might have an underlying of URL of: http://www.mywebsite.com/page.aspx?id=3 If a user enters http://www.mywebsiter.com/page.aspx?id=3 into a browser, I need to redirect to http://www.mywebsite.com/home Is this possible to do? I can't ...

Java method exposed as web service using JAX-WS

Hi, I have got a function with prototype Bean1 fn(Bean2 ) in java. I am trying to expose it as a web service so that same can be called by a .net client or any other. I am using JAX-WS. Both Bean1 and Bean2 have got Hashmap, String and Int type of class variables. Please suggest me as on how to deal with the Bean classes. Isn't hashmap ...

Web Hosting, Web Scaling

I have a simple web application to conduct online exams for the college students. All questions are multiple choice questions. Around 5000 users will be taking up the exam. My backend is mysql and using PHP as the front end. I want to know the hardware configuration for the servers that will be required to host this application and work ...

Asp.net web service read custom header

cant read http custome header "MSISDN" from my web service ... same code works on regular asp.net page. Can anyone shade a light on that subject ? public CellulupResponse parseRequest(string requestString) { CellulupResponse response = new CellulupResponse(); UserIDType userType = UserIDType.MSISDN; // Get The HttpReq...

Getting Data from PAC file

Is it possible to execute the Javascript in a PAC file from a .Net windows application to return the proxy server? ...

what's a child frame in the context of a web page ?

What's a child frame in the context of a web page ? Is it the web page opened through a hyperlink on a page, or is it some part of the web page ? ...

Web Services: Accessing Session State from Host Client to Service Proxy

How can I access the Session State created from a Client(Website) to my Web Service Proxy site? Services Interface Proxy public class SessionService : System.Web.Services.WebService { [WebMethod(EnableSession=true)] public string GetSession(string key) { return HttpContext.Current.Session[key].ToString(); } } Website hostin...

How to disable Firefox's default drag and drop on all images behavior with jQuery?

Firefox has this annoying behavior that it let's the user drag and drop any image element by default. How can I cleanly disable this default behavior with jQuery? ...

How can I parse anyType {----} response with ksoap2

I have seen many forum questions about this, but i haven't found a solution that works for me. THis is my code: String serviceURL = "http://www.mywebsite.com/WebService.asmx"; String serviceNamespace = "http://tempuri.org/"; String serviceMethod = "getUser"; String SoapAction = "http:...

how to create War file for a RESTful web service developed in eclipse IDE

Hello All, I ve created a sample REST web service which writes some data in a xml file. Now I have hard coded the path where the xml file is to be written. I want to know how to declare that local path of the file in web.xml file as servlet parameter and how to get the path from there and use it in codebe . Also I need to create the WAR...

searching techniques

how to find out particular topic/helps from the google? is there any kind of techniques ? for example i want to find "goto" statement function or i want to find out types of css with example for html? kindly give me answer ? ...