Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Utility classes work fine but when called by jsp page a 500 error is generated

 
david allen
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have written a series of utility classes that compile and run when I am using them by my test application. However, when I try and call the same utility classes from the jsp page they do not work. Have I overlooked something fundamental here??? I mean I have imported the package and use the same code in the test application as I do in the JSP page.??
Thanks
david
 
sampy jagan
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ensure that the classes along with the package u are importing are either in the WebInf\classes folder or in the \Lib folder as a .jar file.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic