You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Peters, John" <Jo...@bcbsfl.com> on 2009/09/18 05:03:10 UTC

Migration of traditional servlet/JSP application to Struts 2

Hello,

Does Struts 2 have a way to allow a traditional servlet/jsp application
to coexist with the Struts Action Model?

I would like to allow my servlet to continue processing some requests
while adding new jsp pages under the Struts implementation.

 

 



Blue Cross Blue Shield of Florida, Inc., and its subsidiary and affiliate companies are not responsible for errors or omissions in this e-mail message. Any personal comments made in this e-mail do not reflect the views of Blue Cross Blue Shield of Florida, Inc.  The information contained in this document may be confidential and intended solely for the use of the individual or entity to whom it is addressed.  This document may contain material that is privileged or protected from disclosure under applicable law.  If you are not the intended recipient or the individual responsible for delivering to the intended recipient, please (1) be advised that any use, dissemination, forwarding, or copying of this document IS STRICTLY PROHIBITED; and (2) notify sender immediately by telephone and destroy the document. THANK YOU.

RE: Migration of traditional servlet/JSP application to Struts 2

Posted by "Peters, John" <Jo...@bcbsfl.com>.
Thank you Greg.
I see my mistake now.
My filter was mapped to /* instead of *.action as you recommend.


-----Original Message-----
From: Greg Lindholm [mailto:greg.lindholm@gmail.com] 
Sent: Friday, September 18, 2009 11:30 AM
To: Struts Users Mailing List
Subject: Re: Migration of traditional servlet/JSP application to Struts
2

Sure, no problem.  I have several servlets running in the same web app
as
Struts2 and if you have requests that go directly to jsp pages that
works also.

The only issue I had on the upgrade to 2.1.6 was to adjust the Struts
filter mappings so that Struts didn't try to process requests that were
meant for the servlets.  To make this work I had all my struts requests
use the '.action' suffix and set the struts filter mapping to match.

On Thu, Sep 17, 2009 at 11:03 PM, Peters, John
<Jo...@bcbsfl.com>wrote:

> Hello,
>
> Does Struts 2 have a way to allow a traditional servlet/jsp 
> application to coexist with the Struts Action Model?
>
> I would like to allow my servlet to continue processing some requests 
> while adding new jsp pages under the Struts implementation.
>





Blue Cross Blue Shield of Florida, Inc., and its subsidiary and affiliate companies are not responsible for errors or omissions in this e-mail message. Any personal comments made in this e-mail do not reflect the views of Blue Cross Blue Shield of Florida, Inc.  The information contained in this document may be confidential and intended solely for the use of the individual or entity to whom it is addressed.  This document may contain material that is privileged or protected from disclosure under applicable law.  If you are not the intended recipient or the individual responsible for delivering to the intended recipient, please (1) be advised that any use, dissemination, forwarding, or copying of this document IS STRICTLY PROHIBITED; and (2) notify sender immediately by telephone and destroy the document. THANK YOU.


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


Re: Migration of traditional servlet/JSP application to Struts 2

Posted by Greg Lindholm <gr...@gmail.com>.
Sure, no problem.  I have several servlets running in the same web app as
Struts2 and if you have requests that go directly to jsp pages that works
also.

The only issue I had on the upgrade to 2.1.6 was to adjust the Struts filter
mappings so that Struts didn't try to process requests that were meant for
the servlets.  To make this work I had all my struts requests use the
'.action' suffix and set the struts filter mapping to match.

On Thu, Sep 17, 2009 at 11:03 PM, Peters, John <Jo...@bcbsfl.com>wrote:

> Hello,
>
> Does Struts 2 have a way to allow a traditional servlet/jsp application
> to coexist with the Struts Action Model?
>
> I would like to allow my servlet to continue processing some requests
> while adding new jsp pages under the Struts implementation.
>
>
>
>
>
>
>
> Blue Cross Blue Shield of Florida, Inc., and its subsidiary and affiliate
> companies are not responsible for errors or omissions in this e-mail
> message. Any personal comments made in this e-mail do not reflect the views
> of Blue Cross Blue Shield of Florida, Inc.  The information contained in
> this document may be confidential and intended solely for the use of the
> individual or entity to whom it is addressed.  This document may contain
> material that is privileged or protected from disclosure under applicable
> law.  If you are not the intended recipient or the individual responsible
> for delivering to the intended recipient, please (1) be advised that any
> use, dissemination, forwarding, or copying of this document IS STRICTLY
> PROHIBITED; and (2) notify sender immediately by telephone and destroy the
> document. THANK YOU.
>