Re: Integrating JSP / Tapestry
"Malcolm Edgar" <[email protected]> Fri, 07 Feb 2003 04:54:35 +0800
| Newsgroups | gmane.comp.java.tapestry.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Joel,
This question has come up before. Yes JSP's and Tapestry can coexist in
an application, I have done this in a small application. From tapestry you
can get all the Servlet API stuff from the RequestContext:
public void formSubmit(IRequestCycle cycle) {
RequestContext context = cycle.getRequestContext();
HttpSession session = context.getSession();
HttpServletRequest request = context.getRequest();
HttpServletResponse response = context.getResponse();
}
}
If you want to call Tapestry pages from you JSP I would recommend you use
IExternalPage. The ExternalService details the URL you would need to create
in you JSP link to do this. Its pretty simple and handy. Note there is also
an ExternalCallback & ExternalLink component.
regards Malcolm
>From: Joel Trunick <[email protected]>
>To: "'[email protected]'"
><[email protected]>
>Subject: [Tapestry-developer] Integrating JSP / Tapestry
>Date: Wed, 5 Feb 2003 16:01:31 -0600
>
>
>We have a fairly large site that was built using JSP (before I was here).
>However, we are about to change out the "second half" of our pages (order
>checkout pages). I was wondering if it is possible (and how painful) to
>switch to Tapestry for our last set of pages. We have info in session and
>request (order info) that would need to carry through to the Tapestry
>pages.
>
>Is Tapestry all or nothing? How can we start moving to Tapestry?
>
>Thanks,
>Joel Trunick
>http://www.smartprice.com/
_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com