Re: How to Integrate with PHP or external java webapp
Rex Madden <[email protected]> Mon, 6 Jun 2005 23:26:19 -0400
| Newsgroups | gmane.comp.web.sitemesh.general |
|---|---|
| Message-ID | <[email protected]> |
Yes. Essentially, your servlet becomes a proxy for the PHP webapp. Here's a post from Joe: http://forums.opensymphony.com/thread.jspa?threadID=1454&tstart=0 On 6/6/05, hypergori <[email protected]> wrote: > > Rex, Thank a lot for posting but > I know what happens in sitemesh as you say. > > Browser > -> 1. HTTP request > -> 2. sitemesh servlet filter do something > --> 3.target jave webapp > <- 4. HTTP response > <- 5. servelet filter of sitemesh decorates response > Broswer > > Then I can imagine when the webapp is java base > because all I have to do is put the sitemesh filter > onto the web.xml of "the target webapp".Then sitemesh decorates the > response. > > But what if it is about PHP webapp or other ? They are not part of java > webapp. > Sitemesh is servlet filter ,which needs web.xml , which needs java-webapp, > So,How the PHP app or ASP app can be a part of java webapp? > How can we make the sitemesh servlet intercept the request or response of > PHP? > > Sitemesh can decorate any HTTP response with HTML but , > I cannot make sitemesh intercept PHP req/res. > > All I can imagin is use servlet-PHP bridge, serlvet-ASP brige , CGI > servlet .. > and so on. Am I right? Then filter catch the req/res for PHP , CGI ,,, > etc. > > Any help will be appriciate. THanks > > --------------------------------------------------------------------- > Posted via Jive Forums > > http://forums.opensymphony.com/thread.jspa?threadID=3046&messageID=8076#8076 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >