On Saturday, December 6, 2003, at 07:27 AM, Arash Bijanzadeh wrote:
On Saturday 06 December 2003 14:51, Erik Hatcher wrote:
On Saturday, December 6, 2003, at 04:53 AM, Arash Bijanzadeh wrote:
I wonder if I can use xdoclet tags in my jsp pages?

No.


Why would you want to?

I am searching for a way to set security-constraints for the webapp, I wonder
is there a way to do it via xdoclet? writing everything in a xml file is
error pron and time consuming.

Error prone and time consuming? Really? Just use <xmlvalidate> in your Ant build file and the errors will be determined at build time, not deploy time. What is so time consuming about three lines of XML?


Security constraints are one thing that really *belong* separate from source code, in my opinion. I would recommend you keep them separate and if you are using XDoclet for other web.xml pieces, just use the appropriate security merge points and write the descriptor snippet separate.

Erik




------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to