It's not a secret anymore!
The moose likes JSP and the fly likes JSP Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "JSP Error" Watch "JSP Error" New topic

JSP Error

sameer avate

Joined: Feb 15, 2007
Posts: 9
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

but not works when place in between

Please let me know

Rao Raghu
Ranch Hand

Joined: Jan 05, 2007
Posts: 100
It depends on the sequence in which you are retrieving these parameters.

RAGHU<br /> <br />"When the going gets tough, the tough get going"
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Are these values properly URL encoded (no spaces, control characters, etc...)?
[ February 15, 2007: Message edited by: Ben Souther ]

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
sameer avate

Joined: Feb 15, 2007
Posts: 9
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

Joined: Jan 10, 2002
Posts: 63847

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?

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: JSP Error
It's not a secret anymore!