rendering output to email or send jsp via emal

2005-08-15 Thread Thomas Hartwig
I know my subject is already asked in different ways but I think the answers are not satisfying. One of the main arguments is: Struts is for the web, not for messaging. I think even this is wrong. Struts follows a MVC model. This does not implies only for web. And I think mostly all web apps have t

Re: Database Best Practices

2005-08-19 Thread Thomas Hartwig
This might overwhelm you question, but it is worth: have a look at Persistence Frameworks: Hibernate or similar. C.F. Scheidecker Antunes wrote: > Hello all, > > In order to access a Database on my Model layer, which one is best? > > 1) A DataSource declared on the struts-config.xml. Then get th

offline dtd

2004-11-08 Thread Thomas Hartwig
Hello, I have a problem with DTDs using in an offline environment in a webapp. Struts tries to validate several xml configurations (validator or tiles) at startup and fails if the DTDs are not found. I know I could hard code the absolute path to the DTD, but this is very ugly. Do you have a tip