• 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
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Regarding passing parameters in jsp

 
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Rancher
Posts: 377
Android Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
yekkala krishna
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 377
Android Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 105
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 377
Android Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic