*
The moose likes Struts and the fly likes Unable to find setter method for attribute: locale Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Unable to find setter method for attribute: locale" Watch "Unable to find setter method for attribute: locale" New topic
Author

Unable to find setter method for attribute: locale

sonia selvam
Greenhorn

Joined: Mar 18, 2008
Posts: 8
<%@ 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

Joined: Feb 15, 2005
Posts: 4864
The <html:html> tag has no locale attribute. Use the lang attribute instead.


Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to find setter method for attribute: locale