: 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
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
*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
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
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
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
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
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:[
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
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.
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
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
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
this version of
struts.Please any one can help me with this issue.
Thankyou,
Ravindra.
14 matches
Mail list logo