aspose file tools*
The moose likes Struts and the fly likes In  struts application using tiles warning in jsp page(Invalid location of tag (table).) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "In  struts application using tiles warning in jsp page(Invalid location of tag (table).)" Watch "In  struts application using tiles warning in jsp page(Invalid location of tag (table).)" New topic
Author

In struts application using tiles warning in jsp page(Invalid location of tag (table).)

praveen talluri
Greenhorn

Joined: Aug 26, 2012
Posts: 1
please help me
Invalid location of tag (table). -->this is the warning show in my jsp page
here is the jsp page


<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>
<table border="1" width="100%" height="100%" cellpadding="4">
<tr>
<td align="center" colspan="2"><tiles:insert attribute="header" />
</td>
</tr>
<tr>
<td width="20%"><tiles:insert attribute="menu" /></td>
</tr>
<tr>
<td width="80%"><tiles:insert attribute="body" /></td>
</tr>
<tr>
<td colspan="2"><tiles:insert attribute="footer" /></td>
</tr>
</table>
</html>

Yogesh Lonkar
Ranch Hand

Joined: Jul 17, 2012
Posts: 94

Suggestion when ever posting code please use code tags

and your are getting warning because you did not follow HTML structure
this is basic example


Your jsp should be like this


Learning some thing New Every Day
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: In struts application using tiles warning in jsp page(Invalid location of tag (table).)