aspose file tools*
The moose likes Sockets and Internet Protocols and the fly likes Using JSP/ Applets to open up a socket connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Using JSP/ Applets to open up a socket connection" Watch "Using JSP/ Applets to open up a socket connection" New topic
Author

Using JSP/ Applets to open up a socket connection

Sean McGurk
Greenhorn

Joined: Jun 05, 2001
Posts: 21
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Using JSP/ Applets to open up a socket connection