You are viewing a plain text version of this content. The canonical link for it is here.
Posted to tdk-dev@turbine.apache.org by Joe Antkowiak <JA...@wizmo.com> on 2001/04/19 17:27:53 UTC

Turbine Newbie

I apologize if my question is somewhat of scope.  I just started looking
into using Turbine and the Jakarta project, and seem to be having some
difficulty finding good documentation on it.  I've downloaded the TDK,
and I believe I'm having some problems figuring out the configuration of
it.  BTW, I've installed this on a Windows 2000 machine (NT).

First off, I'd like some clarification as to how the TurbineServlet
works.  I'm assuming that when I build a new application using the build
newapp.bat file, that "newapp" is the actual TurbineServlet.  Also, It
looks to me like the only type of application one can set up is a
Velocity application.  This is probably a stupid question, but if you're
only using JSP, and don't wish to use Velocity or WebMacro, should you
specify something different?  

Next, it looks from the configuration that all jsp, html, vm, wm files
should be located under the newapp/templates directory for any pages
that should be run through the turbine servlet.  Is this correct?

Mainly, I'm having difficulty figuring out how to run things through a
service or action.  It looks like you specify a hidden variable for
"ACTION" or "SERVICE" in the html/jsp page, with the value being the
class name of the action or servlet.  I'm not sure how to specify an
action or service that is currently in the tdk, or one that I've created
myself.  The log file indicates that any class I specify is not found in
the paths that are setup in the turbine properties file (example:
org.mycompany.newapp.modules).  I see the directories out there, and I
assume that you create your class files in those packages, etc.
Unfortunately, nothing seems to work.  Any help would be greatly
appreciated.  As for the pre-existing actions and services, can I just
specify the class name in the value area the same way?  Should it be
"TurbineUploadService" or should it be
"org.apache.services.TurbineUploadService" (or whatever that package
name is)?

If you have any insight into the problems I'm having, that would be of
great help.  I'm not sure that all of this falls under the user-help.
I'll try posting this to tdk-help also.  Thanks in advance.


Joe Antkowiak
Web/E-Commerce Developer
Wizmo.com
(952) 983-3629
jantkowiak@wizmo.com
joeman@bitstream.net


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-tdk-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-tdk-dev-help@jakarta.apache.org