This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes How to Avoid directives redundancy Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to Avoid directives redundancy" Watch "How to Avoid directives redundancy" New topic
Author

How to Avoid directives redundancy

Ed McMillan
Greenhorn

Joined: May 23, 2009
Posts: 8
Hi,

Is there a way to avoid putting the struts/JSTL directives in every JSP page even when there are includes or tiles that defines them ?I mean, if I have a "header.jsp" that has these directives, why do I have to declare them in every page ?
In case of using Tiles, having a "mainLayout" with these directives.

Is there a way to avoid this ?
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Include a JSP page with your directives?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to Avoid directives redundancy
 
Similar Threads
Getting Configuration Files
Struts 1.3.5 Tiles Issue
Can't add taglib element to web.xml
struts-blank.war file
Are these tags OK to have with no Internet Connection?