jQuery in Action, 3rd edition
The moose likes JSP and the fly likes blank page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "blank page" Watch "blank page" New topic

blank page

Neeraj Vij
Ranch Hand

Joined: Nov 25, 2003
Posts: 315

I am submitting a form using Javascript. I am changing the form action at the selection of an item from a list box.

When I select an item from the list box, the control goes to blank page. I am unable to debug, where the problem is. it is not throwing any exception or error also.

for testing I hardcoded the action to a live url(google, javaranch etc.) it gave me a 501 error. Not Implemented
The server is unable to process your request

Please provide some help.

Neeraj Vij
Ranch Hand

Joined: Nov 25, 2003
Posts: 315
sorry..the control is going to javaranch.com

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
I'd start be looking at what precisely is being sent, using something like the HttpLiveHeaders of TamperData Firefox extensions.

Then use those same extensions with the actual web sites. You'll probably find that there are parameters that aren't being sent, or that a different HTTP method is used, or something similar.
Neeraj Vij
Ranch Hand

Joined: Nov 25, 2003
Posts: 315
request.getHeader("Referer") is returning the url where the form is being submitted.

request.getMethod() is returning post


request.getRequestURL() is returning null. not sure why

not sure why
I agree. Here's the link: http://aspose.com/file-tools
subject: blank page
It's not a secret anymore!