• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

calling a servlet from a class

 
Ste Lamb
Greenhorn
Posts: 14
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1141
1
Java Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic