aspose file tools*
The moose likes JSP and the fly likes jsp forward Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "jsp forward" Watch "jsp forward" New topic
Author

jsp forward

James Clarke
Ranch Hand

Joined: Oct 04, 2004
Posts: 148
Hi all,

I have code that looks similar to the below in a JSP page:

<%out.println("testing");%>
<jsp:forward page="uploadFile.jsp">
</jsp:forward>
</html>

In theory this should forward without printing anything out, put sometimes it prints "testing" and doesn't go anywhere, does anyone know what could be causing this ?

thanks,

J.C
Vishnu Prakash
Ranch Hand

Joined: Nov 15, 2004
Posts: 1026
why do u need a seperate closing tag. Make it a self-closing tag and try. It may work.


Servlet Spec 2.4/ Jsp Spec 2.0/ JSTL Spec 1.1 - JSTL Tag Documentation
 
Don't get me started about those stupid light bulbs.
 
subject: jsp forward