Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

applet to jsp

 
shalini gnana
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to call a jsp page in the applet
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
An HTTP request, whether it's a JSP or HTML page, is made the same way from your client code. Take a look at:
http://java.sun.com/j2se/1.5.0/docs/api/java/net/HttpURLConnection.html

There is also a library from Apache for making HTTP calls but I don't know how easy it is to use in an applet.
See:
http://jakarta.apache.org/common/httpclient

I'm going to move this to our Applets forum for you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic