RE: Fileupload : Restricted contentType is working fine but no proper error message is shown to user

2009-03-16 Thread ravindra
: RE: Fileupload : Restricted contentType is working fine but no proper error message is shown to user Hi Ravindra, I have done it but really dont no why it dint got pasted properly on forum image/png,image/gif

RE: Fileupload : Restricted contentType is working fine but no proper error message is shown to user

2009-03-16 Thread ravindra
You have to mention param -allowed types. image/png,image/gif,image/jpeg,text/plain -Original Message- From: sajidbigler [mailto:sajidbig...@gmail.com] Sent: Monday, March 16, 2009 4:23 PM To: user@struts.apache.org Subject: Fileupload : Restricted cont

RE: JasperReports Plugin:How to specify JDBC connection?

2009-01-13 Thread ravindra
*param in the struts.xml (???) The param should be the name of the list object which is used to generate the report.For example, You should have a List mypojoList; as a property in your database which is used to generate the data in the table list.You should populate the list object in you

json action redirection in struts2

2009-01-08 Thread ravindra
Hi guys, I have two action configured in struts.xml like below.My interceptor stack noValidationLoginStack will check for session is timed out or not. If the session is timeout returns "login" so the page goes to login.jsp.It is working fine in first package but from json Packages and act

json action redirection in struts2

2009-01-07 Thread ravindra
Hi guys, I have two action configured in struts.xml like below.My interceptor stack noValidationLoginStack will check for session is timed out or not. If the session is timeout returns "login" so the page goes to login.jsp.It is working fine in first package but from json Packages and actio

RE: Problem when using result type="redirect-action"

2008-12-02 Thread ravindra
I think some thing is wrong at these lines, ViewTestedLetters /admin 1 Your mapping should be like, ViewTestedLetters All the best, -Original Message- From: holod [mailto:[EMAIL PROTECTED] Sen

RE: ExecuteAndWaitInterceptor Issue - Not getting request object at some where

2008-11-27 Thread ravindra
Try using this, Thread.currentThread().sleep(10); instead of Thread.sleep(10); _ From: nikunj [mailto:[EMAIL PROTECTED] Sent: Thursday, November 27, 2008 3:54 PM To: 'Struts Users Mailing List' Subject: ExecuteAndWaitInterceptor Issue - Not getting request object at some where

RE: ExecuteAndWaitInterceptor Issue - ThreadLocal object

2008-11-26 Thread ravindra
Hey nikunj, Why don't you implement SessionAware in your action and try? This means if you need to access, for example, session data, you need to implement SessionAware rather than calling ActionContext.getSession(). Regards, ravindra -Original Message- From: nikunj [mailto:[

RE: [Help] executeAndWait Interceptor prob during migration

2008-11-24 Thread ravindra
Hi nikunj, I think you can use HttpServletRequest (request scope) object in your utitlity class. HttpServletRequest object is threadlocal object.When executeAndWait Interceptor is in progress you can not use session or application context object but request scope will be always available to you

RE: Getting acknowledgment for an AJAX request

2008-09-24 Thread ravindra
You can process the json response using yui plugins.There is a module called ConnectionManager in yui using that you can invoke your json action class as shown below var mySource = new DataSource('some/some/example.action?'); below is yui link. http://developer.yahoo.com/yui YAHOO.util.Event.

RE: Getting acknowledgment for an AJAX request

2008-09-23 Thread ravindra
Hi This has lot of info about sending ajax requests http://developer.yahoo.com/yui/ -Original Message- From: ManiKanta G [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2008 4:03 PM To: Struts Users Mailing List Subject: Re: Getting acknowledgment for an AJAX request > Please

RE: ExecuteAndWaitInterceptor problem

2008-09-16 Thread ravindra
e what this line is doing? Thankyou, Ravindra. -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2008 5:59 PM To: Struts Users Mailing List Subject: RE: ExecuteAndWaitInterceptor problem depends on how quickly your background process comp

RE: if comparing a string

2008-08-22 Thread ravindra
Where is your _status property? Is it in session or request or as a property in your action class? And what is the data type of your _status field? If it is in your session the below one will work If it is in your action class as property having getter and setter, the below one will work All

struts 2.0.11.2 problem

2008-08-20 Thread ravindra
this version of struts.Please any one can help me with this issue. Thankyou, Ravindra.