Forums Register Login

How to get jsp:param

+Pie Number of slices to send: Send
Hi All,
I have written something like this.


In abc.jsp, when I try to get it by


It always gives me null. Any idea what I am doing wrong.

Thanks in advance.
+Pie Number of slices to send: Send
All looks good to me.
Here is a full example that works for me on Tomcat7.

page1.jsp


page2.jsp


Try accessing it with something like http://localhost:8080/MyWebApp/page1.jsp?fromPage1=HelloWorld

If this works, then double(triple) check your code. Maybe print out all the request parameters received with the following code snippet:

Dinner will be steamed monkey heads with a side of tiny ads.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 21673 times.
Similar Threads
jsp:param usage
jsp:include & jsp:param
jsp:param usage
problem passing param in included page when using filter
Whats wrong with this code?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 04:58:07.