You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Neelima Yadla <Ne...@CBC-Companies.com> on 2007/07/20 15:37:51 UTC

jsp,vm screens in same directory, jsp not working

 

I am trying to run a JSP.
 
I created a screen "test.vm" and the following url works 
fine:
 
http://localhost:7001/scoring/scoring/template/test.vm
 
I created a jsp page "test.jsp" and the following url displays 
"Error" 
http://localhost:7001/scoring/scoring/template/test.jsp
 
 
I put test.vm and test.jsp in the same directory.
 
Error
java.lang.ClassNotFoundException: Requested Page not found: Default
Turbine looked in the following modules.packages path:
[com.cbc.scoring.modules, org.apache.turbine.modules] 
------------------------------------------------------------------------
--------
java.lang.ClassNotFoundException: Requested Page not found: Default
Turbine looked in the following modules.packages path:
[com.cbc.scoring.modules, org.apache.turbine.modules] at
org.apache.turbine.modules.PageLoader.getInstance(PageLoader.java:172)
at org.apache.turbine.modules.PageLoader.exec(PageLoader.java:101) at
org.apache.turbine.Turbine.doGet(Turbine.java:789) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Se
rvletStubImpl.java:1077) at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java:465) at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java:348) at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r
un(WebAppServletContext.java:7047) at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
bject.java:321) at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121
) at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServl
etContext.java:3902) at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.
java:2773) at
weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224) at
weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
 
 
Thanks,
Neelima

 

 


RE: jsp,vm screens in same directory, jsp not working

Posted by Tony Oslund <to...@lifeinnovations.com>.
I may be mistaken, but I believe that there have been postings regarding
using JSP with Turbine within the turbine mailing list archives.

I have not attempted this myself, so best of luck.


-----Original Message-----
From: Neelima Yadla [mailto:Neelima.Yadla@CBC-Companies.com] 
Sent: Friday, July 20, 2007 8:38 AM
To: Turbine Users List
Subject: jsp,vm screens in same directory, jsp not working

 

I am trying to run a JSP.
 
I created a screen "test.vm" and the following url works 
fine:
 
http://localhost:7001/scoring/scoring/template/test.vm
 
I created a jsp page "test.jsp" and the following url displays 
"Error" 
http://localhost:7001/scoring/scoring/template/test.jsp
 
 
I put test.vm and test.jsp in the same directory.
 
Error
java.lang.ClassNotFoundException: Requested Page not found: Default
Turbine looked in the following modules.packages path:
[com.cbc.scoring.modules, org.apache.turbine.modules] 
------------------------------------------------------------------------
--------
java.lang.ClassNotFoundException: Requested Page not found: Default
Turbine looked in the following modules.packages path:
[com.cbc.scoring.modules, org.apache.turbine.modules] at
org.apache.turbine.modules.PageLoader.getInstance(PageLoader.java:172)
at org.apache.turbine.modules.PageLoader.exec(PageLoader.java:101) at
org.apache.turbine.Turbine.doGet(Turbine.java:789) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Se
rvletStubImpl.java:1077) at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java:465) at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java:348) at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r
un(WebAppServletContext.java:7047) at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
bject.java:321) at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121
) at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServl
etContext.java:3902) at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.
java:2773) at
weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224) at
weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
 
 
Thanks,
Neelima

 

 


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