Win a copy of Spark in Action this week in the Open Source Projects forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

jsp.error beans.property.conversion

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • 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

 
Marshal
Posts: 67413
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
I thought of that...but a strange thing, the welcome_jsp.class only has 1800 lines.
 
Bear Bibeault
Marshal
Posts: 67413
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • 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
  • 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
Marshal
Posts: 67413
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good catch! Glad you found that.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic