• 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:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

jsp.error beans.property.conversion

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi I'm trying to get a calendar custom tag working in my project and am stuck on an issue. Its a pretty simple thing (for starters at least) in jsp2.0. I'm using spring 1.2.6 and jsp2.0 on java 1.4.2_10 using tomcat 5.5 (with the java1.4 compatability add ons of course)

Here is my tld file for this:

-----------------------------------------------
Here is my jsp:

---------------------------------------------------------------
Here is my tag file:

---------------------------------------------
So as far as I can tell this should be working. My guess though is it is having some issue with setting the JspFragment from the attributes. Any help would be greatly appreciated.

Thanks...below you will find my error stacktrace

 
Sheriff
Posts: 67754
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Actually, from the stack trace it looks like it may be having trouble setting your attributes (as it doesn;t look like it's called any of your tag methods).

It might be illuminating to see what's at and near:

at org.apache.jsp.WEB_002dINF.jsp.welcome_jsp._jspx_meth_arch_calendar_0(welcome_jsp.java:2020)

Hunt down welcome_jsp.java (the java class that Tomncat creates on behalf of your JSP), and lets take a gander at what's around line 2020.
 
Harley Jackson
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I thought of that...but a strange thing, the welcome_jsp.class only has 1800 lines.
 
Bear Bibeault
Sheriff
Posts: 67754
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Uhhh, ok. I got nothing.

You sure you're looking at the right file?
[ May 17, 2006: Message edited by: Bear Bibeault ]
 
Harley Jackson
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok I found the problem. Stupud me! I didn't change the dtd in the web.xml. I used to be running on 2.3, so I had to upgrade it to 2.4.

Thanks for the help
 
Bear Bibeault
Sheriff
Posts: 67754
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Good catch! Glad you found that.
reply
    Bookmark Topic Watch Topic
  • New Topic