https « Tomcat « JSP-Servlet Q&A





1. Run jsp in eclipse on specific port and ssl    stackoverflow.com

I have used Eclipse 3.4 to create a Dynamic Web Project. I have also configured my server to use port 8443 with ssl. If I start my server I ...

2. JSP - Not able to maintain session between http page and https page    stackoverflow.com

I can't seem to find the one right answer to my problem. I'm being overwhelmed with information I'm finding on the internet, and I have no idea what I should do. My ...

3. How to create servlet that will listen on specific port and accept TCP connections (non-https)    stackoverflow.com

I need to create servlet that will listen on some specific port (like serverSocket.accept()), spawn new thread (like normal servlet) and pass socket (or just inputstream and outputstream) to my code. this ...

4. I need to know the HTTP and HTTPS port my java webapp is running on webapp startup    stackoverflow.com

Is it possible to find out the HTTP and HTTPS ports configured for a Tomcat webserver from the web application's java code before any http or https requests take place. I need ...