aspose file tools*
The moose likes Servlets and the fly likes How to call java class from servlet 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 » Servlets
Bookmark "How to call java class from servlet" Watch "How to call java class from servlet" New topic

How to call java class from servlet

Rupa Katkar
Ranch Hand

Joined: Aug 12, 2009
Posts: 35
Now i am working in servlet, I want to send some data to java class
& there i want to process that data.
How i will do this
Pl. reply me urgently........
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41575
Can't you instantiate an object of that class, and call its methods to pass in whatever data it needs?

Ping & DNS - my free Android networking tools app
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 61066

Rupa Katkar wrote:Pl. reply me urgently........

Please read this.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
David Newton

Joined: Sep 29, 2008
Posts: 12617

And this.
I agree. Here's the link:
subject: How to call java class from servlet