Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Unable to get the login.jsp to fire from example of book "Java EE 5 Development with NetBeans 6"

 
Michael Schumacher
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm going through this book on Safari and trying to get the secured login to work, but having issues. Since the book is a bit out of date with the current version of Netbeans and the Glassfish it is loaded, I think that is what I'm hitting. I've got 6.9 of Netbeans and GlassFish 3.0.1 Anyway, the book was going from Netbeans 6.5 and Glassfish 2.

Does anyone have experience with setting up "Form Based Authentication"? In the book, I'm referring to page 79 and on with the example...

Mods - if this isn't a good spot, please move.

My web.xml



My sun-web.xml



When I navigate to the address they say, it doesn't go to the login.jsp, it just displays the admin.jsp page.

 
Campbell Ritchie
Marshal
Posts: 52663
121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to our JSP forum.
 
I am Arthur, King of the Britons. And this is a tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!