Skip to content

Monthly Archives: October 2002

jwhich : which for Java

This little ksh script can be used to find which class file is in which jar file in the current directory. Useful if you have a lib directory full of jar files and your program says ‘cannot find class xxx’. for jarfile in `ls *.jar` do echo $jarfile “:”; jar tf $jarfile | grep -i […]

Redirecting in HTML

If your website has moved to another place, it is useful to add a redirect. This can be done by adding the following line between the and tag of your homepage : <meta HTTP-EQUIV=”REFRESH” content=”10; url=http://www.your_redirect_url”> The url ‘www.your_redirect_url’ has to be changed so that it points to your new location. The content parameter indicates […]