Struts 2 and SSL switching (part 2)

Setting up the Struts2 SSL switching plugin (part 2) for automatic SSL re-direction.

Read More

Struts 2 and SSL switching (part 1)

Adding SSL switching support to Struts2 using the SSL Switching plugin.

Read More

Permgen errors in Tomcat when using Hibernate.

If you are getting permgen errors every time you redeploy your application to Tomcat then you can at least get it good enough to work with by switching it to use the JRockit implementation.

Read More

Slumdog Millionaire paying peanuts to slum kid actors

The film Slumdog Millionaire was a good film but maybe the ethics of how the child actors were paid is a little more than questionable. $3,000 would have seemed like a fortune to them but for a film that has made $140 million, it seems like small reward to me.

Read More

Hypocritical government u-turn on protectionism

Within a two week period the government has gone on television and stated two opposite policies on protectionism. They also stated one policy about British jobs for British people while setting up a new cross-party parliamentary group to look into off-shoring British I.T. projects to India.

Read More

Simple Struts 2 and hibernate integration

A simple example of setting up hibernate to work alongside Struts2.

Read More

UK Chancellors new powers to print money in secret

The Chancellor's new powers to allow him to offer bank aid in secrecy comes into force today. Yet more legislation from our government in an attempt to control its people and obfuscate the knowledge base that would allow them to make free and independent decisions in a supposedly free market.

Read More

Struts 2 form with validation and XHTML CSS layout (part 3)

This is the third and final part of how to create an XHTML layout with CSS styling using Struts2 as the framework.

Read More

Struts 2 form with validation and XHTML CSS layout (part 2)

This follows on from yesterdays post and shows how to ceate a Struts2 form using only CSS and HTML.

Read More

Government debt and the future of living in the UK

UK government debt is enormous, as a percentage of GDP it is higher than Ethiopia, Cuba or Zambia. My question would be, how does this effect quality of life in the UK for the future?

Read More

Struts 2 form with validation and XHTML CSS layout (Part 1)

I needed to build a Struts2 form that used XHTML for it layout and I wanted it to be styled using CSS. Struts2 already contains themes that can be used, the XHTML theme is the one I was interested in for this problem.

Read More

Wilcard mappings in Struts 2

You do not need to define every action that you use in Struts2 even if you are not using the zero-configuration option. You can have a default catch all action that will simply map to either an action class or JSP but using wildcard mappings.

Read More

Namespaces in Struts 2

I know they are easy once you understand them but when I was starting using Struts2 (and I had previously used Struts1) I had a bit of difficulty with them for some reason.

Read More

i18n (internalisation) in Struts 2

If you are using Struts2 then it provides features that allow you to easily manage multiple languages on your website. This is how to do it.

Read More

Modify Struts2 to use custom classloaders

If you have loaded some resources using a custom classloader then you will find that Struts2 can't find them as it does not provide the ability to specify custom classloaders to load resources from. I needed this facility and so decided to figure out how to add this functionality to Struts2.

Read More