As to JSP, you need a patch to TurbineJspService.java that I just
re-submitted.  I will update the docs as soon as the patch is there.  But in
short, you only need to change/add the following.

Add;
services.JspService.classname=org.apache.turbine.services.jsp.TurbineJspServ
ice

Change;
services.JspService.default.layout = DefaultLayout

Then set all of the screen names to what you want.  The rest of the
parameters are set in the TR.props file by default.  If you do not want to
use Layouts, you need to set the layout to DefaultLayout.

Dave Polito

-----Original Message-----
From: Jon Stevens [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 21, 2001 1:39 PM
To: Turbine-user
Subject: Re: Turbine using JSP


on 5/21/01 11:27 AM, "Ethan Adams" <[EMAIL PROTECTED]> wrote:

> I have just started with a new company and would like to introduce the
group
> to Turbine.   I have been using it for about 6 month now and prefer it to
> writing my own framework from scratch (which my new company is basically
> doing).

Not invented here syndrome.

> 1 problem.  They don't believe in the performance of Velocity.  They had
some
> bad experiences with WebMacro.

Wow. That is pretty stupid given the following:

#1. Velocity and WebMacro don't share the same code base or design.
#2. You can do your own testing:
<http://jakarta.apache.org/builds/jakarta-velocity/speed/>

> Anyway, I don't have the time right now to convert them.  We will be
> developing many applications in the future and maybe I can slowly convert
> them.
> 
> All that being said...How the heck do I get JSP working in Turbine.   The
HOW-TO
> is out of date as far as I can see.  Some of the properties don't even
exist
> anymore.

Let me guess, they are also forcing JSP down your throat.

    <http://jakarta.apache.org/velocity/ymtd/ymtd.html>

> Here is what I have done to tdk 2.1b1:
> 
> I keep getting this error:
> 
> Horrible Exception: java.lang.ClassNotFoundException:
> 
> Requested Screen not found:
> Turbine looked in the following modules.packages path:
> [com.covisint.test.modules, com.covisint.test.modules.screens,
> org.apache.turbine.modules]

What URL are you using?

-jon

-- 
If you come from a Perl or PHP background, JSP is a way to take
your pain to new levels. --Anonymous
<http://jakarta.apache.org/velocity/ymtd/ymtd.html>


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

Reply via email to