Meaningless Drivel is fun!
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "jsp forward" Watch "jsp forward" New topic

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:

<jsp:forward page="uploadFile.jsp">

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 ?


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
subject: jsp forward
jQuery in Action, 3rd edition