File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

login-config.xml - How to change in runtime

 
Srinivas Ivaturi
Ranch Hand
Posts: 50
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

After deploying my application, I want to change the login-config.xml file using a program rather manually. Which API can I use to do that?

Thanks
Srinivas Ivaturi
 
Dale Seng
Ranch Hand
Posts: 275
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I suppose if it's an XML format, you'd use javax.xml.parsers, org.w3c.dom, or whatever package handles the XML DOM. But that's not a JBoss question. A JBoss question would be "will JBoss even care if I change thing thing on the fly or will it ignore the changes until I restart"?

--Dale--
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic