Re: can JSP and tapestry work together?

"Malcolm Edgar" <[email protected]> Thu, 09 Jan 2003 13:50:29 +0800
Newsgroups gmane.comp.java.tapestry.devel
Message-ID <[email protected]>
Hi Phil,

I have done this successfully on a small project.

You can access all the Servlet stuff you need from the RequestContext 
object, which you can get from the RequestCycle.

http://tapestry.sourceforge.net/doc/api/net/sf/tapestry/RequestContext.html

Make sure your Tapestry Servlet runs under a different servlet-mapping url 
than your JSPs in your web.xml

To call Tapestry pages from JSP's you will need to code Tapestry URLs in 
your JSP. The ExternalService Javadoc discusses this.

http://tapestry.sourceforge.net/doc/api/net/sf/tapestry/engine/ExternalService.html

regards Malcolm

>From: "Phil" <[email protected]>
>To: <[email protected]>
>Subject: [Tapestry-developer] can JSP and tapestry work together?
>Date: Thu, 9 Jan 2003 11:23:20 +0800
>
>There are some questions which I need to know in considering integrating
>tapestry to our current web application.
>
>We might think to migrate the whole front end to Tapestry but there are 
>some
>applications which requires accesss to old framework using JSP.
>
>Can tapestry work together with JSP?
>As an example, if an object saved into tapestry session, can that object be
>retrieved from JSP page (using session object). Or can the object saved in
>Jsp session be retrieved by tapestry application?
>
>thanks,
>Phil.
>
>
>
>Service provided by MaGlobe Prepaid Worldwide Internet Access (visit 
>www.MaGlobe.com)
>
>
>-------------------------------------------------------
>This SF.NET email is sponsored by:
>SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
>http://www.vasoftware.com
>_______________________________________________
>Tapestry-developer mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/tapestry-developer


_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com