Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP - Tomcat related issue

 
Saket Barve
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Can anyone interpret the error message -
org.apache.jasper.JasperException: ta.PositionBean.setHrs(Ljava/lang/String V

I am retrieving data in jsp page from PositionBean.java thus:
position.setHrs( rs.getString( "HRS" ) );
The declarations, directory structure, etc. are just fine, since I have several field values retrieved above this one, which work correctly. its only when I try to recover this variable in the Bean (obtained from the Oracle database table POSITIONS) that it crashes.
Any help will be highly appreciated.
Thanks,
Saket
 
Asher Tarnopolski
Ranch Hand
Posts: 260
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey,
1. post the full error message.
2. post your code. what is rs?
3. post the code of the bean object.
 
Saket Barve
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply Asher.
All I did was shut down and restarted tomcat. Somehow the error just vanished!
Saket
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic