Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > jsp include or RequestDispatcher.forward() need to identify 301's

Reply
Thread Tools

jsp include or RequestDispatcher.forward() need to identify 301's

 
 
christopher@dailycrossword.com
Guest
Posts: n/a
 
      08-29-2009
Greetings,
I am using Quercus to process php files from within Tomcat. A simple
jsp include directive containing a reference to a php file is handed
to a servlet QuercusServlet, which processes the php and outputs it to
the jsp. This is working.

What is not working is sometimes these PHP files issue 301's, which
appear to be categorically ignored. I want to include the data if
there is no 301, but pass the 301 off to the browser if there is one.
Of course this is probably impossible since the response is committed,
so I may need to sent a Javascript reload command or some sort of
kludge. One way or the other, I want to see the response code of the
included servlet, but I don't see how I can.

For anyone familiar with Quercus, I do not understand the difference
between Quercus and Resin. Resin has tonza rewrite and redirect
potential, but resin seems to be a full server (replacing Tomcat?),
where quercus is just a php interpreter. So, i don't see where to
configure any rewriting in quercus, despite the fact that it uses much
of resin. So confused.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
/* #include <someyhing.h> */ => include it or do not include it?That is the question .... Andreas Bogenberger C Programming 3 02-22-2008 10:53 AM
[JSP] difference between jsp:forward and jsp:include alexjaquet@gmail.com Java 0 06-02-2006 01:21 PM
jsp:include is not allowing me write scriptlet between <jsp:param> tags ramakrishna Java 0 05-04-2006 12:49 PM
<%JSP:include page="hello.jsp" %> Shinya Koizumi Java 3 03-12-2006 11:34 PM
jsp include and jsp param Robert Mark Bram Java 2 09-12-2005 04:25 AM



Advertisments