wood burning stoves 2.0*
The moose likes JSP and the fly likes Utility classes work fine but when called by jsp page a 500 error is generated Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Utility classes work fine but when called by jsp page a 500 error is generated" Watch "Utility classes work fine but when called by jsp page a 500 error is generated" New topic
Author

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

david allen
Ranch Hand

Joined: Sep 27, 2002
Posts: 185
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

Joined: Sep 17, 2002
Posts: 34
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Utility classes work fine but when called by jsp page a 500 error is generated
 
Similar Threads
How to test a Web Application using JUNIT ???
Urgent:To configure VAJ to develop WCS5.1
Design Decision on EJB
Documenting servlets
Servlet.service() for servlet jsp threw exception