aspose file tools*
The moose likes JSP and the fly likes Bean generating non-html (JSTL) tags Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Bean generating non-html (JSTL) tags" Watch "Bean generating non-html (JSTL) tags" New topic
Author

Bean generating non-html (JSTL) tags

Jiri Nejedly
Ranch Hand

Joined: Oct 22, 2002
Posts: 81
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

Joined: Jul 17, 2006
Posts: 387
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

Joined: Oct 22, 2002
Posts: 81
Thanks! Very nice!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Bean generating non-html (JSTL) tags