Forums Register Login

jsp:forward problem with Tomcat

+Pie Number of slices to send: Send
I am using Tomca 4
i forward a page like this

and in "ForumHome.jsp"
i do

but gives nothing..
What can be the problem?
Ajit
+Pie Number of slices to send: Send
solved
this works
+Pie Number of slices to send: Send
Hello Ajit,
There is not a need to declare a saperate String variable "name" here.
The mistake you had done in the "ForumHome.jsp" is, while showing value of any java expression on the jsp page output you have to use <%= %> and you have used <% %>.
So if you made the following change in the "ForumHome.jsp" then also it will work
Welcome <%= request.getParameter("user");%>
Note: Consider I am using "<%=" here.
- Dhananjay
+Pie Number of slices to send: Send
Ya u r right
That also worked thanx for posting..
Ajit
Get me the mayor's office! I need to tell him about this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1162 times.
Similar Threads
passing parameters in jsp:include
Unable to use forward option with parameters
hello help me in authentication
JSP tags in jspx
Session variables in Netscape 4.76?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 08:44:43.