Is there any solution To add a 'www' when user requast site by typing
mywebapp.net?
I'am deploying a web application and want to know how i can rewrite url for
example
mywebapp.net to
https://www.mywebapp.net [1].
I've set the in web.xml the transport guarantee as confidential and installed
a certificate which is valid for www.mywebapp.net, but if someone requests
mywebapp.net, the browser says that the certificate is not valid. So I want
to redirect all incoming requests on mywebapp.net
to
https://www.mywebapp.net [2].
I think thats also enough to redirecting to
http://www.mywebapp.net [3],
because the GlassFish container, redirects to the https adress automatically
due to the transport guarantee.
Any solution?
[1]
https://www.mywebapp.net/
[2]
https://www.mywebapp.net/
[3]
http://www.mywebapp.net/
--
[Message sent by forum member 'AdemC']
View Post: http://forums.java.net/node/883479