This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Servlets and the fly likes About UserDirectory Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "About UserDirectory" Watch "About UserDirectory" New topic
Author

About UserDirectory

onion ai
Greenhorn

Joined: Jan 09, 2006
Posts: 4
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~~~


I love xiaoxiao
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

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


[My Blog]
All roads lead to JavaRanch
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: About UserDirectory