Re: Special characters in java, oracle and html

From: Doyle (mypetrock_at_yahoo.com)
Date: 10/20/03

  • Next message: Nathan Zumwalt: "Re: Beginner Servlet Question"
    Date: 20 Oct 2003 11:01:06 -0700
    
    

    bbo@africamail.com (Barry Olly) wrote in message news:<27c6cd75.0310200654.4efdae91@posting.google.com>...

    > I believe there two issues;
    >
    > 1. dealing with special characters
    >
    > 2. display special characters back in html form textfield after
    > retrieving.
    >

    The quick and dirty method would be to put a character filter the end
    of your i/o operation that is giving you trouble.

    public class Filter
    {
    public String filter(String input)
    {
       // for each special character, convert it into its
       // appropriate escape/ampersand sequence and add it back into the
    string
       // in the place of the special character e.g. > ==> &lt
    }
    }

    mypetrock


  • Next message: Nathan Zumwalt: "Re: Beginner Servlet Question"

    Relevant Pages

    • Re: Special characters in java, oracle and html
      ... display special characters back in html form textfield after ... The quick and dirty method would be to put a character filter the end ... public String filter ...
      (comp.lang.java.programmer)
    • Re: Special characters in java, oracle and html
      ... display special characters back in html form textfield after ... The quick and dirty method would be to put a character filter the end ... public String filter ...
      (comp.lang.java.help)
    • Re: Special characters in java, oracle and html
      ... display special characters back in html form textfield after ... The quick and dirty method would be to put a character filter the end ... public String filter ...
      (comp.lang.java)