can we use include files in struts.....?

can we use include files in struts.....?

View Answers

November 15, 2008 at 3:24 AM

Hi friend,


<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>

<html:html>
<head>
<title><bean:message key="global.title"/></title>
<html:base/>
<script language=javascript src="include/scripts.js">

</script>

<link rel="stylesheet" href="stylesheets/format_win_main.css" type="text/css">
</head>

<body topmargin="0" leftmargin="0" bgcolor="#FFFFFF">

<%@ include file="include/menubar.inc"%>

<!--- Include the special offer -->
<%@ include file="include/mainoffer.inc"%>

<!-- Featured items header row -->
<table width="645" cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="21">
<html:img height="1" alt="" page="/images/spacer.gif" width="1" border="0"/>
</td>
<td width="534">
<html:img page="/images/week_picks.gif" altKey="label.featuredproducts"/>
</td>
<td width="1" bgcolor="#9E9EFF">
<html:img height="1" alt="" page="/images/spacer.gif" width="1" border="0"/>
</td>
<td width="1" bgcolor="#9E9EFF">
<html:img height="1" alt="" page="/images/spacer.gif" width="1" border="0"/>
</td>
<td width="90" bgcolor="#9E9EFF" align="right">
<html:img height="1" alt="" page="/images/spacer.gif" width="90" border="0"/>
</td>
</tr>
<tr>
<td>
<html:img height="1" alt="" page="/images/spacer.gif" width="21" border="0"/>
</td>
<td colspan="4" bgcolor="#9E9EFF">
<html:img height="1" alt="" page="/images/spacer.gif" width="1" border="0"/>
</td>
</tr>
</table>

<html:img height="10" alt="" page="/images/spacer.gif" width="1" border="0"/><br>

<%@ include file="include/featureditems.inc"%>

<%@ include file="include/copyright.inc"%>
</body>
</html:html>

-----------------------------

Thanks.









Related Tutorials/Questions & Answers:
can we use include files in struts.....? - Struts
Dynamic include of multiple files
Advertisements
We just have one file on the hard disk. But we can create directories, sub-directories and files in that file only
We just have one file on the hard disk. But we can create directories, sub-directories and files in that file only
Include static files within a JSP page
Web Service - Which files we have to give to client and how they will use that
Can we use maven with spring
Can we use Jmeter for testing a PHP website???
Using image in WML We can use the
if we have 2 struts-config files - Struts
JSP include
can we use class in jsp which implements interface
how can i export a .jar file include .mbd file?
How can we destroy the cookie?
Can we learn Java online?
Can we learn Java online?
files
JSTL <c:import> with <c:param>
files
JSTL <c:import>
files
files
files
files
files
How can I Convert my Image Files to Text Files? - IDE Questions
can we use scanner class,class , object and methods to get output without using constructor ????
How can we register the variables into a session?
How can we repair a MySQL table?
How can we know that a session is started or not?
How we can create a table through procedure ?
can we inherit static method in java?
how can we store the encrypted passwaord in swings?
Can we declare a static variable inside a method?
Can we instantiate abstract class in Java?
how we can create website through java
How can we get hibernate statistics?
Can we do data science after 12th?
Can we learn Data Science in 3 months?
How can we save a data list in jsf?
can we write a method in JSP - JSP-Servlet
How can we destroy the session, how can we unset the variable of a session?
How can we solve this puzzle using java ?
Using image in WML We can use the
How to include?
struts2.2.1 include tag example.
JSP Include jsp
jsp:include action tag
Passing Parameter with <jsp: include>
JSPs : include Directives

Ads