-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------
> I have been using Visual J++ and Apache's servlet engine. So far, I
> have used sun's servletrunner with system.out to print errors on the
> console, but this is kind of pain. Is there a way of debugging the code
> from Visual J++ ?
you bet. here are the overview of steps:
1) Install Apache 1.3.x and JServ 1.0 on your local NT box
2) Configure JServ to run in manual mode (edit mod_jserv.conf and set
ApJServManual On) -- restart Apache after you do this
3) Add ApacheJServ.jar and JSDK 2.0 jar file to your project's classpath
4) edit your project's "launch" property; click the "custom" radio button,
and
enter this as the argument:
/p /cp:p "<JAVAPACKAGES>" org.apache.jserv.JServ
d:\JServ\jserv.properties
where d:\JServ\jserv.properties is the path to your jserv.properties
when you run your project inside J++ it will run JServ using jview. you can
then set breakpoints and watches in the IDE like you would with any other
app. it's pretty sweet.
I would suggest trying to run JServ from an NT command prompt by hand first
to make sure that everything is cool. then try it from the IDE.
good luck
-- James
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]