RSS RSS feed | Atom Atom feed | |

Struts 2 form tag action attribute function

What the books gloss over

Struts 2 is a complex framework that is hampered by poor documentation and books that don't provide enough details. Simple tasks can be accomplished many ways but it is not always obvious what they are. Even something as basic as creating a form tag to invoke an action can cause quite a bit of confusion.

Read more...

MySQL problem with Apache connection pools

The latest isn't the greatest

The Apache commons-dbcp-1.2.2.jar doesn't work and play well with MySQL. The symptom is an error when a call is made to MySQL after the connection has timed out. This happens with Spring SQL template as well as many ORM tools such as Hibernate.

Read more...

Using Blogger missing files host to maintain traffic after conversion

Move your blog to Blogger and keep your traffic

I recently had to help out with a blog that was migrated to Blogger. Afterward, the search engine traffic dried up because the URLs all changed. Combining a 301 permanent move response with a missing files host solved the problem.

Read more...

SyntaxHighlighter

Alex Gorbatchev's gift to programmers

The problem of displaying source code on the web is the proverbial reinventing the wheel problem. With so many sites dedicated software development, this is a problem that has been addressed thousands of times. Every solution required the site's users to become familiar with a new approach. The latest version of Alex Gorbatchev's SyntaxHighlighter comes close to a universal solution and has gained wide acceptance. Not only is this an open source solution, there is a hosted version of the scripts that is suitable for low volume web sites. Here is how you can use it on your site.

Read more...

Tags :

Collection Bean in Spring

Another easy task that can seem hard

A task that seems to come up fairly often is creating a bean that is a collection. We have covered how to create a collection property and now we will show just how easy it is to create a collection bean.

Read more...

Tags :