File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

About UserDirectory

 
onion ai
Greenhorn
Posts: 4
  • 0
  • 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
Pie
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • 0
  • 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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic