[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:       "Navjot Singh" <navjot.s () net4india ! net>
Date:       2004-02-12 5:26:30
Message-ID: EAELIHNLMFNAGKBKBBHLMEBMEBAA.navjot.s () net4india ! net
[Download RAW message or body]

jsp is servlet but servlet is not jsp. hope this point clears the point
here.
you should look into using jsp error page directive if you wish to redirect
errors from jsp page.


>-----Original Message-----
>From: Bubeník Miroslav [mailto:MBubenik@cpoj.cz]
>Sent: Wednesday, February 11, 2004 10:10 PM
>To: Struts Users Mailing List
>Subject: RE: forwarding all request to the one JSP
>
>
>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