I did a quick deployment of your war and got this message from WebLogic
6.1SP2
<[WebAppServletContext(7817190,velstruts,/velstruts)] Error loading
servlet: "velocity">
java.lang.ClassNotFoundException:
org.apache.velocity.tools.view.servlet.VelocityViewServlet
at
weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:179)
at
weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:65)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at
weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)
at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:583)
at
weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:2221)
at
weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:2165)
at
weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContext.java:892)
at
weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:815)
at
weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:428)
at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
at weblogic.j2ee.Application.addComponent(Application.java:163)
at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
at
weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java:76)
at java.lang.reflect.Method.invoke(Native Method)
at
weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
at
weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at
weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy37.addWebDeployment(Unknown Source)
at
_______________________
Will Spies
Towers Perrin
Phone: (215)246-7145
e-mail: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Ted Husted cc: (bcc: Will Spies/Towers Perrin)
<husted@apache Subject: Velocity-Tools / Struts
.org>
01/18/02 09:46
AM
Please respond
to "Struts
Users Mailing
List"
Will Spies/Towers Perrin wrote:
> >>And Velocity can access the Struts controller too :)
>
> is this documented anywhere? Is this just in development now or is it
part
> of their release?
It hasn't made it into the release yet, but the code is already working
and seems mature. It's just a matter of making the Struts elements
available as standard objects that Velocity can see.
Really ~very~ cool. You can download the sample application WAR here.
Very much worth a look.
http://husted.com/struts/resources/velstruts.zip
I'll be working on adding more documentation for this, and other
contributions like the Commons-Validator and Tiles to the Struts User
Guide.
-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Building Java web applications with Struts.
-- Tel +1 585 737-3463.
-- Web http://www.husted.com/struts/
--
To unsubscribe, e-mail: <
mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <
mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>