You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by praveen kumar <pr...@gmail.com> on 2011/05/03 09:53:39 UTC
Integrating Struts 1.1 with JSF 2.0 Facelets
Hi,
Right now, I have struts application that is running fine. Now I want to
introduce a new link in the same application. By clicking the link will
display respective page that was developed with JSF Facelets technology. I
am facing problem in integrating struts with JSF.
Could anyone let me know step by step procedure for integrating Struts 1.1
with JSF 2.0?
Thanks,
praveen
Re: Integrating Struts 1.1 with JSF 2.0 Facelets
Posted by Eric Lentz <Er...@sherwin.com>.
> By clicking the link will display respective page that was developed
with JSF Facelets technology.
> I am facing problem in integrating struts with JSF.
>
> Could anyone let me know step by step procedure for integrating Struts
1.1
> with JSF 2.0?
You don't say what your problem is.
As far as running a page with a different technology, which I should think
is out of scope for this forum, an anchor tag should be sufficient. Just
link to the other page. You just need to make sure that your web.xml is
configured correctly for both technologies and that their respective URLs
allow the servlet container to choose the correct software stack upon
seeing the URL. For example, I am running Struts1 and Struts2 together.
One is .do and one is .action, respectively. In the web.xml the one stack
is called or the other. I've actually made it a tad more complex than
that, but that's the general idea.