aspose file tools*
The moose likes JSP and the fly likes How to pass non spring parameter to tag files. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "How to pass non spring parameter to tag files." Watch "How to pass non spring parameter to tag files." New topic
Author

How to pass non spring parameter to tag files.

David Wolf
Greenhorn

Joined: Dec 02, 2007
Posts: 4
Hi folks,

I am wondering if it is possible to pass a non string parameter to a JSP 2.0 style page tag.

The reason why I ask is that I am wondering if it is possible to obtain macro like behavior (such as when using velocity or freemarker) with standard jsp pages through the use of page tag files.

Thanks!

Dave
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61221
    
  66

Any object type can be passed as long as the tag implementation is designed to support it.
[ December 02, 2007: Message edited by: Bear Bibeault ]

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
David Wolf
Greenhorn

Joined: Dec 02, 2007
Posts: 4
Didn't notice that there was an attribute type

<%@ attribute type="java.util.List" name="someVar" %>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to pass non spring parameter to tag files.