Hi all,
I'm in the process of upgrading our J2EE app from struts 1.2.4 to 1.3.8. We're also using tiles. I'm able to see the header tile but when it reaches the search.jsp tile I get:

javax.servlet.jsp.JspException: ServletException in 
'/WEB-INF/jsp/common/search.jsp': null
        at 
org.apache.struts.tiles.taglib.InsertTag$InsertHandler.doEndTag(InsertTag.java:927)
        at org.apache.struts.tiles.taglib.InsertTag.doEndTag(InsertTag.java:465)
        at _web_2d_inf._jsp._common._layout._jspService(_layout.java:142)
        [SRC:/WEB-INF/jsp/common/layout.jsp:81]
.....
.....

here's my jsp:

<%@ taglib uri="http://struts.apache.org/tags-html"; prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-bean"; prefix="bean"%>
<html:xhtml />

<%--<bean:define id="currentDate" name="java.util.Date" type="java.util.Date" 
/>--%>
<jsp:useBean id="curDate" class="java.util.Date" />
<div id="Search">
   <p class="Time">
<bean:message key="prompt.Cyprus" /> <bean:write name="curDate" format="HH:mm:ss zz" />
   </p>
   <form action="#">
       <p>
<label for="SearchSelect"><bean:message key="prompt.search" />:</label> <select name="SearchSelect" id="SearchSelect">
               <option selected="selected">Select...</option></select>
           <input type="text" name="SearchInput" id="SearchInput" class="Text" 
/>
           <input type="submit" name="SearchBTN" id="SearchBTN" class="SearchBTN" 
value="Search" />
           <html:link href="http://www.google.gr";>
               <bean:message key="prompt.advanced.search" />
           </html:link>
           <%--<a href="#">Advanced Search</a>--%>
       </p>
   </form>
</div><!-- Search -->

I'm certain it's html:link, because if I comment it out the tile is showing. I've also checked with html:img and it shows fine, so this must be specific to html:link. Any ideas?

Thanks
Dimitris



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to