Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

defining beans in struts-el

 
Dave Mere
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic