aspose file tools*
The moose likes JSP and the fly likes taglib Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "taglib" Watch "taglib" New topic
Author

taglib

Srirama Srirama
Greenhorn

Joined: May 05, 2006
Posts: 10
How can I use log ebug
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Which library are you talking about ?


[My Blog]
All roads lead to JavaRanch
Srirama Srirama
Greenhorn

Joined: May 05, 2006
Posts: 10
it is about <log ebug>
Srirama Srirama
Greenhorn

Joined: May 05, 2006
Posts: 10
In the above mails 'd' is not getting printed,
I am talking about
"Log Tag library" which I want to use in my JSP.
When I am using any of the things like debug or fatal in the jsp, it is running well, but I am not getting where the out put is getting printed
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

As stated in the documentation, you'll have to understand how log4j works before using these tags.
Go to log4j's homepage for more information (basically, you'll need a log4j.properties)

About the 'd' not being correctly displayed, check the 'Disable smilies in this post' checkbox at the bottom of your new post.
Srirama Srirama
Greenhorn

Joined: May 05, 2006
Posts: 10
I kept log4j.properties in the WEB-INF and required TLDS in the same folder.
I also placed the required jar files in the lib directory.
The JSP is running fine but I am not getting where it is printing the message.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Try to put log4j.properties and commons-logging.properties in WEB-INF/classes
Srirama Srirama
Greenhorn

Joined: May 05, 2006
Posts: 10
Even when i kept the log.properties in the web-inf/classes folder ,it isnot working
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

log4j.properties is not configured properly then.
By the way, did you check your container's log output directory ?
(for Tomcat, it's under logs)
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60053
    
  65

"Srirama Srirama",

There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
bear
JavaRanch Sheriff


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: taglib