It's really only for an example. It you want real
object persistence, you'll need to develop your
owne layer. Something like EJB's will make this much,
much easier. Or some direct JDBC code perhaps.

Vilavanh Messien wrote:
> 
> I analyzed the struts example in order to develop my own small application.
> Unfortunatelaty, I don't really understand how the user's information are
> saved
> in the "database.xml" file.
> The DatabaseServlet must write the information in the "database.xml" when
> the destroy() method
> is called.
> My question is how to make the destroy() method perform ?
> 
> How can I do to pass some arguments to the DatabaseServlet ?
> 
> Thanks
> 
> Vilavanh

Reply via email to