Empty request parameters with enctype set to "multipart/form-data"

2007-02-15 Thread Karsten Voges
Hi list, I downloaded Struts 2.0.5 (beta) and started developing of a small app (simple form submit) on Tomcat 5.5.17 (JDK 1.5). Its working quite good and I am happy with both the stability and the programming model. Unfortunately I have a problem with some requests (form submitting) sendin

Re: Empty request parameters with enctype set to "multipart/form-data"

2007-02-15 Thread Karsten Voges
Thanks a lot. This definitly helped. Just pasted in the following code into web.xml and the error disappeared: struts-cleanup org.apache.struts2.dispatcher.ActionContextCleanUp struts-cleanup /* Strange that it needs this, but good to know that there is a fix for this. Cheers, Karsten. And

Re: Control/Restrict number of users using the system

2007-02-16 Thread Karsten Voges
I do not know if there is such a possibility within struts, but you can restrict the access via your configuration of tomcat. There is a parameter for setting a max. connections. Or you solve it programmatically by saving a variable in you servletContext increamenting after each login, but I am