Because it took me freaking forever to find instructions on how to do this…
You do NOT need a message-resource tag in your struts configuration files. Those are outdated instructions for old versions of Struts.You do not need to edit ANY xml at all.
Your Action needs to implement Freemarker’s TemplateMethodModel interface
You need a package.properties file (the default locale) and a then another one for each other locale / language you want to support (ex.
First, let me explain what I mean by “tiered password scheme”. Many perfectly smart people I know have one strong password they use for one or two online banking type sites. They’ll then have a “medium security” password they use on sites that kind of important to them (maybe those sites have their credit card info stored), but not critical to day to day stuff. Then they’ll have one or two passwords they use on all the other sites like Twitter, Yahoo!
It’s not uncommon for me to wonder if some app is running on my linux or OS X box, and while I could pipe together ps and a couple greps it felt silly to keep doing it after a while. So, I applied my admittedly limited bash skills and came up with the following script which I throw that in an executable called “got”. Now I can just type “got tomcat?
If you’re like me you find yourself sitting at your computer and need to go away, but there’s some page you’d like to read, or continue reading, on your phone. Well, if you’ve got an Android Phone or essentially any phone in Japan you can just use your phone to scan in a QR Barcode from your computer screen and then open the url on your phone. I know for a fact that there are other phones in the US that can read QR Code, but you’ll have to Google around to see if your phone is one of them.
Or, how to treat your customers right.
I’ve had a number of domains with Register.com for years now. They’re not the cheapest, but they’ve got good tools for managing your domains and back when I used to be a freelance web designer/developer I had to call them a number of times to help address setup issues for clueless customers. They were always nice and helpful.
But, I had about seven domain names with them.
This keeps happening to me. I follow a link from one interesting blogger to another, read some post that sparks a question in my mind. Maybe it’s related to the post, maybe it’s an unrelated question for the poster. Sometimes I’ve tracked down their site because I found a bug in some open source software they wrote… either way, I’m on their site and I’m trying to contact them. But guess what?
**Background:**I’m a musician, or, I was. I used to want to be a studio bassist. When I’m in the house I’m frequently singing about whatever I’m doing. When I’m walking down the street I’m not just striding across pavement, I’m beating out quarter notes with my feet. Sometimes I add in syncopated�rhythms with my hands slapping my thighs. So, when it comes to remembering what to buy at the store there’s a song for that too.
“I don’t know how it got this late.” I said to my dog. “Well,” I continued, “I do know. I worked late, and I’ve been reading…” But then I stopped. I stopped because I realized that neither of those, or any of the other excuses we give for “how time flies” have anything to do with “how it got this late”. They’re merely how we came to not notice the passage of time to this point.
(And why they’re going to loose a lot more if they don’t catch up with the times.) I love Amazon. I’ve signed up for Amazon Prime and definitely get my money’s worth out of it. But, Amazon’s simply can’t replicate the experience of browsing physical bookshelves and picking up random books by author’s you’d never heard of, simply because they caught your eye. So, I regularly go to physical bookstores, just to see what I find.
(and why you should support them) Right now, most people are a little concerned about their jobs. Right now, the economy is going to shit because people are buying less. Part of this is the banks not giving out many loans. Part of it is that people have less income, or fear a sudden loss of it. But, Hyundai has just done something absolutely brilliant. They’ve made an offer: buy one of their cars, and if you loose your job within a year, you can give it back.