File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Android Security Essentials Live Lessons this week in the Android 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!
It is sorta covered in the JavaRanch Style Guide.
subject: Bean generating non-html (JSTL) tags
Similar Threads
logic tags in JSTL?
Removing html tags from a string
struts and jstl both
jsp vs servlet, stardard tag vs javabean
Head First Servlets & JSP book - JSTL and Javabean Question