aspose file tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Doubt in @ServletSecurity Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Reply Bookmark "Doubt in @ServletSecurity" Watch "Doubt in @ServletSecurity" New topic
Author

Doubt in @ServletSecurity

Ashok Pradhan
Ranch Hand

Joined: Dec 17, 2007
Posts: 179

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 .
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Doubt in @ServletSecurity
 
Similar Threads
jsp:useBean Doubt again!
How to perform operations like insert,delete,add,move next etc in jsp page?
request Attribute doubt?
HTTP method GET is not supported by this URL
HTTP Status 404 -