Meaningless Drivel is fun!*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Problem in Retriving Value in Action class" Watch "Problem in Retriving Value in Action class" New topic
Author

Problem in Retriving Value in Action class

Rushabh Vashi
Greenhorn

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>
</action>

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:
Rushabh
 
wood burning stoves
 
subject: Problem in Retriving Value in Action class
 
Similar Threads
Struts 2 FileUpload Interceptor Problem for Large File Size Upload....
Struts2- How to pass dynamic parameters from one Action class to another Action class
struts 2 upload problem
Can we pass data of older request into another action???
Problem in using "exportParameters" in struts2