This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
hi, i am developing a simple application where i need to use XML. using HTML, i have created a form where the user can make selections. now, i need to use a server-side scripting language to generate a XML file that captures the user selections ie the XML file should be dynamic and the selections done by the user should be reflected in the XML file. my boss has asked me to use only servlets or JSP to generate this XML. i need ur assistance in this regard. any links on a similar functionality will be of great help. thanks in advance
I would start by making a mockup of what the resulting XML document file is supposed to look like. Then consider where each of the content elements is supposed to come from. You will probably then be able to come up with the sequence of statements needed to open a file and write a document where the fixed elements are constants in your program and the variable elements are extracted from the form. Bill