File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

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
I agree. Here's the link:
subject: jsp forward
It's not a secret anymore!