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 Data from ActionForm without using bean:write Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Data from ActionForm without using bean:write" Watch "Data from ActionForm without using bean:write" New topic
Author

Data from ActionForm without using bean:write

Daniel Platon
Ranch Hand

Joined: Oct 10, 2005
Posts: 42
Hello all...

I need to acces data from an ActionForm using standard JSP code (i.e. scriptlets). From what I understoond I can do something like:


but myForm is null. (I have changed the scope attribute in struts-config.xml to "session"). Should I do this some other way ?

Thank you
Kalyana Sundaram
Ranch Hand

Joined: Mar 18, 2005
Posts: 94
Please post your action-mapping for the one you are talking about. That would be helpful to see why the action-form is null.
And mostly people never tend to use scritplets in JSP. And also there would be less need to refer the form-bean using the JSP useBean tag.

Perhaps It would be easy for me to answer precisely, if you would explain what you were trying to do actually.


Only those who will risk going too far can possibly find out how far one can go !!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Data from ActionForm without using bean:write