Pausing a Windows 7 batch file

I was working on another batch file today and needed a way for the script to wait for a given number of seconds before continuing to execute.  On a whim, I tried the wait command by adding “wait 30“, thinking the script would wait at that spot for 30 seconds before continuing.

The script did wait for 30 seconds, but instead of continuing to execute, it simply Continue reading

Kill processes using command prompt in Windows 7

I was working on a startup script this morning and needed a way for the script to kill one process before starting up a new process.  I’ve used pskill.exe in the past, but wanted to find out if there were any built-in tools in Windows 7 before resorting to Sysinternals components.

It just so happens that Continue reading

Passing data between a JSP page and servlet using JSON and JQuery (part 1)

JavaScript Object Notation, or JSON for short, is a human-readable and compact way to exchange data between systems.  JSON has been referred to as a fat-free alternative to XML.

There are lots of websites that explain the pros and cons to using XML vs. JSON so I won’t go into that here.  Rather, I’ll give a brief but complete example of how to Continue reading