File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to find setter method for attribute: locale

 
sonia selvam
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
<%@ taglib uri="/tags/struts-html" prefix="html" %>

<html:html locale= "true" >
<head>
<title><bean:message key="welcome.title"/></title>
<html:base/>
</head>
<body bgcolor="white">
<html:form action="/searchTutorial">
<html:errors/>
<table>
<tr>
<td align="right">
Search Tutorial
</td>
<td align="left">
<html:text property="keyword" size="30" maxlength="30"/>
</td>
</tr>
<tr>
<td align="right">
<html:submit>Search</html:submit>
</td>
</tr>
</table>
</html:form>
</body>
</html:html>

this is my jsp code i am new to struts and have made use of strut and hibernate concept to reterive the data from mysql after the execution of the code i find this exception and i am unable to rectify it please can some one tell how to go ahead with this problem

thanking you in advance
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The <html:html> tag has no locale attribute. Use the lang attribute instead.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic