Mike,

Actually you can ..  however must create a custom sleep command.  I suggest
using Java.

Here's Win95/98/NT version ...

#
# Launch Netscape to initialize the servlet
#

SET INIT="http://denali.earthtrip.com:8080/servlet/servletToInitialize"

# give the server some time to startup - may need to adjusted
jview sleep 5
start Netscape %INIT%

# END script addition

Michael J. Fuhrman
Reliable Business Computers
http://www.creliable.com


-----Original Message-----
From: Mike Engelhart [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 31, 1999 3:04 PM
To: [EMAIL PROTECTED]
Subject: auto-init script


For anyone on this list that's using the JSWDK server as their development
tool on unix boxes (i assume this would work with a DOS shell too but I
don't own any Windows machines so I can't test it), here's a little tidbit
you can add to the end of the startserver script to initialize any servlets
that you want auto-initialized.  It requires lynx and comes with no
guarantees... Nothing fancy, just putting off carpal tunnel syndrome for a
few more days :-)
#
# Launch lynx to initialize the servlet
#

INIT="http://denali.earthtrip.com:8080/servlet/servletToInitialize"

# give the server some time to startup - may need to adjusted
sleep 5
lynx -dump $INIT

# END script addition

then type:

./startserver > server.log

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to