File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Java
»
Servlets
Author
servlet call the method from one servlet to another servlet
rex tony
Ranch Hand
Joined: Aug 29, 2007
Posts: 159
posted
Mar 03, 2008 01:05:00
0
servlet
Class ABC Can call the another display() of the Servlet Class DEF
[code]
Servlet ABC Servlet DEF
Display1()
Display2() -Display2() can call from the servlet DEF-----> Display2()
Display3()
[\code]
If so,How?
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35252
7
posted
Mar 03, 2008 01:40:00
0
No. If you have common functionality between
servlets
, you should factor that out into its own class which can then be called from all servlets.
Android apps
–
ImageJ plugins
–
Java web charts
I agree. Here's the link:
http://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: servlet call the method from one servlet to another servlet
Similar Threads
Object Lock and a class level lock
Anonymous Inner Class Question
Has-A doubt
A little help!
Abstract classes - instantiation
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter