I WANT TO CREATE A JSP PAGE WHERE I PARTLY NEED A SECURE SOCKET. FOR EXAMPLE USER LOGIN I WANT AN SSL.REMAINING PARTS I NEED ONLY A STANDARD SERVER ONLY
HOW TO DO THIS
HOW TO CREATE AN SSL
PLEASE HELP WITH CODE
THANKS A LOT
This is web-server specific but is usually as simple as telling the web-server which page is supposed to be served using https.
As for your JSP coding, just code like it's not an SSL-encrypted page. Your POST/GET info will be decrypted by the time it reaches your servlet/JSP engine.
In Weblogic there are things like getting a certificate , then install it
leave al those things, and think that all those formalites
now your weblogic server supports ssl
my question is how to direct the page to ssl port
I went through the documentation, but cannot follow.
plese help with some specific code to do
If you're calling the page from a web-browser, you could easily call the page like this:
Use https instead of http.
I hope I have not misunderstood you.
Hi Mani, I think you have a great point. As of now, lets say you have a page whose url is atmysite.com:port. If you turn on SSL at the webserver or app server level, the whole page will be transferred to the server over "Secured Sockets" Using SSL. Now, it is done behind the scene, when you type https://atmysite.com:port on your browser, your browser starts communicating with the server over SSL. Browser and the server performs the SSL handshake. after the handshake, the whole page will be transferred/received to/from the server over SSL. As of now, YOU CAN NOT send some part of the page over SSL. But thats a good idea ;-) Regards, Shamik