RE: page redirect problem in jstl or jsp?

2004-08-18 Thread Gao Di
yeah,that's the problem,thank u very much :) --- Bill Siggelkow <[EMAIL PROTECTED]> 的正文: > Your problem is the mapping -- if you want any path > ending in ".do" to be a > Struts Action you need to define the servlet mapping > as: > > action > *.do > > > Trust me, there's nothing

RE: page redirect problem in jstl or jsp?

2004-08-18 Thread Bill Siggelkow
Your problem is the mapping -- if you want any path ending in ".do" to be a Struts Action you need to define the servlet mapping as: action *.do Trust me, there's nothing wrong with Struts when it comes to your problem. Bill Siggelkow [EMAIL PROTECTED] > -Original Mes

Re: page redirect problem in jstl or jsp?

2004-08-18 Thread Gao Di
maybe there is something wrong in my config files? struts-config.xml web.xml action /do/* but in another jsp,i use form's action,it's ok. --- Bill Siggelkow <[EMAIL PROTECTED]> 的正文: > Works for me, Gao. I have the following JSP which > redirec

RE: page redirect problem in jstl or jsp?

2004-08-18 Thread Gao Di
it doesn't work either,i find it's a problem of struts,but can't find a solution. --- "Karr, David" <[EMAIL PROTECTED]> 的正文: > > If it isn't obvious yet, try: > > > > > -Original Message- > > From: Gao Di [mailto:[EMAIL PROTECTED] > > > > i use struts framework in my project,and u

RE: page redirect problem in jstl or jsp?

2004-08-18 Thread Karr, David
If it isn't obvious yet, try: > -Original Message- > From: Gao Di [mailto:[EMAIL PROTECTED] > > 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

Re: page redirect problem in jstl or jsp?

2004-08-18 Thread Bill Siggelkow
Works for me, Gao. I have the following JSP which redirects to an Action without a hitch. <%@ page contentType="text/html;charset=UTF-8" language="java" %> <%@ taglib uri="http://java.sun.com/jstl/core"; prefix="c" %> Test Gao Di wrote: > it's ok ah,if i typed page directly,u can

Re: page redirect problem in jstl or jsp?

2004-08-18 Thread Gao Di
it's ok ah,if i typed page directly,u can write some sample and try it . --- Bill Siggelkow <[EMAIL PROTECTED]> 的正文: > What happens if you go to directly to the page from > your browser? Do u > also get a 404? If so, then the problem is with the > action mapping and > not the redirect. Perhaps a

Re: page redirect problem in jstl or jsp?

2004-08-18 Thread Bill Siggelkow
What happens if you go to directly to the page from your browser? Do u also get a 404? If so, then the problem is with the action mapping and not the redirect. Perhaps a typo in your struts-config.xml. Gao Di wrote: > i use struts framework in my project,and use the jstl > in the jsp page.now i w

page redirect problem in jstl or jsp?

2004-08-18 Thread Gao Di
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: and in jsp i use: if i change the url to "xxx.jsp" or a simple hello world