GeeCON Prague 2014*
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


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
 
GeeCON Prague 2014
 
subject: Problem in Retriving Value in Action class