You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Gustavo Cebrian <gu...@greenhatconsulting.com> on 2003/04/25 18:57:09 UTC

(off topic) XML to Java and viceversa.

Does anyone know if there is an API to convert from a JAVA object to XML following XSD and viceversa.

Thanks.

Gustavo.



***********************************************
Gustavo Cebrian
Analyst/Programmer

Want to improve the ROI on your EAI project?
Download RV Tester and reduce your development 
and testing timescales by as much as 50%. 
http://www.greenhatconsulting.com/rvtester 

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
***********************************************




-----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


Add a header called Content-Disposition.
http://www.faqs.org/ftp/rfc/rfc2183.txt

http://marc.theaimsgroup.com/?l=tomcat-user&m=105057713915896&w=2

-Tim

Iñaki wrote:
> John,
> 
> Thanks a lot for the prompt answer. It's really a more simple solution than my 
> initial thought.
> 
> I'm still missing something: As I understand it, it should work fine when 
> displaying, either using the tag <A> or <IMG>. However, if client wants to save 
> the file (option 'save target as'), the proposed name to be saved will be the 
> name of the request ('jspName.jsp?filename.ext'). Of course the user can 
> manually change this name and give the right format, but is there a way to 
> provide the 'save as' window with the right name? Maybe any parameter in the 
> ServletResponse class?
> 
> 
> Thanks,
> Iñaki.
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: (off topic) XML to Java and viceversa.

Posted by Tim Funk <fu...@joedog.org>.
Look at commons-digester and commons-betwixt. XML-yes, not sure about XSD

-Tim

Gustavo Cebrian wrote:
> Does anyone know if there is an API to convert from a JAVA object to XML following XSD and viceversa.
> 
> Thanks.
> 
> Gustavo.
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org