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 Aaron Evans <aa...@gmail.com> on 2008/09/15 16:41:12 UTC

Re: Using JSP templates instead of Velocity

Just in case you are still having this issue or in case someone else
stumbles upon this thread:


I also ran into this "blank page" issue.  Looking at the jetspeed
logs, I found that there were JSP compilation errors because the
layout JSPs use some JDK 1.5 features (specifically some int
primitives were not being wrapped in Integer objects before being
passed as arguments to methods expecting objects).

I had been meaning to enable JDK 1.5 support for my JSPs (instead of
tomcat's default 1.4) for some time so I enabled it by:

1. copy tools.jar to CATALINA_HOME/common/lib
2. copy ant.jar and ant-launcher.jar to CATALINA_HOME/common/lib
3. remove jasper-compiler-jdt.jar from CATALINA_HOME/common/lib
4. Edit CATALINA_HOME/conf/web.xml and add the following two
parameters to the JspServlet:

	<init-param>
		<param-name>compilerSourceVM</param-name>
		<param-value>1.5</param-value>
	</init-param>
	<init-param>
		<param-name>compilerTargetVM</param-name>
		<param-value>1.5</param-value>
	</init-param>

-aaron

On Thu, May 15, 2008 at 9:51 PM, Bon <bo...@unipattern.com> wrote:
>
> Hi Mohan,
>
>  I'v visited this page and try to set up for the JSP decoration support.
>  but, after I changed the settings about JSP decoration support in
> following decoration files
>  decorators/layout/tigris/decorator.properties
>  decorators/portlet/tigris/decorator.properties
>  WEB-INF/templates/layout/html/columns/layout.properties
>  WEB-INF/templates/layout/html/maximized/layout.properties
>  WEB-INF/templates/layout/html/solo/layout.properties
>  and I restart my J2 (v2.1.3), but the first page (default_page) was be
> came to empty!
>  why!? what's happened? am I using the 'tcolumns'? but I never changed
> anything
>  like from coulmns to tcolumns, what is tcolumns ? two-columns ?
>
> Best Regards,
> Bon
>
>
> mkr wrote:
>>
>> Hi,
>>  The instructions are there in the JIRA ticket:
>>
>> https://issues.apache.org/jira/browse/JS2-711
>>
>> Cheers
>> Mohan
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Using-JSP-templates-instead-of-Velocity-tp17154061p17266244.html
> Sent from the Jetspeed - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>

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