From: neil j. <njo...@gm...> - 2006-05-15 10:02:13
|
Hello. How can we display a jsp content on the browser? I only got XML data whenever I request to my application. Thanks a lot for the help. Neil |
From: Ernst de H. <ern...@nl...> - 2006-05-16 15:08:16
Attachments:
ernst.dehaan.vcf
|
Neil, > How can we display a jsp content on the browser? I only got XML data > whenever I request to my application. XINS uses a different approach. Instead of mixing HTML and Java code, like JSP does, XINS enforces a separation of the two. There are multiple alternatives for implementing an HTML front-end with XINS. Each of these depend on a different CallingConvention: 1. XSLT 2. XIFF (XINS Front-end Framework) In both cases, you write one XSLT file per function. ad 1. The XSLT Calling Convention is described in the User Guide: http://xins.sourceforge.net/docs/ar01s22.html#N10CD8 For XIFF, there is an on-line demo here: http://xins.users.mcs2.netarray.com/petstore/ It includes HTML code and an AJAX example. Source code for this demo is in the 'xins-examples' module. You can browse this project here: http://xins.cvs.sf.net/xins/xins-examples/xins-project/ The specifications, Java code and XSLT are under apis/petstore: http://xins.cvs.sf.net/xins/xins-examples/xins-project/apis/petstore/ Regards, Ernst -- Wanadoo Nederland B.V. Ernst de Haan, Technical Architect Muiderstraat 1, P.O. Box 10241, 1001 EE Amsterdam T:+31 20 5355971; F:+31 20 5355749; M:+31 6 20246157 |