Where is your HelloWorld.java screen located?

Dan Eyassu

On Wed, 5 Dec 2001, Phillip Rhodes wrote:

> Sorry, seem to be stuck.  Read through all the previous posts!
> 
> I have successfully did the "newapp" example with the TDK.
> I can successfully access the application via:
> http://localhost:8080/newapp/servlet/newapp
> 
> I then created D:\tdk\webapps\newapp\WEB-INF\src\java\HelloWorld.java
> HelloWorld.java is NOT in a package, as in the example.
> I run ant and HelloWorld is compiled to
> D:\tdk\webapps\newapp\WEB-INF\classes\HelloWorld.class
> 
> I then created D:\tdk\webapps\newapp\templates\app\screens\HelloWorld.vm
> This is as it is in the example
> 
> According to 
> http://jakarta.apache.org/turbine/turbine-2/howto/velocity-site-howto.html
> I should be running by now, but it is not working.
> 
> I bounce tomcat, but still keep getting a 404 or the default turbine screen.
> 
> http://localhost:8080/servlet/Turbine/template/HelloWorld.vm
> Gives 404
> 
> http://localhost:8080/newapp/servlet/Turbine/template/HelloWorld.vm
> Gives 404
> 
> http://localhost:8080/newapp/servlet/newapp/HelloWorld.vm
> Shows default turbine screen, no helloworld
> 
> 
> 
> 
>   
> 
> 
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> 
> --
> 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]>

Reply via email to