You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Sean Schofield <se...@schof.com> on 2004/10/13 00:22:13 UTC

JSF and Struts Together (Easiest possible way)

I am wondering how easy it would be to setup an application that uses 
both JSF and Struts.  If I'm not interested in having either framework 
communicate with each other, do I even need struts-faces? 

In other words if I want part of the application to use '.faces' and be 
handled exclusively by JSF and other parts to be '.do' and be handled 
exclusively by Struts.  Assume that the JSF has no need for tiles or 
struts validation.  Is this just a matter of adding the servlet mapping 
for faces to the web.xml?   Can struts and JSF coexist without faces-jar 
in this simple case?

sean


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


Re: JSF and Struts Together (Easiest possible way)

Posted by Sean Schofield <se...@schof.com>.
Craig McClanahan wrote:

>Yes, this would "just work".  But it leads to the worst case scenario
>discussed earlier on the mail thread, where half your navigation is in
>faces-config.xml and the other half is in struts-config.xml.  I
>wouldn't recommend it as either a migration strategy or as a new
>development strategy.
>
>Craig
>
>  
>
Thanks.  Just curious - I wasn't seriously considering this option.

sean


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


Re: JSF and Struts Together (Easiest possible way)

Posted by Craig McClanahan <cr...@gmail.com>.
Yes, this would "just work".  But it leads to the worst case scenario
discussed earlier on the mail thread, where half your navigation is in
faces-config.xml and the other half is in struts-config.xml.  I
wouldn't recommend it as either a migration strategy or as a new
development strategy.

Craig


On Tue, 12 Oct 2004 18:22:13 -0400, Sean Schofield
<se...@schof.com> wrote:
> I am wondering how easy it would be to setup an application that uses
> both JSF and Struts.  If I'm not interested in having either framework
> communicate with each other, do I even need struts-faces?
> 
> In other words if I want part of the application to use '.faces' and be
> handled exclusively by JSF and other parts to be '.do' and be handled
> exclusively by Struts.  Assume that the JSF has no need for tiles or
> struts validation.  Is this just a matter of adding the servlet mapping
> for faces to the web.xml?   Can struts and JSF coexist without faces-jar
> in this simple case?
> 
> sean
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
>

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