|
Even with the professional version you can easily debug servlets. Just import the Java Servlet SDK into VAJ (downloadable from Sun's website). Then in one of the packages (I forget which offhand) there is a runnable class (e.g, with a main() method so there is a "running man" icon), something like HttpServletServer but don't quote me on that. Set its properties to include the projects which contain the servlets you want to test, then run it. You can now open a web browser on http://localhost:8080/servlet/MyServletName etc. (You might need to in your IP address, or 127.0.0.1 instead of localhost). This will launch MyServletName.class -- put a breakpoint in the doGet() and you are now debugging! Drawback is it won't do JSP or serve up straight HTML. For that you need the WebSphere test environment which needs VAJ Enterprise. Docs say that you need NT to install that, but I run it under Win98. Seems however under Win98 that IE4/5 gets problems with POST to the WebSphere test environment running in VAJ, which does not happen under NT ... Hope that helps. ----- Original Message ----- From: Richard Dean <rddean@gdi.net> To: <JAVA400-L@midrange.com> Sent: Friday, 4 February 2000 15:32 Subject: IDE Environment for Servlets > What kind of support if any is there for developing and testing servlets in > VAJ? If there is none or very little, can anyone suggest another IDE that > might be better? > > Thanks, > Richard > > +--- > | This is the JAVA/400 Mailing List! > | To submit a new message, send your mail to JAVA400-L@midrange.com. > | To subscribe to this list send email to JAVA400-L-SUB@midrange.com. > | To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com. > | Questions should be directed to the list owner: joe@zappie.net > +--- +--- | This is the JAVA/400 Mailing List! | To submit a new message, send your mail to JAVA400-L@midrange.com. | To subscribe to this list send email to JAVA400-L-SUB@midrange.com. | To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com. | Questions should be directed to the list owner: joe@zappie.net +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.