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
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
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
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
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
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
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
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
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