A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
this week in the
defining beans in struts-el
Joined: Oct 25, 2004
Nov 07, 2005 08:59:00
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
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!
Joined: Sep 22, 2005
Nov 07, 2005 13:45:00
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:
You will find the taglib reference links in the menu to the left.
Hope it helped.
Joined: Feb 15, 2005
Nov 07, 2005 20:09:00
The struts-el tags are the same as the regular
tags. The only real difference is that you can use EL expressions anywhere a runtime expression is allowed.
I agree. Here's the link:
subject: defining beans in struts-el
Struts and EL?
struts-el vs EL
Struts EL tag library stability
Ignore Expression Language (EL) Evaluation
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015