This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Bean generating non-html (JSTL) tags
 
Similar Threads
Head First Servlets & JSP book - JSTL and Javabean Question
jsp vs servlet, stardard tag vs javabean
struts and jstl both
Removing html tags from a string
logic tags in JSTL?