Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to encode the query string data using jstl?  RSS feed

 
Abhishek Reddy
Ranch Hand
Posts: 259
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a requirement for retrieving an images and display it to the user.....

i have done in the following way



Note: Actually it is image tag followed by src attribute followed by url

but my id contains some invalid characters such as ?&# for example id=abhi&?#aaa'....how do i encode the id before sendin request to servlet

i need something like

 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65826
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<c:url>
 
Abhishek Reddy
Ranch Hand
Posts: 259
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for the help

i got it
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!