aspose file tools*
The moose likes Web Services and the fly likes Sitemesh with Websphere6.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Sitemesh with Websphere6.1" Watch "Sitemesh with Websphere6.1" New topic
Author

Sitemesh with Websphere6.1

Namrta Pandey
Ranch Hand

Joined: Jul 22, 2008
Posts: 36
Hi,

I am using sitemesh2.3 in my project. Now when i run my project in Tomcat it is working fine and applying decorators also, but when i deployed the same application in Websphere 6.1 its not applying decorators i mean its only giving me a simple jsp page without decorators. I searched on net and found that to use sitemesh in websphere i need to apply some patches which i am unable to find.

Following is my code of simple
web.xml:

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">

<web-app>
<filter>
<filter-name>sitemesh</filter-name>
<filter-class>com.opensymphony.module.sitemesh.filter.PageFilter</filter-class>
</filter>

<filter-mapping>
<filter-name>sitemesh</filter-name>
<url-pattern>/LoginPage.jsp</url-pattern>
</filter-mapping>

<welcome-file-list>
<welcome-file>LoginPage.jsp</welcome-file>
</welcome-file-list>

<taglib>
<taglib-uri>sitemesh-page</taglib-uri>
<taglib-location>/WEB-INF/lib/sitemesh-page.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>sitemesh-decorator</taglib-uri>
<taglib-location>/WEB-INF/lib/sitemesh-decorator.tld</taglib-location>
</taglib>

</web-app>

can anybody help me in this. I am using MyEclipse6.5. Thanks in advance.

Namrta
[ September 03, 2008: Message edited by: Namrta Pandey ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Sitemesh with Websphere6.1