You'll find that complex applications will end up using more than one tag library. It's not really practical to assume you'll do everything with a single tag library, whether it's Struts, JSTL, or the Display tag library. If you want to use both Struts and JSTL, you can use the Struts-EL library from the contrib section of the Struts distribution.
> -----Original Message----- > From: Fulbright, Scott [mailto:[EMAIL PROTECTED] > > I am trying to optionally insert content if a user has a specific > role. I am currently developing an application using JSTL & Struts. > I would really like a construction similar to: > > <!-- This is Struts --> > <logic:present role="Admin"> > <!-- Optional content --> > </logic:present> > > But I would much prefer using a JSTL tag to do this. I have > attempted several different ways of doing this, but have been unable > to locate a JSTL construction that performs the same function. I am > relatively > new to these two technologies, and would appreciate any pointers that > more experienced developers can give me. Ideally, I would like a JSTL > statement analogous to the above code fragment. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]