logo       

Re: Apache Tomcat/4.1.24 forumdemo/servlet_example1 not working: msg#00094

jakarta.velocity.user

Subject: Re: Apache Tomcat/4.1.24 forumdemo/servlet_example1 not working

Reid Thompson wrote:
this example from the developers doc's does not work nor does the forumdemo war file. Can someone help me understand what needs to be configured re Velocity, or Tomcat to get these examples in a working state?

Thanks,
reid


I think Your problem is servlet mapping or the lack off it... Because of security reasons since tomcat 4.1.12 the default configuration for tomcat web.xml is to comment out the "invoker servlet". You can activate the "invoker servlet" to get small test sevlets (velexamples) working, but You better read docs how to use servlet mapping in Your applications web.xml.


http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html

I got an updated forumdemo.war if You want...


hope this helps You...

--
Tomas


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise