•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Java section within the Software Development category of DaniWeb, a massive community of 363,396 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,940 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Java advertiser: Lunarpages Java Web Hosting
Views: 152 | Replies: 0
![]() |
•
•
Join Date: May 2008
Posts: 14
Reputation:
Rep Power: 1
Solved Threads: 0
hi
i received one error when i run jsp page with custom control.the error is
cannot find setter method for the attribute <attribute name> of the tag handler <tag handler name>
my pgm is.
private String dfontSize="12";
public void setDfontSize(String dfontSize) {
this.dfontSize = dfontSize;
}
out.print("<SPAN STYLE=\"" +
"font-size: " + dfontSize + "px; " +
"font-family: " + fontList + "; ");
if (color != null) {
out.println("color: " + color + ";");
}
out.print("\">" ); // End of <SPAN ...>
and
i also added that attribute in tld file also. even though i got this error.
i don't know where did i do mistake.
can any one help me solve this.
i received one error when i run jsp page with custom control.the error is
cannot find setter method for the attribute <attribute name> of the tag handler <tag handler name>
my pgm is.
private String dfontSize="12";
public void setDfontSize(String dfontSize) {
this.dfontSize = dfontSize;
}
out.print("<SPAN STYLE=\"" +
"font-size: " + dfontSize + "px; " +
"font-family: " + fontList + "; ");
if (color != null) {
out.println("color: " + color + ";");
}
out.print("\">" ); // End of <SPAN ...>
and
i also added that attribute in tld file also. even though i got this error.
i don't know where did i do mistake.
can any one help me solve this.
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb Java Marketplace
Similar Threads
- Run external EXE from within an MFC dialog control (C++)
- User Control (ASP.NET)
- cam ActiveX control? (C++)
- Reality Check on picturebox control (And creating custom control) (C#)
- Custom Controls (VB.NET)
- Custom Control Button with different regions (C#)
- Custom Web Server Control That Validate Itself (ASP.NET)
Other Threads in the Java Forum
- Previous Thread: random numbers into an array
- Next Thread: Don't think I'm getting "count" correct


Linear Mode