This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the 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"  RSS feed

 
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
Sheriff
Posts: 55329
157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to our JSP forum.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!