• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Unable to find setter method for attribute: locale

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The <html:html> tag has no locale attribute. Use the lang attribute instead.
reply
    Bookmark Topic Watch Topic
  • New Topic