Re: Barracuda: JSP Support
"Diez B. Roggisch" <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.barracuda.general |
|---|---|
| Message-ID | <[email protected]> |
> The thing is. > Can we get the Barracuda directives working within JSP pages? > Or provide some sort of bridge or alternate API to deal with JSP's. We have a project where we use the validation/mapping of barracuda. The rest is JSP (unfortunately - I even prefer PHP over JSP). From what I have seen, the JSPs are compiled and the static html is embedded in some form of string constants that are printed to the result stream. Thus it isn't possible, as this would mean you either have to post-process a complete JSP page given in HTML, not a DOM, or you'd have do instruct the jsp compiler to do this on the static parts. Which is also not really an option. What we _do_ is that we use the barracuda classes as models and have some helper-functions to deal with them, e.g. generate <option> tags from a ListModel. But basically, its the same thing as every other jsp page. I have no idea how taglibs work, but maybe they are another option. Diez _______________________________________________ Barracuda mailing list [email protected] http://www.enhydra.org/mailman/listinfo.cgi/barracuda FAQ - http://www.jguru.com/faq/Barracuda