Re: Jquery field validation

2010-12-29 Thread Mead Lai
Hello Karthick, you can use some plug-in: http://code.google.com/p/struts2-jquery/wiki/Validation or Jquery validate plug-in: http://jquery.bassistance.de/validate/demo/ Regards, Mead On Thu, Dec 30, 2010 at 2:33 PM, wrote: > > Any body tell be how to do jquery filed validation using struts 2

Jquery field validation

2010-12-29 Thread karthick.gunasekaran
Any body tell be how to do jquery filed validation using struts 2. in my form have name,email,confirm email. if the user not enter any field it will show the error message on top of the each corresponding field like "filed does not empty. if the email is not a valid it will show the error messag

Re: Problem with browser or Struts file upload code.

2010-12-29 Thread Aaron Brown
Have you investigated other issues outside the web application? 1) Does the server have enough room in the temp space where the file is saved while it is being uploaded? Most web servers will store the in-progress upload in a temporary default location, and will then copy the file to the final des

Re: Problem with browser or Struts file upload code.

2010-12-29 Thread Anjib Mulepati
Yes in this dummy program I can upload 1.5 GB file so 2MB may be the upper limit. Now in real app what can be the reason for getting text field value null even I have enter something while uploading larger file. I can get the value while working with smaller file. Any idea? Anjib On 12/

Re: Problem with browser or Struts file upload code.

2010-12-29 Thread Paul Benedict
I believe uploading up to 2GB is supported by Struts 1. It relies on Commons FileUpload which has this limitation for older implementations. On Wed, Dec 29, 2010 at 10:24 AM, Anjib Mulepati wrote: > 1. Find that we can change the max file upload size in struts-config file > > http://struts.apach

Re: Problem with browser or Struts file upload code.

2010-12-29 Thread Anjib Mulepati
1. Find that we can change the max file upload size in struts-config file http://struts.apache.org/1.x/userGuide/configuration.html So set to 3GB. processorClass="org.apache.struts.tiles.TilesRequestProcessor" maxFileSize="3G"/> 2. Also in tomcat we can set maxPostSize http://tomcat.apache.

Re: Problem with browser or Struts file upload code.

2010-12-29 Thread Dave Newton
The short answer is that you ignored everything I just said and didn't look at the Tomcat and/or commons docs I referred to, which is where I'd start. IIRC this is not configurable within Struts 1 itself, but I also haven't used it for several years now. Dave On Dec 29, 2010 8:49 AM, "Anjib Mule

Re: Problem with browser or Struts file upload code.

2010-12-29 Thread Anjib Mulepati
I could not figure out where and what changes I have to make. I try with simple app with following code: 1. JSP File - focus="transactionName" method="post" enctype="multipart/form-data" > aria-labelledby="errors" aria-live="assertive"> key="transfer.name"/> property="trans_name" tab

Re: How to save the valuestack when using the redirectaction result type

2010-12-29 Thread Dave Newton
JSP pages should be under WEB-INF to avoid direct access; this has been a best practice for years. Dave On Dec 29, 2010 1:14 AM, "maven apache" wrote: > Hi: > In my application I first use the chain result type for one > action:"loginSub". > > If login success,user should be taken to the manager