Would you like to answer one of these unanswered questions instead? Unit testing is very important in these situations because they provide good feedback about the correctness of our regular expressions. * * You should have received a copy of the GNU Lesser General Public License * along with this program (LICENSE.txt); if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).The servlet container does not encode the binary data, it sends the raw data as it is.Print Writer: Servlet Writer() returns Print Writer object which sends character text to the client.
The dash in the book is a little bit longer then the dashes on my keyboard.In the book must be used not mathematical "minus" symbol, but simply dash symbol, which is special character probably converted into it by one of the posh text editors such as "MS Word" or "Open Office". To avoid such a things, copy text first to a raw text format (I presume that you use one of those OS, so you can use the best known editors NOTEPAD for windows, Text Wrangler for Mac's) As you can see, I actually use the code to monitor two different Text Fields, one is when the user types in the IP address and the other is when they type in the port number (relevant for a database connection in my case).The port number should never contain a dot, so I had to specify two different checks (via the char Check String).I'm Nataraja Gootooru, programmer by profession and passionate about technologies.All examples given here are as simple as possible to help beginners.