On Wed, 23 May 2001, Gogineni, Pratima wrote:

> Hi,
> 
> This could be done similar to the way they serialize the user database xml
> file in the struts example but this is what I saw under the changes and bug
> fixes section of the struts example application:
> 
> "Removed any attempt to save the pseudo-database at application shutdown,
> because there is no portable mechanism to accomplish this task. "
> 
> a. does anyone know why the mechanism is not portable?
> b. if above is true we will face the same problem when you try to serialize
> the struts-config.xml file? 
> 

The serialization part wasn't the problem.  The challenge is that there is
no portable way to *write* to a static resource within your web
application.  For example, you cannot assume that your webapp is running
from an unpacked directory -- it's quite possible to run from a WAR file
directly, or from some other structure (I understand that Oracle deploys
static resources as BLOB objects in the database).

Now, a development tool for creating struts-config.xml files would not
have this limitation, because you'd just let the user tell you the
filename under which it should be saved.

> pratima
> 

Craig


> -----Original Message-----
> From: Mikkel Bruun
> To: '[EMAIL PROTECTED]'
> Sent: 5/23/01 12:56 AM
> Subject: SV: tool for the struts-config.xml
> 
> It wouldnt be too hard, considering the already implemented admin
> actions...
> 
> Give it a try!!!
> 
> Mikkel
> 
> -----Oprindelig meddelelse-----
> Fra: Alexander Jesse [mailto:[EMAIL PROTECTED]]
> Sendt: 23 May 2001 09:55
> Til: struts-user
> Emne: RE: tool for the struts-config.xml
> 
> 
> Hi,
> 
> somehow that would make a nice and usefull demo-app (a web-app using
> struts to setup the config-struts.xml)
> 
> Maybe when I have some time...(too much ideas and too less time)
> 
> Alexander
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 23, 2001 7:11 AM
> To: [EMAIL PROTECTED]
> Subject: Re: tool for the struts-config.xml
> 
> 
> 
> Hi Lorena
> 
> You could use XMLSpy to show and edit xml-Files and their dtd.
> 
> regards
> 
> Mike
> 
> 
> 
> 
> 
> LORENA MASSIMO <[EMAIL PROTECTED]> on 22.05.2001 14:45:28
> 
> Please respond to [EMAIL PROTECTED]
> 
> To:   "'[EMAIL PROTECTED]'"
> <[EMAIL PROTECTED]>
> cc:
> Subject:  tool for the struts-config.xml
> 
> 
> 
> 
> Hi
> does anybody know if exists a tool (better if visual) to manage the
> struts-config.xml file?
> 
> thanks Max
> 
> 
> 
> 
> 

Reply via email to