Simon Kitching wrote:
As described in the original email, this is currently done by looking for a ".xml" file sitting beside each .jsp. It works ok, and for any JSF view mechanism (jsp, facelets, clay, etc). But some people might find embedding the information in the actual page to be nicer to work with. Doing this with Facelets isn't too hard, but embedding the necessary info into a jsp page is straining my jsp knowledge considerably :-) However I think the issue is a generic one, not anything specific to this particular case: I want to add "metadata" to a jsp page, just like java annotations provide static metadata about a class without needing to create an instance and execute it. I would think that being able to "annotate" a jsp would be useful for many purposes.
Interesting reading. Unfortunately I have no expierience with JSF.
Since JSP compilation is container dependant, I'm afraid it is hard to find any generic solution.
I'd rather go with the rule: if it ain't broke, don't fix it ;-) -- Mikolaj Rydzewski <[EMAIL PROTECTED]> --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]