stepbystep tutorial - logging and SpringappController.java
I'm working through the step-by-step mvc tutorial, and I've run into some problems -
at step 11, after I have created and modified log4j.properties, I have run ant deploy, ant stop and ant start. I expected to see a logfile show up where I specified (in this case, in my tomcat logs directory). However, this logfile never appeared.
I initially didn't worry too much about this and moved on to step 12 - however, clicking the link http://localhost:8080/hello.htm does not work - tomcat cannot find the resource.
I tried putting System.out.println statements directly into the SpringappController class, and it does not appear that this class is getting called at all.
How is the SpringappController class supposed to be called, and how does tomcat know to call it?
I've tried this on two different machines with no luck on either - any help would be appreciated.
Re: stepbystep tutorial - logging and SpringappController.ja
The tutorial is based upon a context root of springapp. You are trying to access the resource in the tomcat root application - are you sure this is how you configured the application? Try http://localhost:8080/springapp/hello.htm instead.
Originally Posted by graemeo