Object <-> XML <-> web-form in servlet..

From: Andrew Thompson (SeeMySites_at_www.invalid)
Date: 05/31/04


Date: Mon, 31 May 2004 15:44:22 GMT

I need to store a custom ImageProperties class
for photos (location, date, F-stop etc..).

I would like to save it as XML (I may
consider a DB eventually, but want to
learn more about XML, this is my way
of doing it) and use a web-based form
to display and edit the data.

It seems that every time I read a thread
mentioning forms, Struts or similar tag
libraries are suggested, but when I looked
further into the tag libraries they all
seemed to stress how they made .jsp's
simpler, there was never mention of
servlets.

Can the tag-libraries be called/used
from servlets? (Or do I misunderstand
the strengths of tag-libraries)

What is the best way to approach this
Object <-> XML <-> web-form transformation
using servlets?

-- 
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology


Relevant Pages

  • Re: Object <-> XML <-> web-form in servlet..
    ... > I would like to save it as XML (I may ... > from servlets? ... Tag libraries are for use in JSPs. ...
    (comp.lang.java.programmer)
  • webservices and CIM-XML
    ... using XML over HTTP. ... my question is what are the chances that these servlets are being used ... like webservices. ...
    (comp.lang.java.programmer)
  • Re: Object <-> XML <-> web-form in servlet..
    ... > using servlets? ... technologies involved: ... JAXB - which marshals objects to XML and XML to Objects. ...
    (comp.lang.java.programmer)
  • How to return XML from a Servlet
    ... I am writing a set of servlets that will return XML based on some ... I have used the DOM method and after my processing am ... Seems simple but I'm not clear how to actually send this xml document ... to the response stream. ...
    (comp.lang.java.programmer)