I have Win2K/XP Embedded -
I spun my wheels for a few days trying to get Velocity/1.4 to run under
Tomcat/5.5.4.  The invoker servlet and servlet-mappings are both commented
out in Tomcat/5.5.4 web.xml file but uncommenting these didn't make any
difference.  I tried falling back to Tomcat/5.0.28 but that didn't help.  I
had to drop all the way back to Tomcat/4.1.31 which only had the
servlet-mapping for invoker commented out.  So, apparently there is a
problem with the Tomcat/5.x.x series with respect to the invoker that is
more profound than simply uncommenting the servlet and servlet-mapping tags
for the invoker.  I'd rather be using Tomcat/5.5.4 if anyone knows how to
fix the invocation...




----- Original Message ----- 
From: "Tim Lei" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, December 30, 2004 12:57 AM
Subject: Problem on using Velocity with Servlet


> I am just a beginner of Servlet & Velocity stuff.
>
> Platform:
> Redhat 9.3
> JDK: jdk1.5.0_01
> Tomcat: jakarta-tomcat-5.5.4
> Ant: 1.6.2
> Velocity: 1.4
>
> I have tomcat installed sucessfully up and running. All servlet examples
could be run under http://myhost:8080/. I am trying to build a new project
with Velocity on this server also. I followed the instruction in README.txt
and want to run the example "servlet_example1". It showed "HTTP Status 404 -
/velexample/servlet/ServletSample" everytime.
>
> I have no problem running "app_example1" in the shell. Did I missed
anything important on the servlet side? I have no idea about that. Please
help!
>
> Many thanks.
>
>
> ---------------------------------
> Do you Yahoo!?
>  Yahoo! Mail - 250MB free storage. Do more. Manage less.


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

Reply via email to