Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 76612 invoked from network); 25 Apr 2003 17:50:24 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 25 Apr 2003 17:50:24 -0000 Received: (qmail 27017 invoked by uid 97); 25 Apr 2003 17:52:26 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 27010 invoked from network); 25 Apr 2003 17:52:25 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 25 Apr 2003 17:52:25 -0000 Received: (qmail 73124 invoked by uid 500); 25 Apr 2003 17:49: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 73102 invoked from network); 25 Apr 2003 17:49:40 -0000 Received: from rip.hugsmidjan.is (HELO rup.hugsmidjan.is) (213.213.133.178) by daedalus.apache.org with SMTP; 25 Apr 2003 17:49:40 -0000 Subject: RE: (off topic) XML to Java and viceversa. MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Fri, 25 Apr 2003 17:45:29 -0000 Message-ID: <88500E0F870AA542B6340D8BC05A9E1B1C64C4@rup.hugsmidjan.is> X-MS-Has-Attach: X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message X-MS-TNEF-Correlator: Thread-Topic: (off topic) XML to Java and viceversa. Thread-Index: AcMLUaFQJtm7ZivUR9eJ+rh6guLLrQAANZ/g From: =?iso-8859-1?Q?Reynir_H=FCbner?= To: "Tomcat Users List" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Xsd is xml schema declaration. ( http://www.w3.org/TR/xmlschema-0/ )=20 ;) -reynir > -----Original Message----- > From: Brian Kuhn [mailto:bnkuhn@hotmail.com]=20 > Sent: 25. apr=EDl 2003 17:43 > To: tomcat-user@jakarta.apache.org > Subject: Re: (off topic) XML to Java and viceversa. >=20 >=20 >=20 > I don't know what XSD is, but Jdom makes java to xml=20 > conversion pretty easy.=20 > Check jdom.org. >=20 >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Brian Kuhn > bnkuhn@hotmail.com > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 >=20 >=20 >=20 > ----Original Message Follows---- > From: "Gustavo Cebrian" > Reply-To: "Tomcat Users List" > To: "Tomcat Users List" > Subject: (off topic) XML to Java and viceversa. > Date: Fri, 25 Apr 2003 17:57:09 +0100 > MIME-Version: 1.0 > Received: from apache.org ([208.185.179.12]) by=20 > mc5-f25.law1.hotmail.com=20 > with Microsoft SMTPSVC(5.0.2195.5600); Fri, 25 Apr 2003 09:58:13 -0700 > Received: (qmail 21197 invoked by uid 500); 25 Apr 2003 16:57:39 -0000 > Received: (qmail 21185 invoked from network); 25 Apr 2003=20 > 16:57:38 -0000 > Received: from unknown (HELO ghc-w2k1.ad.greenhatconsulting.com)=20 > (217.205.100.146) by daedalus.apache.org with SMTP; 25 Apr=20 > 2003 16:57:38=20 > -0000 > X-Message-Info: JGTYoYF78jEHjJx36Oi8+Q1OJDRSDidP > Mailing-List: contact tomcat-user-help@jakarta.apache.org;=20 > run by ezmlm > Precedence: bulk > List-Unsubscribe: > List-Subscribe: > List-Help: > List-Post: > List-Id: "Tomcat Users List" > Delivered-To: mailing list tomcat-user@jakarta.apache.org > X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 > content-class: urn:content-classes:message > Message-ID: > X-MS-Has-Attach: > X-MS-TNEF-Correlator: > Thread-Topic: Forbid access to files to non-authenticated requests > Thread-Index: AcMLOWJ+qIKPzFkiQT6kqR+GyAKbwgAEgUrg > X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > Return-Path:=20 > tomcat-user-return-61945-bnkuhn=3Dhotmail.com@jakarta.apache.org > X-OriginalArrivalTime: 25 Apr 2003 16:58:13.0320 (UTC)=20 > FILETIME=3D[DBB79480:01C30B4B] >=20 >=20 > Does anyone know if there is an API to convert from a JAVA=20 > object to XML=20 > following XSD and viceversa. >=20 > Thanks. >=20 > Gustavo. >=20 >=20 >=20 > *********************************************** > Gustavo Cebrian > Analyst/Programmer >=20 > Want to improve the ROI on your EAI project? > Download RV Tester and reduce your development > and testing timescales by as much as 50%.=20 > http://www.greenhatconsulting.com/rvtester >=20 > Green Hat Consulting Ltd. > 107 Fleet Street, London EC4A 2AB > DDI +44 (0)20 7936 9495 > Mobile +44 (0)7788 922291 > http://www.greenhatconsulting.com mark.glading@greenhatconsulting.com > *********************************************** >=20 >=20 >=20 >=20 > -----Original Message----- > From: Tim Funk [mailto:funkman@joedog.org] > Sent: 25 April 2003 15:31 > To: Tomcat Users List > Subject: Re: Forbid access to files to non-authenticated requests >=20 >=20 > Add a header called Content-Disposition.=20 > http://www.faqs.org/ftp/rfc/rfc2183.txt >=20 > = http://marc.theaimsgroup.com/?l=3Dtomcat-user&m=3D105057713915896&w=3D2 >=20 > -Tim >=20 > I=F1aki wrote: > > John, > > > > Thanks a lot for the prompt answer. It's really a more=20 > simple solution=20 > than my > > initial thought. > > > > I'm still missing something: As I understand it, it should=20 > work fine when > displaying, either using the tag or=20 > . However, if client wants=20 > to save > > the file (option 'save target as'), the proposed name to=20 > be saved will be=20 > the > > name of the request ('jspName.jsp?filename.ext'). Of=20 > course the user can > manually change this name and give the=20 > right format, but is there a way=20 > to > > provide the 'save as' window with the right name? Maybe=20 > any parameter in=20 > the > > ServletResponse class? > > > > > > Thanks, > > I=F1aki. > > > > >=20 >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org >=20 >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org >=20 >=20 >=20 > _________________________________________________________________ > MSN 8 with e-mail virus protection service: 2 months FREE* =20 > http://join.msn.com/?page=3Dfeatures/virus >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org >=20 >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org