tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From janis <ja...@itr.no>
Subject Can't make the POST method work with Tomcat4.0 b1.
Date Tue, 13 Feb 2001 16:20:55 GMT
Platform:
    Linux Red Hat 7.0
    Tomcat 4.0 b1 running in Apache dependent modus using mod_webapp
(WARP)

Using
-----------------------------------------------------------------------------

<form name="myForm" action="myJspPage.jsp" method="POST">
  <input type="checkbox" name="checkboxName">
  <input type="submit" ...>
</form>

myJspPage.jsp
...
<jsp:useBean id="foo" scope="page" class="myBean" />
<jsp:setProperty name="foo" property="checkboxName" param="checkboxName"

  ...
    <% aVar = request.getParameterValues("checkboxName"); %>
...
------------------------------------------------------------------------------

no form variables are available for the Bean <myBean> in myJspPage.jsp.

Changing the method to GET everything works fine, but URL looks not so
good
any more ...

Have somebody experienced smth. like that?

I suppose that the problem can be the default settings of security
constraints
for Tomcat 4.0/b1, or the mod_webapp module do something for it own...

Any help appreciated!

janis



Mime
View raw message