aspose 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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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.
 
jQuery in Action, 2nd edition
 
subject: Utility classes work fine but when called by jsp page a 500 error is generated