[jdom-interest] jdom for servlet / jsp
Hendy Hanusin
h.hanusin at id.tedopres.com
Mon Jul 10 00:27:41 PDT 2000
Jason and others,
Sorry for the unclear question. Now I have defined my questions.
1. Jason, I go to the link you mention :
http://servlets.com/resources/com.oreilly.servlet/Base64Decoder.html#decode(
java.lang.String)
and
http://servlets.com/resources/com.oreilly.servlet/Base64Encoder.html
However It's only the documentation. Where(link) can I download the classes
/sample ?
2. As I know Oracle BLOB field is already binary, right now I guess ( i hope
it's right) I don't need base 64 encoder anymore if i know the method to get
BLOB in correct way. Then I just embedd the binary to XML.
Perhaps anybody knows how to get / convert BLOB field in bin base 64 ?
How I can embedd binary base 64 to XML ?
3. Alex Chaffee suggests me org.jdom.contrib.beans.JDOMBean, but I can not
jump to the link.
And also I go to http://www.jdom.org/downloads/index.html to find binary
code so that I just use JDOM to parse XML. What should I choose for latest
release of JDOM binary ?
Milestone builds or Release Builds or Nightly Builds ?
Thanks in advance,
Hendy
-----Original Message-----
From: Jason Hunter [mailto:jhunter at acm.org]
Sent: Monday, July 10, 2000 1:43 PM
To: Hendy Hanusin
Cc: 'jdom-interest at jdom.org'
Subject: Re: [jdom-interest] jdom for servlet / jsp
> >>You don't really say what you're trying to do with XML and JDOM
> here.
> >>These technologies are so flexible that I suspect it's possible to
> do
> >>what you want, but I also think you might be wanting something
> that's
> >>not healthy for you. :-)
>
> First servlet converts Oracle BLOB field (image) to binary base 64
> encoding. Then servlet uses JDOM to parse image to XML document
> (preferable using DTD because I read Bob Gray's sample in vb and asp
> only using XML Schema).
>
> Client browser receives XML Doc and activeX in client browser handles
> the decoding from bin base 64 to stream/olestream (delphi data type).
Sounds to me like you're trying to use every possible encoding on this
data possible. Meanwhile, you never said what it is you're trying to
accomplish. This sounds bad, but honestly, I suspect you're not sure
yourself. Best you figure that out, then ask a specific question.
-jh-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://jdom.org/pipermail/jdom-interest/attachments/20000710/e4089382/attachment.htm
More information about the jdom-interest
mailing list