File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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: 42359
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: 61448

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.
wood burning stoves
subject: How to call java class from servlet