in reply to WWW::Mechanize v.s .JSP Web Control
JSP, JavaScript, AJAX -- none of it matters at all. Browsers and servers can only speak via HTTP. Mech can send anything a browser can. Use a tool like Firebug to see the exact request and headers that your browser is sending, and then send the same thing with Mech. That's all you have to do.