You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Edward Nesterov <ed...@quadrix.com> on 2001/08/03 19:38:27 UTC
Is it a bug?
Hello guys,
I am trying to change the default layout and screen jsps on Jetspeed 1.3a2.
I have a.jsp as a layout and b.jsp as a screen ( they both located in
layout and screen branches
of the file tree).
I have modified TurbineResources.properties file to have following records:
template.homepage=/a.jsp
screen.homepage=/b.jsp
After server restart I am getting a.jsp as layout and lollowing exception:
Error encountered processing a template: /layouts/html/a.jsp
java.io.FileNotFoundException: JSP file not found at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:209)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
at
...
I have printed out the request.getAttribute("screenJsp") and found that
it is set to
"/WEB-INF/templates/jsp/screens/a.jsp".
Why ?!! I have specified this value to be <path_to_screens>/b.jsp in
TurbineResources.properties file.
I would appreciate if somebody can help me.
Thanks in advance.
Ed.
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
RE: Is it a bug?
Posted by David Sean Taylor <da...@bluesunrise.com>.
The screen is no longer used - it should be commented out.
Try setting
template.homepage=b.jsp
if a.jsp is a layout, then it should go under /template/jsp/layouts
> -----Original Message-----
> From: Edward Nesterov [mailto:edn@quadrix.com]
> Sent: Friday, August 03, 2001 10:38 AM
> To: jetspeed-user@jakarta.apache.org
> Subject: Is it a bug?
>
>
> Hello guys,
> I am trying to change the default layout and screen jsps on
> Jetspeed 1.3a2.
> I have a.jsp as a layout and b.jsp as a screen ( they both located in
> layout and screen branches
> of the file tree).
> I have modified TurbineResources.properties file to have
> following records:
>
> template.homepage=/a.jsp
> screen.homepage=/b.jsp
>
> After server restart I am getting a.jsp as layout and
> lollowing exception:
>
> Error encountered processing a template:
> /layouts/html/a.jsp
> java.io.FileNotFoundException: JSP file not found at
>
>
>
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.service
> (JspServlet.java:209)
> at
>
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet
> .java:318)
> at
> ...
>
> I have printed out the request.getAttribute("screenJsp") and
> found that
> it is set to
> "/WEB-INF/templates/jsp/screens/a.jsp".
> Why ?!! I have specified this value to be <path_to_screens>/b.jsp in
> TurbineResources.properties file.
>
> I would appreciate if somebody can help me.
>
> Thanks in advance.
>
> Ed.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org