File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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: 83
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: 83
Thanks! Very nice!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Bean generating non-html (JSTL) tags