Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Calling a Java class file from a servlet

 
Betsy Camel
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am developing an application in which a servlet has to call a Java class.
Is this possible...

i tried using a request dispatcher, but this can be used only to call a servlet. Please help
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guess it depends on what you mean by "Call another Java Class".
Servlets routinely instanciate and call methods in external classes called Javabeans.

Can you explain more fully what it is that you're trying to do?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic