File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP Error

 
sameer avate
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I am trying to passs some parameters through a link.
It contains some parameteters that are dynamic and some are hardcoded.
If i try to change the sequence of tha hardcoded parameters ie if i put it in between the dynamic ones; the jsp misses out the column of the table it is present in.


eg :

It works fine when the hard coded value is at the end of the link
/SERVLET?param1=dynamic-value¶m2=dynamic-value¶m3=hardcoded-value

but not works when place in between
/SERVLET?param1=dynamic-value¶m3=hardcoded-value¶m2=dynamic-value


Please let me know

Thanks
 
Rao Raghu
Ranch Hand
Posts: 100
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It depends on the sequence in which you are retrieving these parameters.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are these values properly URL encoded (no spaces, control characters, etc...)?
[ February 15, 2007: Message edited by: Ben Souther ]
 
sameer avate
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ya theere are no spaces etc...and also the sequence of retrieving them seems to be fine.

CAn you thwow some more light on what you mean by the sequence of retrieving parameters ?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64205
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The order in which you retrieve the parameters is irrelevant.

Can we see the actual URLs? And the code you are using to retrieve them?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic