Thanks!<div>I will check that example. </div><div><br></div><div>Markus<br clear="all">"The best way to predict the future is to invent it" -- Alan Kay<br>
<br><br><div class="gmail_quote">On Tue, Dec 15, 2009 at 1:50 AM, Jari Bakken <span dir="ltr"><<a href="mailto:jari.bakken@gmail.com">jari.bakken@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Tue, Dec 15, 2009 at 1:12 AM, Markus Kohler <<a href="mailto:markus.kohler@gmail.com">markus.kohler@gmail.com</a>> wrote:<br>
> Hi,<br>
> Thanks!<br>
> I tried to just spawn threads from jruby but that didn't really work<br>
> properly.<br>
> What kind of changes where necessary to htmlunit? Isn't it thread safe?<br>
> Markus<br>
><br>
<br>
</div>What didn't work properly? HtmlUnit should be thread-safe as long as<br>
you have one browser instance per thread.<br>
<br>
Here's a simple example:<br>
<br>
<a href="http://gist.github.com/256610" target="_blank">http://gist.github.com/256610</a><br>
<div><div></div><div class="h5">_______________________________________________<br>
Celerity-users mailing list<br>
<a href="mailto:Celerity-users@rubyforge.org">Celerity-users@rubyforge.org</a><br>
<a href="http://rubyforge.org/mailman/listinfo/celerity-users" target="_blank">http://rubyforge.org/mailman/listinfo/celerity-users</a><br>
</div></div></blockquote></div><br></div>