File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Struts 1.1 : Template is creating problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 1.1 : Template is creating problem" Watch "Struts 1.1 : Template is creating problem" New topic
Author

Struts 1.1 : Template is creating problem

prat narang
Greenhorn

Joined: Oct 27, 2003
Posts: 10
Hi group,
We have migrated from struts 1.0 to struts 1.1. For a new requirement we are trying to implement a module(let's say M1). We have template files already written in default module which we want to reuse in M1.
The template file in new module looks like
<%@ taglib uri="/WEB-INF/struts-template.tld" prefix="template" %>
<template:insert template="/common/template.jsp" >
<template ut name="header" content="/common/header.jsp" />
<template ut name="menu" content="/common/menu.jsp" />
<template ut name="body" content="M1/components/test.jsp" />
</template:insert>
When i try to access this jsp it gives me page not found error.
I want to reuse the template files (tempate.jsp, header.jsp, menu.jsp).
Any suggestion to resolve this problem.

Thanks
Prateek
Ramesh Ch
Greenhorn

Joined: Dec 26, 2000
Posts: 25
can you check this ?

http://www.onjava.com/pub/a/onjava/2002/11/20/templatestruts.html
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts 1.1 : Template is creating problem
 
Similar Threads
problems in frame and struts!!!!
problem with templetes
two questions about struts's template taglib
Struts redirect tag
Struts templates