On Wed, Mar 10, 2010 at 1:29 PM, Jiujing Gu <[email protected]> wrote:
> Hi, > > I'm a new to this. > > I downloaded click.2.1.0 and got the examples working under tomcat. > Then I tried to follow the quick start guide on http://click.apache.org/ > steps 1-4. I didn't get what I suppose to get. All I got was > > Page Not Found > The page you requested was not found. > > What have I done wrong? Could that because I didn't put the files > under CATALINA_HOME? How did you setup your project? Are you using any IDE - eclipse, netbeans - or any build tool - ant, maven? Gilberto > If that is the case, what do I need to do to make > it work outside CATALINA_HOME? > > In Tomcat 5, application Context Descriptor XML files are placed in the $CATALINA_HOME/conf/<engine name>/<host name> directory. Its my example: /home/gilberto/bin/apache-tomcat-6.0.14/conf/Catalina/localhost/com.gilbertoca.park-park-webapp.xml <?xml version="1.0" encoding="UTF-8"?> <Context docBase="/home/gilberto/dev/netbeans-config/park-jpa/web/target/com.gilbertoca.park-park-webapp" path="/com.gilbertoca.park-park-webapp"> <Logger className="org.apache.catalina.logger.FileLogger" prefix="ROOT." suffix=".log" timestamp="true"/> </Context> Gilberto
