| Author |
defining beans in struts-el
|
Dave Mere
Ranch Hand
Joined: Oct 25, 2004
Posts: 37
|
|
Hi I've just started using struts-el and am having some difficulty finding resources to help me with this. So two questions really . . . 1) how do I define the bean I'm passing through to my jsp? bean efine is depreciated I know but I can't find any replacement. 2) Can anyone point me in the direction of a good struts-el web resource. Just tags & syntax would be really helpful! Thanks v much!
|
 |
P-A Rosenberg
Greenhorn
Joined: Sep 22, 2005
Posts: 15
|
|
Hi 1) I would create the bean in my Action class and register the bean to the session or the request that will make it available to the JSP page. 2) Here's some info on the el library: http://struts.apache.org/struts-el/index.html You will find the taglib reference links in the menu to the left. Hope it helped. //P-A
|
 |
Merrill Higginson
Ranch Hand
Joined: Feb 15, 2005
Posts: 4864
|
|
|
The struts-el tags are the same as the regular struts tags. The only real difference is that you can use EL expressions anywhere a runtime expression is allowed.
|
Merrill
Consultant, Sima Solutions
|
 |
 |
|
|
subject: defining beans in struts-el
|
|
|