Hi,

I have actually written a Java class that inputs XSL, XML as either
String's, File's and returns the output in a String, so you can have that
output to the web browser. If your interested in this class then let me
know!

Richard



From: Roberto Vallorani <[EMAIL PROTECTED]>
Reply-To: "A mailing list for discussion about Sun Microsystem's Java
        Servlet API Technology." <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: R:      Re: execute file through servlet
Date: Wed, 5 Mar 2003 16:15:08 +0100

thanks Karthikeyan, have a great day too!
ciao
Roberto

-----Messaggio originale-----
Da: karthikeyan.balasubramanian
[mailto:[EMAIL PROTECTED]
Inviato: mercoled� 5 marzo 2003 15.51
A: [EMAIL PROTECTED]
Oggetto: Re: execute file through servlet


Yes it can be done.


You can have both xml and xsl as string and send it to Transformer to
convert it further into
HTML or XML or WML.

I dont remember correctly but there is a class called TransformerFactory in
Xerces or Xalan.  Explore that.

Have a great day.

Karthikeyan.
----- Original Message -----
From: "Roberto Vallorani" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 05, 2003 6:55 PM
Subject: execute file through servlet


> > I create an XML file(org.jdom.Document) in the servlet, and this file has instructions for cocoon xslt. the xml file that loads the associated xsl file must stay on the web server but at the same time it shouldnt be phisically visible on the web server. I could delete that file (that has been created phisically on a web server directory) succesively with anyother servlet, but it would be visible until another servlet is called! > that is why I was asking me if it could be possible to load that xml file from the memory, and not phisically redirected! > Best regards > Roberto > > ___________________________________________________________________________ > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > of the message "signoff SERVLET-INTEREST". > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > Resources: http://java.sun.com/products/servlet/external-resources.html > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html >

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html



_________________________________________________________________
Stay in touch with MSN Messenger http://messenger.msn.co.uk

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html



Reply via email to