From tomcat-user-return-10334-qmlist-jakarta-archive-tomcat-user=jakarta.apache.org@jakarta.apache.org Fri Feb 08 18:37:03 2002 Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 82789 invoked from network); 8 Feb 2002 18:37:03 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 8 Feb 2002 18:37:03 -0000 Received: (qmail 20704 invoked by uid 97); 8 Feb 2002 18:36:40 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 20686 invoked by uid 97); 8 Feb 2002 18:36:40 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 20675 invoked from network); 8 Feb 2002 18:36:39 -0000 Message-ID: From: "Gohil, Hemant" To: "'tomcat-user@jakarta.apache.org'" Subject: help with diretories in servlets Date: Fri, 8 Feb 2002 10:31:08 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > Hi ! > > I am trying to create a samll web application which will > query the database depending upon the input parameters > provided, generates XML file from the Result Set, applies > XSLT and generates HTML, which in turn I want to display > in a frame. > > I want to organize those files in following way relative to my web > application path. > > Reports ( my root path ) > | > | > - forms ( which will contain forms to accept input parameters ) > | > - xml ( which will store converted XML file from the Result Set ) > | > - xslt ( which will contain pre generated XSLT files ) > | > - html ( which will store transformed HTML file ) > > > I am initializingfollowing variables > _xsltFileName = request.getContextPath() + > "\\xslt\\newCommodities.xslt" ; > _xmlFileName = request.getContextPath() + > "\\xml\\newCommodities.xml" ; > _htmlFileName = request.getContextPath() + > "\\html\\newCommodities.html" ; > > and using following code to transform and display HTML. > > transformXML( _xmlFileName, _xsltFileName, _htmlFileName ) ; > response.sendRedirect( _htmlFileName ) ; > > > What is wrong with this, as I am not able to create HTML file in /html/ > directory, and obviously not > able to display the file as it doesn't exist there. > > Thankyou very much in advance for the help. > > -Hemant > > > -- To unsubscribe: For additional commands: Troubles with the list: