File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes calling a servlet from a class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "calling a servlet from a class" Watch "calling a servlet from a class" New topic
Author

calling a servlet from a class

Ste Lamb
Greenhorn

Joined: Feb 05, 2003
Posts: 14
Hello...
I want to invoke a servlet from a java class which will allow me to upload files onto the server. Firstly is this possible? If so, can anyone ponit me in the direction of where to start looking as currently I seem to be going around in circles... Any help much appreciated.
Steve
Avi Abrami
Ranch Hand

Joined: Oct 11, 2000
Posts: 1121

Hi Steve,
Yes, it is definitely possible to upload a file to the server from a client java class using a servlet.
I think the following Web sites may be helpful (assuming you don't already know about them):
http://www.servlets.com
http://www.coreservlets.com
http://safari.informit.com
http://www.javaworld.com/javaworld/jw-03-2001/jw-0323-traps.html
Hope this helps.
Good Luck,
Avi.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: calling a servlet from a class
 
Similar Threads
How to communicate with servlets from Swing...
Where to include Serclet class in Jsp?
Using Servlets in J2EE Server
invoking servlet from another servlet
Browser won't show url. Web.xml