Thanks Laurie,

Sorry, was busy with some other work..

This is the jsp code, Iam using..
<html:text styleClass="login" errorStyleClass="loginERROR"
styleId="userName" property="userName" size="15" />

This was the stack trace, Iam getting...
15:55:48,137 ERROR [Engine] StandardWrapperValve[jsp]: Servlet.service() for
servlet jsp threw exception
org.apache.jasper.JasperException: /index.jsp(109,6) Unable to find setter
method for attribute: errorStyleClass
    at org.apache.jasper.compiler.DefaultErrorHandler.jspError(
DefaultErrorHandler.java:39)
    at org.apache.jasper.compiler.ErrorDispatcher.dispatch(
ErrorDispatcher.java:409)
    at org.apache.jasper.compiler.ErrorDispatcher.jspError(
ErrorDispatcher.java:150)
    at
org.apache.jasper.compiler.Generator$GenerateVisitor.evaluateAttribute(
Generator.java:2677)
    at org.apache.jasper.compiler.Generator$GenerateVisitor.generateSetters(
Generator.java:2825)
    at
org.apache.jasper.compiler.Generator$GenerateVisitor.generateCustomStart(
Generator.java:2158)
    at org.apache.jasper.compiler.Generator$GenerateVisitor.visit(
Generator.java:1669)
    at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1441)
    at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
    at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
    at org.apache.jasper.compiler.Generator$GenerateVisitor.visit(
Generator.java:1689)
    at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1441)
    at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
    at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
    at org.apache.jasper.compiler.Generator$GenerateVisitor.visit(
Generator.java:1689)
    at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1441)
    at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
    at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
    at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219)
    at org.apache.jasper.compiler.Node$Root.accept(Node.java:456)
    at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
    at org.apache.jasper.compiler.Generator.generate(Generator.java:3272)
    at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:244)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:470)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
    at org.apache.jasper.JspCompilationContext.compile(
JspCompilationContext.java:511)
    at org.apache.jasper.servlet.JspServletWrapper.service(
JspServletWrapper.java:295)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java
:292)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:157)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(
ReplyHeaderFilter.java:75)


Please let me know.
Thanks,
Ganesh.


On 12/20/05, Laurie Harper <[EMAIL PROTECTED]> wrote:
>
> RathinaGanesh MeenakshiSundaram wrote:
> > Hi All,
> >
> > I was trying to style an text field, when an error occurs for that text
> > field.
> > I thought, errorStyleClass would help..But, It was just throwing me the
> > following error message..
> >
> > "Unable to find setter method for attribute: errorStyleClass"
> >
> > I was wondering, if this has anything to do with the Struts version
> > compatibility..??
> > Iam using struts 1.2.7 I guess...!
> > Any Ideas..??
>
> The errorStyleClass attribute should work for the html:text tag in
> 1.2.7. Can you post the JSP markup you're using and the full stack trace
> you're getting?
>
> L.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to