• 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 ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Using JSP/ Applets to open up a socket connection

 
Greenhorn
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,
Sean
 
Arch enemy? I mean, I don't like you, but I don't think you qualify as "arch enemy". Here, try this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic