• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

blank page

 
Neeraj Vij
Ranch Hand
Posts: 315
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 315
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry..the control is going to javaranch.com


thanks,
neeraj.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 315
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic