• Post Reply Bookmark Topic Watch Topic
  • New Topic

Class.forName would it work in servlets?

 
Rajesh Khan
Ranch Hand
Posts: 230
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi i am currently having difficulty doing something like this



Apparently it works ok in JAVA SE but it seems to give some sort of catalina error when used with servlets. I am using eclipse.. IS there something i am missing here??
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, it works in principal. Post the exception you're getting.
 
Rajesh Khan
Ranch Hand
Posts: 230
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
After more than hours of working with this exception I decided to clean up the server using clean option. And surprisingly it worked. Thanks for the help.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!