attractive, usable web applications


Richard's Blog - Design, coding and life in Japan

Richard

Java

Stripes in Japanese UTF8

I have finally got working with stripes and I must say I love it (So Far) I know not much beats the beauty of ROR but having come from a PHP background I must say stripes seems to make much more sense (to me anyway)

As always when I start a new project in something new I am plagued by language issues as I work mostly in Japanese. But these issues have been smooth and easy to fix.

First Tomcat - I needed to add all of the language filtering and settings that tomcat suggests.

Tags:

Validation methods for non forms in stripes

Validations methods in stripes are so handy that I wanted to use them when not validating form criteria, but when checking a login etc which could be used on multiple actions in the controller, without throwing an exception but by forwarding you to an action bean of choice and showing an error message. I used a message instead of an error as errors do seem to be bound more to forms even global errors. Errors were also unavailable on a redirect resolution (but available to a forward resolution to a jsp - but I didn't want that).

Tags:

Recent Blog Posts

Syndicate content