tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karr, David" <david.k...@wamu.net>
Subject RE: page redirect problem in jstl or jsp?
Date Wed, 18 Aug 2004 14:49:26 GMT

If it isn't obvious yet, try:

  <c:redirect url="/SearchAction.do"/>

> -----Original Message-----
> From: Gao Di [mailto:jaoyina@yahoo.com.cn] 
> 
> i use struts framework in my project,and use the jstl
> in the jsp page.now i want to write a page which will
> auto forward to a struts action class,but whatever i
> use jstl or jsp ,it can't find the url either.
> in jstl i use:<c:redirect url="SearchAction.do"/>
> and in jsp i use:
> <jsp:forward page="SearchAction.do"/>
> if i change the url to "xxx.jsp" or a simple hello
> world servlet,it's ok.but if i use struts
> action,evertime i got page 404,url not found.
> cause i think the struts action is also a servlet in 
> essential,maybe there is a way to solve this problem.

---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org


Mime
View raw message