Rainy days and Java always get me down


I've Moved My Blog

It's currently located at http://www.urlinone.com/blog

I should say "I'm moving my blog." It's a pretty painful process.

Pebble has blown up on me, and it's been many months since I've been able to blog reliably. I've lost posts. And now I've got to figure out how to migrate my past blog posts from Pebble to my new destination without all the URLs changing, lest external links become 404 Not Founds.

Why does everything in the 21st century have to be a three-day project???

This tile is included in baseLayout.jsp within web/WEB-INF/tiles-config.xml. Matt Raible included a comment that indicates that the way header is used here demonstrates the use of a Tiles Controller.

Within the <definition> of baseLayout, Matt has the following line:

<put name="header" value=".header.userCount">

Thus, header is refering to yet another tiles definition.

Down below, at line 72, we see where .header.userCount is resolved:

<!-- Header definition - shows user Count using a Controller -->
<definition name=".header.userCount" path="/common/header.jsp"
controllerClass="com.greymatter.webapp.action.UserCounterController" />

Thus, header.jsp displays the number of active users in the top right portion of the page.

The next block of logic in header.jsp checks to see if the logged in user's role is tomcat or admin. If so, the link to the Main Menu is inserted at the top of the page, so it will be available for any page based on baseLayout.jsp.

by Bob Dylan

May G-d bless and keep you always,
May your wishes all come true,
May you always do for others
And let others do for you.
May you build a ladder to the stars
And climb on every rung,
May you stay forever young,
Forever young, forever young,
May you stay forever young.

May you grow up to be righteous,
May you grow up to be true,
May you always know the truth
And see the lights surrounding you.
May you always be courageous,
Stand upright and be strong,
May you stay forever young,
Forever young, forever young,
May you stay forever young.

May your hands always be busy,
May your feet always be swift,
May you have a strong foundation
When the winds of changes shift.
May your heart always be joyful,
May your song always be sung,
May you stay forever young,
Forever young, forever young,
May you stay forever young.



by Rod Stewart

May the good Lord be with you
Down every road you roam
And may sunshine and happiness
surround you when you're far from home
And may you grow to be proud
Dignified and true
And do unto others
As you'd have done to you
Be courageous and be brave
And in my heart you'll always stay
Forever Young, Forever Young
Forever Young, Forever Young

May good fortune be with you
May your guiding light be strong
Build a stairway to heaven
with a prince or a vagabond

And may you never love in vain
and in my heart you will remain
Forever Young, Forever Young
Forever Young, Forever Young
Forever Young
Forever Young

And when you finally fly away
I'll be hoping that I served you well
For all the wisdom of a lifetime
No one can ever tell

But whatever road you choose
I'm right behind you, win or lose
Forever Young, Forever Young
Forever Young ,Forever Young
Forever Young, Forever Young
For, Forever Young, Forever Young

Who knew there were so many songs called Forever Young??? If you Google for it, you'll find that every artist is contractually obligated to write and publish a song with this title. And they apparently all have to have similar lyrics, in which the phrase "forever young" is repeated multiple times. There's so much I don't understand about contracts.

This is a very sweet, simple song. It reminds me of the blessing that Jewish parents give to their children each Friday night:


May G-d bless you and safeguard you.
May G-d illuminate His countenance for you and be gracious to you.
May G-d turn His countenance to you and establish peace for you.

Whether this song is directed from parent to child, from spouse to spouse, or from friend to friend, the generosity and love in the blessing is moving. Is there anything more we could hope for ourselves in our brief time in this world than what is wished for in this song? Is there anything more we could hope for our loved ones?

May you stay forever young.



WARNING: The song Forever Young does not appear on the Garrison Keillor album. I've heard him do it on his radio show on National Public Radio, but I am not aware of it being on an album. I include him here because he's so talented, and it was hearing him do Forever Young on his radio show that made me rediscover and fall in love with the song. Thank you, Garrison.

I awoke to over 1300 spam messages this morning.

It's just amazing to me how many people think only of themselves and not of the greater good. It's true of the Saddam Husseins and Yassir Arafats of the world. It's true of spammers. It's even true of the morons who proposed and promoted the CAN-SPAM Act. Gee, what a difference that has made.

Everybody's got their agenda, their axe to grind, their own self-interests to look out for.

Next time you do something, try to consider the Greater Good. Is what you are doing going to be positive for you but negatively impact someone else? If so, don't do it. Stop and think of another way to do something good for yourself that also does something good for others. It takes a little more effort, but it's well worth it.

This concept is what makes capitalism work. To do well for myself, I have to create a product or service that is positive and desirable for others. It's so simple, but it's a paradigm that brings about the best in most of us. Nay-sayers will gleefully throw the Enrons and their ilk in my face, but I would say they are an anomaly, not a natural result of capitalism. Besides, they got caught and are going to jail. The United States is a nation of checks and balances, from the three branches of government to the battle between corporate greed and journalistic integrity.

Just do your job with honor and a little thought to how it impacts others. This is all that's required to live in a peaceful world. Is that so much to ask?