Hi,
How to pass information to Action class directly? i.e. I don't want to write
a ActionForm class.

<html:form action="editUpload.do">
<html:hidden property="fileAbsPath" value="<%=fileAbsPath%>" />
<html:submit>Edit</html:submit>
</html:form>

And my struts-config.xml will look like this

    <action
                path="/editUpload"
                type="upload.EditUploadAction"
                scope="request"
                input="/upload/display.jsp">
      <forward name="success" path="/upload/upload.jsp" />
    </action>

in my .java execute method, I am writing
String theFile = request.getParameter("fileAbsPath");

Any ideas?

Uma


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to