• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

applet servlet communication

 
Jothi Pandyan
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to access a servlet without creating a new instance of it.
thanks in advance
jothi
 
Preethi M
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Pandyan!
U cannot access a servlet without creating an instance of it.
thanks
preethi
 
Nitin Dabadghav
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Creating an instance won't help you. You will have to use the Socket class. Create an instance of the Socket giving the hostname and port number of the webserver.
You should have your webserver started before executing the client.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic