Skip to main content

How do I watch the requests being sent by the browser to JSF?

4 replies [Last post]
stvconsultants
Offline
Joined: 2006-03-06

This is driving me nuts:

with state saving on the server, I have my app which refuses, for one page only, to recognise any form submission or such unless I remove a h:selectBooleanCheckbox from the h:dataTable on the page. Everything works fine with state saving on the client. Everything works fine when I try to reproduce in a different Web app (to build a test case)

JavaScript Debugger on the browser shows the same behaviour on the client end for the working test case and the non-working app. Same URL parameters are being posted in both cases.

Has anyone any ideas how to go digging any further?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
stvconsultants
Offline
Joined: 2006-03-06

Grrrr, I had forgotten to write the setter for the value that was being manipulated by the selectBooleanCheckbox.

Bug fixed (My fault yet again) :-(

rlubke
Offline
Joined: 2003-08-21

A few suggestions for further reference.
- LiveHTTPHeaders [1] - a FireFox plugin
- Ethereal [2] - network packet sniffer

[1] http://livehttpheaders.mozdev.org/
[2] http://www.ethereal.com/

cayhorstmann
Offline
Joined: 2003-06-13

Another suggestion is to use the HTTP monitor in NetBeans. It saved my bacon a few days ago when debugging a JSF component.

http://weblogs.java.net/blog/cayhorstmann/archive/2006/06/programmer_pro...

Cheers,

Cay

jfarcand
Offline
Joined: 2003-06-10

You can also turn the web-container log level to finest if none of the recommendations works for you. But get ready to get tons of garbage....

-- Jeanfrancius