hi all,
i have 2
servlets both starts
tomcat. but, when the 2nd servlet is trying to start, it gets error (because it is already started by 1st servlet). So, here i need to check whether tomcat is running or not from a DOS batch file
Ex:
here the result of
'echo' command is stored in variable a. but it failed when i tried like this:
please do help