• Post Reply Bookmark Topic Watch Topic
  • New Topic

Servlet Invokation through client Applet

 
Khurram Fakhar
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ppl,
Kindly tell me some way, by which i can send a servlet request to web server from java applet, i mean, by just clicking any button from client applet, i want to send servlet or jsp request to the web server which will send some JSP or servlet page which will open a new web browser and display the contents of the jsp .
Can we do this or not ??? if yes then tell me some hints or guide lines thanx
Kindly reply me fast as it is an urgent for me .
best regards
khurram fakhar
 
ray bond
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes you can send data and request from applet to servlet,
you can post data to servlet through your applet , for example
get printwriter and then print to connection to servlet and
obtaing that request in servlet and then servlet give reponse.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!