struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Musachy Barroso" <musa...@gmail.com>
Subject Re: [VOTE] Bring Convention plugin into trunk and deprecate Zero Config
Date Tue, 27 May 2008 13:30:35 GMT
> The scanning doesn't have anything to do with the location of the JSP files.
> It is entirely based on the set of package locators and exclude packages. It
> uses the classpath scanning mechanism that simply opens all the JAR files
> and looks at them. It only loads a class into the JVM if it is in a
> correctly named package that is not excluded.

No, what I meant is, if you have your templates under root, like in
rest-showcase and you add:

@ResultPath("/")

then it will scan the whole classpath(unless like you said, the
package locators are modified), which can cause some trouble.

musachy

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message