this is not a servlet question at all is it? But to not make this a pointless remark: you can't do it. What you wrote as an example with two </param-value> endings is incorrect XML
you have to enclose it in comments like this: <!-- some value</param-value) --> d. Gang Zhang wrote: > 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 > > > > -- David Mossakowski [EMAIL PROTECTED] Instinet Corporation 212.310.7275 ******************************************************************************* <<Disclaimer>> This message is intended only for the use of the Addressee and may contain information that is PRIVILEGED and/or CONFIDENTIAL or both. This email is intended only for the personal and confidential use of the recipient(s) named above. If the reader of this email is not an intended recipient, you have received this email in error and any review, dissemination, distribution or copying is strictly prohibited. If you have received this email in error, please notify the sender immediately by return mail and permanently deleting the copy you received. Thank you. ******************************************************************************* ___________________________________________________________________________ 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