header image
Tomcat Logging
Feb 01, 2007 at 04:02 PM

One of the common problems when deploying Java Web-Applications on the Tomcat Servlet engine into production environments is the constantly growing "catalina.out" file (to which all output to System.out and System.err is redirected). 

Recently I found a good tutorial describing how to minimize the output to catalina.out and using a rolled logfile by Log4J instead:

 http://minaret.biz/tips/tomcatLogging.html

the pure web
Jan 15, 2007 at 08:28 PM
where have the good old internet times gone?

Gladly I remember the time, where the internet was reflecting its original intention: information. Not advertising and selling as it does nowadays. About 10 years ago, the internet was almost unknown within the general public, it mainly wasdedicated to serve as inter-connected information and communication medium for scientists and it specialists. Data transmission rates were slower than slow, most of the websites were text-only. But I would bet that it was easier, quicker and more satisfactory to search and find the information you've been searching for. I think that about 70% of the web is garbage nowadays,
just useless stuff. Opening a website harasses me with flashy, blinking, scrolling, beeping, ringing, playing, moving trash - annoying. Are the discussions about Web2.0 and WebX.0 leading us into the right direction? What is a "richer" web, "more interactive", "more user experience"? I don't want any more bells and whistles on the web, I am demanding quality of information. I think we all could live without Flash and Ajax and "what-the-heck-will-come-up-next" stuff that is pretending to "improve" user experience. For sure, used in the right context, these technologies fulfill their promises. But in most of the cases they will be misused for useless, flashy stuff being hacked by some self-made webdesigners knowing nothing about real usability in the web.
 
Will the semantic web be the solution, will semantic content be able to lead us the direction out of this pile of trash? I'm not sure. But I am sure that all current problems regarding advertising, spamming and trashing the web would not exist in this dimension if the economy never would have found the internet as a sales-channel for the mass-market. Sometimes I think about defining a new standard, just wrapped around established ones which aims to shrink the web back to its main intention again: "pure web" - no bells and whistles, simply qualitative information and useful, straight-forward applications. "pure web" means: no animated images, no flash, no ajax, no banners, no advertising, no background music, no hard-coded pixel layouts, etc., etc.

I'm wondering if anybody else shares my ideas on this topic?
Last Updated ( Jan 15, 2007 at 08:29 PM )
Howto Escape the dot ('.') in JSF/JSP EL Expressions?
Nov 30, 2006 at 10:02 AM

The new common EL expression language introduced with Java Server Faces eases development of modern web applications. A common usage scenario of EL expressions is, for instance, displaying localized text messages on the web-page by accessing the translated text via key from a properties file, e.g.

<f:loadBundle basename="messages" var="msg"/>

<h:outputText value="#{msg.this_is_a_key_for_my_testmessage"/>

A common problem arises when the key contains the dot ('.') character, as the dot has a very special function in EL. The problem is that most developers tend to organize the masses of keys in the properties files by creating some kind of hierarchy using dots in the keys, e.g.:

frontpage.title=blabla

frontpage.subtitle=abcdefg

Using this key directly will cause an error:

  <h:outputText value="#{msg.frontpage.subtitle}"/>

it is required to escape the dot:

  <h:outputText value="#{msg['frontpage.subtitle']"/>

et viola - this will work!

 

Last Updated ( Nov 30, 2006 at 08:45 PM )
<< Start < Previous 11 12 13 14 15 16 17 18 19 Next > End >>

Results 65 - 68 of 73