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 pass URL to the jsp as parameter?  RSS feed

 
SaiManasa Dasari
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I am new to jsp. I want to pass image url which is too large as parameter to the jsp. If i give that url directly in the jsp page it is working fine.But when i am sending that image as parameter from other jsp it is not working may be due to too long.Can any one please help me to make it work.
Below is my code.


The below code is working.


 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65832
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, you didn't show us how the not-working part is sending the parameter, but my guess is that it's not being properly encoded.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!