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

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


Herman Schelti
Ranch Hand

Joined: Jul 17, 2006
Posts: 387
hi Jiri,

I think tag-files will come in handy for this:

Jiri Nejedly
Ranch Hand

Joined: Oct 22, 2002
Posts: 81
Thanks! Very nice!
I agree. Here's the link:
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?