Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

jsp.error beans.property.conversion  RSS feed

 
Harley Jackson
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

 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • 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
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • 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
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good catch! Glad you found that.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!