aspose file tools*
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
Author

blank page

Neeraj Vij
Ranch Hand

Joined: Nov 25, 2003
Posts: 315
Hi,

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.

Thanks,
Neeraj
Neeraj Vij
Ranch Hand

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


thanks,
neeraj.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42648
    
  65
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.


Ping & DNS - my free Android networking tools app
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

but

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

not sure why
 
jQuery in Action, 2nd edition
 
subject: blank page