tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ken Martin <k...@digitalcyclone.com>
Subject Re: Servlet POST results in 404 error
Date Tue, 26 Feb 2002 19:08:00 GMT
On Tuesday, February 26, 2002, at 12:25 PM, John Wadkin wrote:

> I'd give you the URL but I'd have to give passwords and 
> stuff... It goes
> like this:
>
> servername/webapp/servletname/stringofnumbers

I had some JSP pages that worked on Netscape but not Tomcat. It 
turned out that Tomcat wanted to see a "=" separating the 
name=value pairs. From your example above, it looks like you're 
just trying to pass some numbers so you don't actually need 
the "=" (informationally), but Tomcat does to pass it on through 
the request.

Simply adding the "=" fixed it for me. Now, sometimes I'll add a 
label as the value, like: thedata=a_label, which is a visual 
convenience but ignored by the backend.

Just my experience.

Ken Martin


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message