[prev in list] [next in list] [prev in thread] [next in thread]
List: struts-user
Subject: Re: forwarding all request to the one JSP
From: snpe <snpe () snpe ! co ! yu>
Date: 2004-02-11 19:56:08
Message-ID: 200402112010.22927.snpe () snpe ! co ! yu
[Download RAW message or body]
You need error-page in web.xml
see http://java.sun.com/developer/EJTechTips/2003/tt0114.html
regards
Haris Peco
On Wednesday 11 February 2004 04:39 pm, Bubeník Miroslav wrote:
> I know that JSP is servlet.
> But:
> part from web.xml:
> <servlet>
> <servlet-name>error</servlet-name>
> <servlet-class>/2.jsp</servlet-class> --- this should be class name, not jsp. Or I'm wrong?
> </servlet>
>
> <!-- Action Servlet Mapping -->
> <servlet-mapping>
> <servlet-name>error</servlet-name>
> <url-pattern>*</url-pattern>
> </servlet-mapping>
>
>
> -----Original Message-----
> From: Michael McGrady [mailto:mike@michaelmcgrady.com]
> Sent: Wednesday, February 11, 2004 5:36 PM
> To: Struts Users Mailing List; struts-user@jakarta.apache.org
> Subject: Re: forwarding all request to the one JSP
>
>
> This may be one time where it is worth reminding people that JSPs really
> are Servlets?
>
> At 08:31 AM 2/11/2004, Bubeník Miroslav wrote:
> >Hi,
> >is there any possibility in web.xml how can I forward all request for
> >application XXX to one error JSP (without servlet)?
> >
> >Regards
> >
> >miro
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic