Vita Rara: A Life Uncommon

Depending on Spring, really necessary?

Hi Mark,

First of all many thanks for posting this superb introduction tutorial to Struts2 Themes.

I work for a company that does not easily allow introducing new technologies i.e. Spring. Then before starting a new battle to introduce it as a IoC container I decided to first tweak around your tutorial example code by removing all references to Spring framework, the result was successful:

- Noticed applicationContext.xml had no configuration => removed applicationContext.xml
- Removed all references to Spring from struts.properties
- Removed all references to Spring framework from web.xml i.e. ContextLoaderListener.
- Removed all Spring jars from the lib directory.

After wiping out Spring from the tutorial, it works just the same.

I have a zipped file with all modifications that behaves the same as the original code without any references to Spring whatsoever. If you want the zip please email me to bravegag@hotmail.com

Regards,
Giovanni

Reply

Please solve the math problem above and type in the result. e.g. for 1+1, type 2
  • Allowed HTML tags: <a> <img> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <pre> <h1> <h2> <h3>
  • Lines and paragraphs break automatically.
More information about formatting options