File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes jsp param tag(urgent) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "jsp param tag(urgent)" Watch "jsp param tag(urgent)" New topic
Author

jsp param tag(urgent)

sandeep rane
Greenhorn

Joined: Jun 29, 2001
Posts: 5
hi
i tried the param tag of jsp with forward and include on winNT but it is not working
some code i am pasting here
<jsp:forward page="forward2.jsp" flush="true" >
<jsp aram name="ffname" value="sanjay" />
</jsp:forward>
but in forward2.jsp page when i am saying
String str = request.getParameter("ffname");
it is givimg me null value
the same thing is happening with include tag
please suggest me the answer

------------------
james gong
Ranch Hand

Joined: May 29, 2001
Posts: 48
flush isnt a attribute of jsp:forward ,you delete it and try if again.
I wish it will help you. feed back if it work.
james gong
Ranch Hand

Joined: May 29, 2001
Posts: 48
I am not certain if you have a mistake in your code,I try the code im my pc,it work well.
jsp code in test1.jsp:
<jsp:forward page="test2.jsp" >
<jsp aram name="ffname" value="sanjay" />
</jsp:forward>

jsp code in test2.jsp:
<%String str = request.getParameter("ffname"); %>
<%out.print(str); %>
check your code carefully .I dont think it is a big problem .
wish it will help you .
good luck!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jsp param tag(urgent)