This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

About UserDirectory

 
onion ai
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found some codes like below in the Struts In Action:

UserDirectory.getInstance().isValidPassword(username,password);

Whats the meaning of UserDirectory?
Which package it belong to?
Thank you~~~
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From the errata :
Section 1.4.3 (page 20)

The test doesn't mention that the UserDirectory source code is available in the download. The following should be added as the second paragraph of page 20:

"We will also focus only on the Struts source files you need to create. For example, the UserDirectory class is part of the application's business logic. The Struts framework interacts with this class, but the UserDirectory is not part of the Struts layer. (You would need this class whether you used Struts or not.) If you are interested, the source code for UserDirectory is provided in the WEB-INF/classes folder of the register application."

Check it here
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic