permaculture playing cards*
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
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
invoking servlet from another servlet
How to communicate with servlets from Swing...
Browser won't show url. Web.xml
Where to include Serclet class in Jsp?
Using Servlets in J2EE Server