Re: R: Re: execute file through servlet
Richard Masters <[email protected]>
| Newsgroups | gmane.comp.java.sun.servlet |
|---|---|
| Message-ID | <[email protected]> |
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