File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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.
 
Consider Paul's rocket mass heater.
 
subject: Utility classes work fine but when called by jsp page a 500 error is generated