• Post Reply Bookmark Topic Watch Topic
  • New Topic

Security constaint in J2ee 1.3 container - Web.xml  RSS feed

Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I can access my URL in both http and https .
1) http://myURL.com
2) https://myURL.com:4444

But I want this logic to be contained in Web.xml where in only for some resource , I need to use https. I put the following in Web.xml ...But it is not working . As soons as i hit welcome.jsp , IE is trying to download the page to my Harddrive.( ???) .

following is code in web.xml

what is wrong with this code ?

PLUS I cannot access the site as https://myURL.com with out port number . I always have to append 4444 . Is there any way to autmatically add the port .

Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!