File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Log logger = LogFactory.getLog(LoginAction.class) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Log logger = LogFactory.getLog(LoginAction.class)" Watch "Log logger = LogFactory.getLog(LoginAction.class)" New topic
Author

Log logger = LogFactory.getLog(LoginAction.class)

Rakesh Balhara
Greenhorn

Joined: Jan 15, 2013
Posts: 3
i am trying to understand a project code so i have confusion in this code in to its LoginAction so can anybody help me hows it working and where from this method is coming and what will be this method return !!!
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61606
    
  67

It has nothing to do with Struts. Look at the package prefix of the classes Log and LogFactory for a clue where they come from.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Rakesh Balhara
Greenhorn

Joined: Jan 15, 2013
Posts: 3
plzz tell me where is the Log class will be situed !!11
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61606
    
  67

Look at the import statements to see the full package names of the classes. Then google them to find out where they are from.
Rakesh Balhara
Greenhorn

Joined: Jan 15, 2013
Posts: 3
oky sir thanku so much sir i got it
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Log logger = LogFactory.getLog(LoginAction.class)