File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Problem in Retriving Value in Action class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Problem in Retriving Value in Action class" Watch "Problem in Retriving Value in Action class" New topic

Problem in Retriving Value in Action class

Rushabh Vashi

Joined: Apr 27, 2011
Posts: 20
Hello friends,
I am working on one struts2 application,

My struts.xml file action mapping looks like this:

<action name="fileUpload" class="Upload.FileUpload">
<interceptor-ref name="fileUploadStack" />
<param name="hello">Rushabh</param>
<result name="input">/upload/upload.jsp</result>
<result name="success">/upload/upload-success.jsp</result>
<result name="SUCCESS">/common/update.jsp</result>

now i want to use the value of "hello" param in my FileUpload class...

What should i do friends???

I am stuck with these

Thank you:
I agree. Here's the link:
subject: Problem in Retriving Value in Action class
Similar Threads
Struts2- How to pass dynamic parameters from one Action class to another Action class
Struts 2 FileUpload Interceptor Problem for Large File Size Upload....
struts 2 upload problem
Can we pass data of older request into another action???
Problem in using "exportParameters" in struts2