You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by janis <ja...@itr.no> on 2001/02/13 17:20:55 UTC
Can't make the POST method work with Tomcat4.0 b1.
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