Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Doubt in @ServletSecurity

Ranch Hand
Posts: 180
Netbeans IDE Eclipse IDE Firefox Browser
  • 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 .
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic