• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

jsp dubbing tools?

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic