Fog Creek Software
Discussion Board

Struts And XUL

Is it possible to use XUL with Jakarta Struts rather than HTML? Has anyone tried this? I couldn't find much about this particular combination on the Web.

XUL Newbie
Tuesday, June 15, 2004

If you want to create user interfaces (which behave like ASP.NET), you can try Java ServerFaces.

Green Pajamas
Tuesday, June 15, 2004

It's an interesting idea (as is creating a XUL plugin for IE), getting them into anything like the same application space would be non-trivial and expensive in terms of resources.

There is a connector in the sense that you can call java across XPCOM but the linkages that XUL has are in chrome space.  This isn't anything much to do with HTML, though you can mix html in using namespaces, just as you can with other XML namespaces.  XUL is about defining the interface of a XPCOM/Mozilla application.

Chrome space is meaningless without the XPCOM/Mozilla support.  You don't have to write a browser in it (though all 'mozilla' apps are browsers potentially), but getting any other kind of runtime involved or replacing that is probably beyond anyone except the original developers, and there's only a couple of them.

I'd really like the XUL plugin for IE though, not for chrome but as a HTML forms replacement.

Simon Lucy
Tuesday, June 15, 2004

So yes, you can serve XUL to Mozilla-based browsers remotely with some limitations:

fool for python
Tuesday, June 15, 2004

*  Recent Topics

*  Fog Creek Home