Re: How to limit file upload size without full upload

2009-06-13 Thread Wes Wannemacher
On Saturday 13 June 2009 10:34:53 pm tatan123 wrote: > We want to restrict the file upload size to 2 MB. While doing testing it > seems we can upload a 100 MB file, after that struts2 showing message that > the uploaded file exceeds the max file size limit. Is there any way struts2 > can show the e

How to limit file upload size without full upload

2009-06-13 Thread tatan123
We want to restrict the file upload size to 2 MB. While doing testing it seems we can upload a 100 MB file, after that struts2 showing message that the uploaded file exceeds the max file size limit. Is there any way struts2 can show the error message without full file upload... Thanks -- View th

RE: sutrutsshow case doesn'y run

2009-06-13 Thread Martin Gainty
this is the code which looks for configuration provider public class org.apache.struts2.dispatcher.Dispatcher { //the init is called which references init_TraditionalXmlConfigurations /** * Load configurations, including both XML and zero-configuration strategies, * and update opt

sutrutsshow case doesn'y run

2009-06-13 Thread Susumu Majima
Hello Forks, I tried to run strutsshowcase with Eclipse & Tomcat6.0.14. But I can not run with errors below. I think I have to put some configuration file in somewhere. Does anyone know how to do it and what kind of config file I need ? Unable to load configuration. - [unknown location] at

HTML in label

2009-06-13 Thread Philipp Leusmann
Hi, is there any way to use html in a label for example in a checkbox with the built-in macros? I would like to use something like : <@s.checkbox name="acceptTOS" label="I accept the Terms of service" /> Is it possible? Regards, Philipp smime.p7s Description: S/MIME cryptographic signatur

Re: How to make readonly textfield in Struts 2.0.11.2 datetimepicker

2009-06-13 Thread Bharath Kumar
Hi Guys :), I too googled for many hours for this and didnt find any solution, so i tried to do it myself and it worked out luckly :) In my case i hve this datetimepicker in a TD This is the o