File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt in @ServletSecurity

 
Ashok Pradhan
Ranch Hand
Posts: 180
Eclipse IDE Firefox Browser Netbeans IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 .
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic