Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jsp forward

 
James Clarke
Ranch Hand
Posts: 148
  • 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
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic