File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes Regarding passing parameters in jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Regarding passing parameters in jsp" Watch "Regarding passing parameters in jsp" New topic
Author

Regarding passing parameters in jsp

yekkala krishna
Ranch Hand

Joined: Mar 04, 2007
Posts: 105
Hi,
i am passing parameter as follows



but when i see in the request url it is seeing in this manner 10.80.159.20%3a7001%2fSAM-GSAM1
May i know what can i do to pass request as above only.
thanks in advance.

regards,
rama
Sean Clark
Rancher

Joined: Jul 15, 2009
Posts: 377

Hey,

They are both the same, only the second one is properly encoded (as it should be). You will still recieve exactly the same text at the other end.

Sean


I love this place!
yekkala krishna
Ranch Hand

Joined: Mar 04, 2007
Posts: 105
Hi Clark,
Good to see your reply.
But i am not able to connect to our server if we do like this.

i am able to connect if i use syntax correctly.
what can i do now?

regards,
rama
Sean Clark
Rancher

Joined: Jul 15, 2009
Posts: 377

Hey,

If you could give us more infomation on how you are retrieving the parameter from the url once the link has been clicked, then it might be easier to help.

Sean
yekkala krishna
Ranch Hand

Joined: Mar 04, 2007
Posts: 105
Hi Bear,

i have updated my code tags.
By mistake i have entered incorrect tags.

Following is my code:
Here some characters like :,/,-> are converted to binary code.
Could this thing help you to solve my issue.



regards,
Rama
Sean Clark
Rancher

Joined: Jul 15, 2009
Posts: 377

Hey,

Well firstly the code you posted has errors in it as you do not have <c:url..> opening tag.

Also I asked for the code that get's the calues from the URL, not the function that creates the URL.

Sean
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Regarding passing parameters in jsp