Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Servlet Invokation through client Applet  RSS feed

 
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!