wood burning stoves 2.0*
The moose likes Struts and the fly likes Passing attributes through HTTP request 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 "Passing attributes through HTTP request" Watch "Passing attributes through HTTP request" New topic
Author

Passing attributes through HTTP request

Ryan White
Greenhorn

Joined: Feb 20, 2008
Posts: 7
Hello, I'm relatively new to Struts and JSP and am having some difficulty figuring out my problem here. I am trying to pass attributes to a JSP from an Action Class. I'm following the example of existing code but there must be something that I forgot to change in order to make it work. I keep getting the following error:



Is there something in the struts-config file that needs to indicate that attributes are being passed? Like I said I have one ActionClass and JSP that work and I'm trying to add an additional page. I thought I duplicated all of the essential functionality but obviously I'm missing something.

Ryan White
Greenhorn

Joined: Feb 20, 2008
Posts: 7
Does anyone have any help on this? Or at least a direction to point me in?
Amirtharaj Chinnaraj
Ranch Hand

Joined: Sep 28, 2006
Posts: 236
you try to put the line above you have mentioned

<bean efine id="test" value="james"/>

i think you forgot to initilize the variable test

regards
amir

[ February 25, 2008: Message edited by: Amirtharaj Chinnaraj ]

[ February 25, 2008: Message edited by: Amirtharaj Chinnaraj ]
[ February 25, 2008: Message edited by: Amirtharaj Chinnaraj ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Passing attributes through HTTP request