File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Spring in Action this week in the Spring 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem in Retriving Value in Action class