Only 48 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

jsp dubbing tools?  RSS feed

 
Michael OBrien
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have been developing on Weblogic. Our app has many jsp's, struts controller servlet, over 20 javabeans, and a bunch of stored procedures.
I inherited much of the code from the Rev 1 team and have been taking it apart to learn how it works.
One thing I found to be incredibly usefull was hooking a debugger to the VM used to launch weblogic and setting breakpoints in the beans so I could step through code. The debugger I am using was low-cost and works great. (www.javix.com)
The trick is to modify the startWeblogic script to launch the VM in debug mode. Then the main class, weblogic.Server, is specified in the debugger. Breakpoints can be set in the struts controller or wherever else. Then, browser requests made trigger the break.
The other cool thing is javix is a lite little tool. Thus, there isn't a huge memory footprint like an IDE would make.
What I would really like to see is a lite JSP debugger. I downloaded something from DAY.com, but it is unsupported and rev 1.0. It is supposed to allow me to debug jsp source.
Additionally, a tool to handcraft and send HTTP requests without timing out would be neat. Does anyone have any tips on JSP debugging tools?
I am cross posting this to the JSP forum as well.
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For 'handcrafting' HTTP requests, check out HttpUnit.

http://httpunit.sourceforge.net/
 
Michael OBrien
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Mike! I am checking it out and it seems like a better way to test than cutting and pasting URLs from a text file.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!