Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
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 The Software Craftsman this week in the Agile 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
 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: Problem in Retriving Value in Action class