Below are regex patterns to match against valid latitude and longitude. Both formats are based on Decimal coordinates. Latitude range is from -90 to +90 Longitude from -180 to +180 For Latitude the regex pattern is (-?[0-8]?[0-9](\.\d*)?)|-?90(\.[0]*)? For Longitude use (-?([1]?[0-7][1-9]|[1-9]?[0-9])?(\.\d*)?)|-?180(\.[0]*)? This will also restrict the decimal values being > 0 for both +- 90′ […]
Archive for the 'Software Development' Category
Steps to get from docbook to fully interactive webhelp.. 1. Generate HTMLHELP via Oxygen. 2. (can compile to CHM) or carryon and import HTMLHelp project (hhp) file into Robohelp.
This snippet is from a servlet which acts as a generic form posting utility used throughout some of my sites. Irrelevant of the dressing of the JSP, it can be presenting the user a form for any number of reasons, but in each case when submitted the form contents will be emailed to my site […]