Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

Using JSP/ Applets to open up a socket connection

Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In response to my earlier question regarding opening up a socket connection from a web browser, I am thinking of 2 possible alternatives to calling the java function directly from an ASP page:
1. Call the java function from a JSP page
2. Create an applet that will perform the message processing (i.e. opening up a connection to the host, sending the message across this connection and reading back the response)
From reading the messages on this forum, I think perhaps the java applet might not be a good idea as I will run into the same restrictions as I have when calling the java function directly from ASP. Right?
What then of JSP? Are the security restrictions removed when we declare: Socket socket = new Socket(ADDRESS, PORT) inside a JSP page?
Thanks again,
I was her plaything! And so was this tiny ad:
We need your help - Coderanch server fundraiser
    Bookmark Topic Watch Topic
  • New Topic