tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anand Raman" <ara...@india-today.com>
Subject Re: re:more apache -> tomcat fun..
Date Wed, 03 May 2000 04:56:06 GMT
hi ryan
Check out the mod_jserv.so file.. Please download the mod_jserv.so file of tomcat and use
it..
Hope this helps
Anand Raman
----- Original Message ----- 
From: Ryan Vanderwerf <ryan@clubcastlive.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Wednesday, May 03, 2000 9:49 AM
Subject: re:more apache -> tomcat fun..


> Server: Apache 1.3.11
> Tomcat: 3.1 binary release, with accompaning mod_jserv.so
> 
> 
> Another weird Apache->tomcat problem.. if I execute a servlet From apache,
> none of my query string paramters are passed along to my Tomcat servlet.
> 
> I.e.
> /servlet/mp3download.mp3?id=71&blah=71.mp3
> I then log request.getQueryString(), request.getParameter("id") all come
> back as null.
> 
> However if I execute it from the Tomcat server, everything works fine,
> parameters and querystrings are intact.
> 
> here's my web.xml in my WEB-INF dir:
> <web-app>
>    <servlet>
>         <servlet-name>
>            mp3download.mp3
>         </servlet-name>
>         <servlet-class>
>            mp3download
>         </servlet-class>
> </servlet>
> </web-app>
> 
> 
> Ryan Vanderwerf
> -----Original Message-----
> From: Adam Le [mailto:adam@echobuzz.com]
> Sent: Tuesday, May 02, 2000 10:53 PM
> To: tomcat-user@jakarta.apache.org
> Subject: RE: Microsoft IE and Apache+Tomcat Problem revisited
> 
> 
> I've put a "return;" right after every place I have "sendRedirect();"
> statement but this only stops the page from executing.  My login.jsp goes to
> verify.jsp.  verify.jsp then decides if this is a valid user, if it is
> redirect them to other pages, if not then redirect to the login.jsp again.
> 
> Instead of doing this, it stops on verify.jsp.  Any clues?
> 
> Thanks.
> 
> Adam
> 
> -----Original Message-----
> From: Travis Reeder [mailto:travis@xabre.com]
> Sent: Tuesday, May 02, 2000 8:29 PM
> To: tomcat-user@jakarta.apache.org
> Subject: RE: Microsoft IE and Apache+Tomcat Problem revisited
> 
> 
> I had this problem and a simple fix is to put a
> 
> return;
> 
> right after your sendRedirect().  This ends the service function and stops
> the previous page from executing.
> 
> Let me know if this works for you.
> 
> Travis
> 
> -----Original Message-----
> From: Adam Le [mailto:adam@echobuzz.com]
> Sent: Tuesday, May 02, 2000 9:06 PM
> To: tomcat-user@jakarta.apache.org
> Subject: Microsoft IE and Apache+Tomcat Problem revisited
> 
> 
> Hi all,
> 
> A few days ago, I posted a problem with Microsoft IE browsing jsp pages
> served through Apache 1.3.12 + Tomcat 3.1.  The problem was that when you
> move from one page to the next, the first page would remain in the browser,
> followed by HTTP header info, followed by the page you are trying to get to.
> The URL does get correctly redirected to the new page.  This does not happen
> on Netscape at all.
> 
> I've been able to recreate this on both NT4 and RedHat 6.2.  This is what
> I've found so far:
> 
> - If I access Tomcat's webserver directly, this does not occur at all (IE
> and Netscape are happy with this).  Only when Apache does the hand off.
> 
> - If the pages were simple beanless jsp to beanless jsp, then the IE is
> happy.  If there are beans doing database access, I would get 2 pages with
> HTTP header in between.
> 
> - If the jsp pages were converted to servlets, IE would function correctly.
> 
> I've been recommended to try using <jsp:include page="somePage.jsp"
> flush="true" /> versus <%@ include file="somePage.jsp" %>.  This does not
> affect the behavior of IE at all.
> 
> Can someone confirm if there is a redirection problem with Apache+Tomcat or
> is the problem with IE?  Please no bashing :)  I am convince this is not a
> code issue since browsing directly on Tomcat's webserver works perfectly
> fine.
> 
> Thanks.
> 
> Adam
> 
> 
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org
> 
> 
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org
> 
> 
> 
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org
> 
> 
> 
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org
> 


Mime
View raw message