Archive for the ‘Java’ Category

Cleaning up your sites URLs with the URL Rewrite Filter

Saturday, March 31st, 2007

During the development of our first 'real' site, http://www.myfriendsuggests.com, we never really paid too much attention to the URLs that our site was generating.  We did some reading and heard that clean URLs were important for SEO reasons but at the same time we saw the GoogleBot crawling our site ...

Yahoo GEOCode & Yahoo Local XML Beans

Thursday, March 29th, 2007

During the development of our site, www.MyFriendSuggests.com, we needed to frequently executed the Yahoo! GeoCode and Yahoo! Local webservices.   These beans make it easier to work with the results of the webservices without having to write code to parse the xml.  You can download the XML beans and get an ...

Building constants into CSS using JSP

Wednesday, March 21st, 2007

The concept of constants in CSS doesn't seem to really exist.  So I created a JSP page instead of a css file to make life easier, simple concept but saved me lots of time when I decided to give my site a face lift. How I did it: I created a file ...

Finding JSP Source files in eclipse

Tuesday, March 20th, 2007

Figured this may help someone in the feature, sure helped me.  If you get an exception in you JSP code, the line # corresponds to the the .java file, however at least in my installation of eclipse, eclipse doesn't automatically find the file.  I found the java files in:  <MYWORKSPACE>\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\<mycontext>\org\apache\jsp> If you know ...