tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 42343] - Posted parameters are not available
Date Tue, 24 Jul 2007 14:00:22 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42343>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42343





------- Additional Comments From philippe.desrosiers@gmail.com  2007-07-24 07:00 -------
(In reply to comment #4)
I'm having the same problem, but with a Servlet mapping. No servlet is able to
obtain HTTP Post parameters from the HttpRequest object. Here's web.xml:

    <servlet>
        <servlet-name>mpp</servlet-name>
        <description>My Servlet</description>
        <servlet-class>
            org.whatever.MyServlet
        </servlet-class>
        <load-on-startup>1</load-on-startup>
    </servlet>

In Tomcat 5, posts to localhost/mpp would result in org.whatever.MyServlet
correctly able to get the request parameters. In Tomcat 6 this is no longer the
case. Is there some additional server settings I need to change in order to
re-enable this?

> (In reply to comment #3)
> > Interesting approach... What if the URL I am trying to filter doesn't correspond
> > to a file, directory, or even a servlet mapping?
> 
> it shouldn't be a problem in that case, it's only a problem because a reference
> to a directory / path with out a file also maps to the index pages, such as
> index.html index.jsp, (or what ever you have configured in your web.xml) and
> causes a redirect on the server side (but no a normal servlet redirect).



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message