AW: Using JDOM instead of FormBeans

"Bernhard Woehrlin" <[email protected]>
Newsgroups gmane.comp.java.strutscx.user
Organization IT.CappuccinoNet.com
Message-ID <000601c3209e$55519f40$6401a8c0@JAVAWS>
Hi Joerg, 

sorry fort my late answering of your question. To pass a JDOM document
to the StrutsCXServlet you have to do two things - as shown in the
InfoIntroAction:

1. Create the document
Document jdomDoc = new Document();
...

2. put it to the HttpRequest
request.setAttribute(StrutsCXConstants.XML_KEY, jdomDoc);
    
That's it.

Regards,

Berny


-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Joerg
Lensing
Gesendet: Freitag, 16. Mai 2003 13:49
An: [email protected]
Betreff: [Strutscx-user] Using JDOM instead of FormBeans

Hi Bernhard,
since .92 you introduced jdom-documents as input for the 
StrutsCXDocumentBuilder. The short example (InfoIntroAction)seems to 
incomplete. Can you please give a short method-call-trace for
a typical usage?

thanx

joerg



-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com

_______________________________________________
Strutscx-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/strutscx-user



-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.