File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jsp forward

 
James Clarke
Ranch Hand
Posts: 148
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1026
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
why do u need a seperate closing tag. Make it a self-closing tag and try. It may work.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic