It's not a secret anymore!
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Doubt in @ServletSecurity Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Doubt in @ServletSecurity" Watch "Doubt in @ServletSecurity" New topic
Author

Doubt in @ServletSecurity

Ashok Pradhan
Ranch Hand

Joined: Dec 17, 2007
Posts: 180

In Tomcat SSL is enabled and working fine and there is a role named admin is present
My Servlet Code

My html file(to call POST request)

When I request form.html and click the Go> button then it redirect to https login page ,then I enter valid username and password without displaying "Hello Admin from doPost" it shows me "HTTP Status 405 - HTTP method GET is not supported by this URL".

I have requested in POST but it says GET is not supported. Please clear my doubt .
 
Have you checked out Aspose?
 
subject: Doubt in @ServletSecurity
 
It's not a secret anymore!