Re: Alternatives to <req:isUserInRole>

Kris Schneider <[email protected]>
Newsgroups gmane.comp.jakarta.taglibs.user
Message-ID <[email protected]>
Quoting Antonio Petrelli <[email protected]>:

> 2007/6/8, Kris Schneider <[email protected]>:
> >
> > I'm not aware of one. However, it would be pretty easy to create an EL
> > function
> > to take its place. What version of JSP do you need to use? If you don't
> > know
> > that, which app server and version do you need to use?
> 
> 
> 
> JSP 2.0, Servlet 2.4, why?

Um, all the better to help you, why else? ;-)

As of JSP 2.0, you can create EL functions that map to public static Java
methods. If you'd been using an older version of JSP, this option wouldn't be
available. If you're not familiar with how to get that set up, post back and
I'll provide more details.

> Antonio

-- 
Kris Schneider <mailto:[email protected]>
D.O.Tech       <http://www.dotech.com/>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.