<%!
//this is a jsp method (note use of the ! after the %).
//the logic goes something like this...
//
//if the page we're in just now is the same as the key
//parameter return "link-button-this", otherwise return
//"link-button".
String getBS(HttpServletRequest request, String key)
{
//determine what page we're being called from
//so we can tell which button to highlight
String uri = request.getRequestURI();
//System.out.println("\n\n\n\n");
if (uri.equals("/")) uri = "index.jsp";
if (uri.endsWith(key)) return "link-button-this";
else return "link-button";
}
%>
Contact Details
To get in touch simply fill out this form -- or use the contact details below.
Phone, Email and Address Details
Donald I. Macdonald
trading as
Sealgar Internet Solutions
Telephone: 0161 40 82 262
Please leave a voice message if your call is not answered -- all of these are listened to and will receive a response.
Email: solutions@sealgar.co.uk
Address: 7 New Street, Back, Isle of Lewis, HS2 0LH