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).
1 problem. They don�t believe in the performance of Velocity. They had some bad
experiences with WebMacro.
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.
Here is what I have done to tdk 2.1b1:
# Turn on the appropriate template service.
#services.VelocityService.classname=org.apache.turbine.services.velocity.TurbineVelocityService
services.JspService.classname=org.apache.turbine.services.jsp.TurbineJspService
# Used to set the template homepage if you are using a template
# layout.
#
# Default: /Index.vm
template.homepage=/Index.jsp
# This is the default screen to show to people when they first access
# the system. Specify one of the template screens such as VelocityScreen
# to use a template system.
#
# Default: Login
#screen.homepage=
# This is the template that is shown on an incorrect login attempt.
# Setting this property will override any value of screen.login specfied
# below.
#
# Default: Login.vm
template.login=/Login.jsp
# This is the page that is shown on an incorrect login attempt. It is
# referenced in the LoginUser action. Note that it will only be used if
# a login template has not been specified (see template.login above).
#
# Default: Login
#screen.login=
services.JspService.template.extension=jsp
services.JspService.default.page = JspPage
services.JspService.default.screen=BaseJspScreen
services.JspService.default.layout = JspLayout
services.JspService.default.navigation=BaseJspNavigation
services.JspService.default.error.screen = JspErrorScreen
#services.JspService.default.layout.template = /Default.jsp
services.JspService.templates = /templates/app
services.JspService.buffer.size = 8192
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]
at org.apache.turbine.modules.ScreenLoader.getInstance(ScreenLoader.java:197)
at org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPage.java:159)
at org.apache.turbine.modules.Page.build(Page.java:90)
at org.apache.turbine.modules.PageLoader.exec(PageLoader.java:123)
at org.apache.turbine.Turbine.doGet(Turbine.java:444)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:102)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:83)
at com.caucho.server.http.Invocation.service(Invocation.java:236)
at com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:342)
at
com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:263)
at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
at java.lang.Thread.run(Thread.java:484)
Yet I the following files exist (and are compiled);
/templates/app/Index.jsp
/templates/app/Login.jsp
/com/<company>/test/modules/screens/Index.java
/com/<company>/test/modules/screens/Login.java
I�ve looked in the archives, the HOWTO, and even Jetspeed�s TR.properties and have had
no luck.
Please�.Someone lend a hand :)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]