org.apache.jasper.JasperException: /Address.jsp(4,3) Attribute locale invalid for tag html according
tamnna arzoo
Greenhorn
Joined: Mar 23, 2010
Posts: 23
posted
0
here is my jsp page when iam trying to compile my jsp page the error comes
org.apache.jasper.JasperException: /Address.jsp(4,3) Attribute locale invalid for tag html according to TLD
so wha tit means actually can any body help me
=================
Address.jsp
================
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
/**
* Form bean for the Address Entry Screen.
*
*/
public class AddressForm extends ActionForm
{
private String name=null;
private String address=null;
private String emailAddress=null;
public void setName(String name){
this.name=name;
}
public String getName(){
return this.name;
}
public void setAddress(String address){
this.address=address;
}
public String getAddress(){
return this.address;
}
public void setEmailAddress(String emailAddress){
this.emailAddress=emailAddress;
}
public String getEmailAddress(){
return this.emailAddress;
}
/**
* Reset all properties to their default values.
*
* @param mapping The mapping used to select this instance
* @param request The servlet request we are processing
*/
public void reset(ActionMapping mapping, HttpServletRequest request) {
this.name=null;
this.address=null;
this.emailAddress=null;
}
/**
* Reset all properties to their default values.
*
* @param mapping The mapping used to select this instance
* @param request The servlet request we are processing
* @return errors
*/
public ActionErrors validate(
ActionMapping mapping, HttpServletRequest request ) {
ActionErrors errors = new ActionErrors();
It is simply saying that the attribute "locale" has been removed from the TLD file. It may have been depricated or you may not be using the same TLD file