Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem in Retriving Value in Action class

Rushabh Vashi
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic