Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

struts-html.tld urgent!!!

 
Meghana Reddy
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,
Does anyone know the why struts-html.tld is not working along with tiles framework.
I've a jsp like this:
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<TABLE>
<TR>
<TD WIDTH="94%">
<SPAN CLASS="information">
Hello Friends you are inbox.
</SPAN>
</TD>
</TR>
<TR>
<TD>
<html:text property="workgroup" value="xyz">
</TD>
</TR>
</TABLE>
And my configuration is as follows:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
"http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
<struts-config>
<!-- ========== Form Bean Definitions =================================== -->
<form-beans>
</form-beans>

<!-- ========== Global Forward Definitions ========= -->

<global-forwards>
<forward name="inbox" path="/main.jsp?displayJSP=inbox"/>
</global-forwards>
<!-- ========== Action Mapping Definitions ============================== -->
<action-mappings>

</action-mappings>
<!-- ========== Associated Request Processor settings =================== -->
<!-- Here we specify the tiles processor -->
<controller processorClass="org.apache.struts.tiles.TilesRequestProcessor"/>
<!-- ========== Message Resources Definitions =========================== -->
<message-resources parameter="ApplicationResources"/>
</struts-config>
The tomcat server doesnt show any error and neither shows anything in the browser.
If Anyone encountered this problem earlier...and could help me ...i would be very grateful
Thanks in adv..
Meghana
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving this to the frameworks forum where Struts is discussed.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic