On Wednesday, June 18, 2003, at 11:24 AM, Peter Romianowski wrote:


--- "Geir Magnusson Jr." <[EMAIL PROTECTED]> wrote:


Doesn't the webapp loader deal with this??

What loader? Is it in CVS? I do not see it in runtime/resource/loader

He was refering to the WebApp-Loader of the Servlet-Engine which is handling the WAR and unpacked WAR-stuff I think.
nope. we were referring to the velocity specific WebappLoader in the
velocity-tools project.
http://cvs.apache.org/viewcvs/jakarta-velocity-tools/src/java/org/ apache/veloc
ity/tools/view/servlet/WebappLoader.java?rev=1.5&content-type=text/ vnd.viewcvs
-markup

Ahh, of course. I was interpreting it the way that he wanted to clarify that
the webapp-loader (from the ServletEngine) deals with the packed / unpacked
stuff (which it does of course). The velocity-tools-webapploader then uses the
ServletContext.getResourceAsStream() method to retrieve a template and thus
doen't care wether the Webapp is a WAR or a directory.

Yep!



Just to clarify (hope not only for me ;)


The result is: Use the WebappLoader out of the tools-subproject (as Nathan
stated).

Yep!



Peter



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


--
Geir Magnusson Jr                                   203-956-2604(w)
Adeptra, Inc.                                       203-434-2093(m)
[EMAIL PROTECTED]                                   203-247-1713(m)


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to