Hi,

        Yes, i'm using tdk, but it's tdk 2.2_01.... I tried putting this
servlet-mapping, but didn't work... and then I noticed that there's no
mapping for the newapp servlet, shouldn't it have one?

Thanks!
Thiago Souza
----- Original Message ----- 
From: "David Demner" <[EMAIL PROTECTED]>
To: "'Turbine Users List'" <[EMAIL PROTECTED]>
Sent: Saturday, February 07, 2004 12:16 AM
Subject: RE: Newbie problems!


Hi Thiago,

I'm not sure if this is a typo, but you need to access
<http://localhost:8080/newapp/servlet/newapp>
http://localhost:8080/newapp/servlet/newapp to get to the sample
application.  Navigating to a .vm file also shows the code listing for my
functional applications.

Are you using the TDK (Turbine Development Kit - an archive containing
tomcat, sample applications, and the appropriate jar files)?  If not, try
<http://kiasoft.com/~painter/tdk-2.3_20031210.tar.gz>
http://kiasoft.com/~painter/tdk-2.3_20031210.tar.gz which is the TDK for
turbine version 2.3

If you are using the tdk, try putting:

  <servlet-mapping>
    <servlet-name>benflex</servlet-name>
    <url-pattern>/servlet/benflex/*</url-pattern>
  </servlet-mapping>

into webapps/newapp/WEB-INF/web.xml in the <webapp> section.

Good luck,

David

-----Original Message-----
From: Thiago Souza [mailto:[EMAIL PROTECTED]
Sent: Friday, February 06, 2004 7:52 PM
To: [EMAIL PROTECTED]
Subject: Newbie problems!


Hi there!


        I'm trying to use turbine... ok, i could build everything, and
deploy the app to tomcat succesfully, but when I tried to access a .vm page,
the page wasn't parsed (as if it were a normal text file). So i searched
deeply in the velocity documents and I found out about the
VelocityViewServlet, I didn't know if i had to use it, but I tried...
unfortunatelly it didn't work, when I try to access the
<http://localhost:8080/newapp/templates/app/layouts/Default.vm>
http://localhost:8080/newapp/templates/app/layouts/Default.vm page I got a
"Unable to find resource '/templates/app/layouts/Default.vm" error from the
VelocityViewServlet (the page is there, i could access it before installing
VelocityViewServlet)... I guess i'm not supposed to use this velocity tool
cause i didn't see any reference to it in turbine's document, but I can't
figure out! Help me!

Thanks in advance!
Thiago Souza



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

Reply via email to