• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Bean generating non-html (JSTL) tags

 
Jiri Nejedly
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'll try to explain simply.
- We have jsp page with jstl tags
- Some groups of these tags often repeat
Can write a bean, which generates no html but jstl tags and use that bean on jsp pages?

Can JSP be processed this way :

JSP -> Bean(s) -> JSTL tags - > HTML

???

Thanks.
 
Herman Schelti
Ranch Hand
Posts: 387
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Jiri,

I think tag-files will come in handy for this:
see http://www.oracle.com/technology/pub/articles/cioroianu_tagfiles.html

Herman
 
Jiri Nejedly
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks! Very nice!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic