Is it possible to generate XML content dynamically
by receiving input values from a JSP at runtime?
The generated XML will then be sent to a servlet.
Eg.
Assume a JSP with 2 text boxes, and user enter 2 parameter
a=10 and b=20, then the JSP will generate a XML doc and send
that doc to the servlet.
The servlet after receiveng the following xml doc parses
it.
xml doc
//-----------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Request SYSTEM
"C:\DTDs\XMLs\RequestHeaderDTD.dtd">
<Request>
<Header>
<paramA>10</paramA>
<paramB>10</paramB>
</Header>
</Request>
by receiving input values from a JSP at runtime?
The generated XML will then be sent to a servlet.
Eg.
Assume a JSP with 2 text boxes, and user enter 2 parameter
a=10 and b=20, then the JSP will generate a XML doc and send
that doc to the servlet.
The servlet after receiveng the following xml doc parses
it.
xml doc
//-----------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Request SYSTEM
"C:\DTDs\XMLs\RequestHeaderDTD.dtd">
<Request>
<Header>
<paramA>10</paramA>
<paramB>10</paramB>
</Header>
</Request>