• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JSP Error

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It depends on the sequence in which you are retrieving these parameters.
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ?
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
reply
    Bookmark Topic Watch Topic
  • New Topic