Daniel Stroe wrote: > It could be used JSP inside Xml pages, like it is used inside Html > pages? Could somebody give me some examples, or some links that treat > this issue? > > Many thanks, > Daniel. Daniel, Yes, you certainly can use JSP to generate XML pages - at its simplest it's really no different to what you do with HTML pages. A slightly contrived example follows my signature - it generates a simple XML file from the various properties of the currently executing Java environment. By the way, questions regarding JSP (rather than servlets) will probably get a better reception on the dedicated jsp-interest list. You'll also find previous discussions of using JSP with XML in the jsp-interest archives. To find it, go to http://archives.java.sun.com/archives/ Hope this helps, Regards Mark Mahieu Software Consultant Entier Ltd [EMAIL PROTECTED] <!-- SysProperties.jsp --> <%@ page language="java" import="java.util.*" %> <?xml version='1.0'?> <%! Enumeration properties; String name; %> <% properties = System.getProperties().propertyNames(); %> <SysProperties> <% while (properties.hasMoreElements()) { name = properties.nextElement().toString(); %> <Property> <Name><%= name %></Name> <Value><%= System.getProperty(name) %></Value> </Property> <% } %> </SysProperties> ___________________________________________________________________________ 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
