On 2006-06-25, at 14:34 EDT, P T Withington wrote:

I figure the best way to make profiling work is to make a responder servlet that responds to ?lzt=profile, then I can just post my data to that servlet and it can stick it in a file and when I want to see the result I'll do a get and it will process the file and send it back.

I've attached my primitive responder that I started to write, but I am a complete servlet nimrod.

I guess I'm thinking I would want to have maybe a few commands like:

?lzt=profile&command=open creates a new file
?lzt=profile&command=data appends data to the file
?lzt=profile&command=close closes the file
?lzt=profile&command=report processes the file and returns it in a pretty display

I'd want the data command to be a POST, or maybe POST always means data? The others I guess would be GETs?

Any guidance to offer?  Anyone want to help write this?

Here's what I came up with over the weekend. Seems to work. I'd appreciate comments:

Attachment: ResponderPROFILE.java
Description: Binary data


_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev

Reply via email to