Thanks! Yest that will work. I checked the xml tutorial on sun and it have < for <, & for &
Gang ----- Original Message ----- From: "Flavio de Sousa" <[EMAIL PROTECTED] R> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 09, 2002 8:33 AM Subject: Re: help on web.xml file, what if the parameters contains <key words>? > Have you tried something like '<param-value><param-value>some > value</param-value>'? > > I´m not sure about < and > being valid entities under basic XML, but > you could declare them if not. > > ----- Original Message ----- > From: "Gang Zhang" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, April 09, 2002 12:36 AM > Subject: help on web.xml file, what if the parameters contains <key words>? > > > > Hi: > > I am just wondering what should I do if I want to include key words > suchs > > as <param> in web.xml file for a servlet config. > > > > Example: > > <servlet> > > <servlet-name>testServlet</servlet-name> > > <parameter> > > <param-name>some name</param-name> > > <param-value>some value</param-value> > > </parameter> > > </servlet> > > > > What should I do if I want to repleace 'some value' with > '</param-value>some > > value' and still to prevent the engine to terminate parsing the > param-value > > at the fake ending? Is there a standard way in XML to distanguish that? > > (in URL format it can be replaced %xx for some chars). > > > > ie, > > <param-value> </param-value>some value</param-value> > > where the second </param-value> is the real ending. > > > > Thank you! > > Gang > > > > > ___________________________________________________________________________ > > 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 > > ___________________________________________________________________________ > 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 > > ___________________________________________________________________________ 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