Why JSLT

Hi you all,

I am currently developing a java web application, with AJAX. We use servlets as controllers to our javascript requests. But it was suggest by one og my team mates that we should start using JSLT tags. For me it doesn磘 make sense.

Our application returns xml which is the process by javascrip, and converted to DOM objects, what he says it shoulb be done is forward the AJAX request to the jsp page and use JSLT tags to make the binding.

Is it normal to use JSLT tags when the main goal of a project is to have great part of the logic and the elements creation in separated js files.

Thanks in advance,

MeTitus

[658 byte] By [Me_Titusa] at [2007-11-26 15:15:41]
# 1

I don't know AJAX but I can tell you a little about JSP and JSTL.

JavaServer Pages Tag Libraries are mainly an evolution over JSP scriplets and JSTL allows one to encapsulate programming logic inside beans, and makes your JSP page much easier and cleaner to read.

I think if you want to integrate AJAX here, you should consider Java Server Faces ( I'm new to JSF too) . This site talks about JSF and AJAX here : https://bpcatalog.dev.java.net/ajax/jsf-ajax/

But I believe JSF 1.2 also works with JSP 2.1 and JSTL according to this: http://java.sun.com/products/jsp/

So, somehow if you figure out how to tie Ajax, JSF, JSP and JSTL together you'll have that working - sorry for sounding stupid but that's all I can offer.

appy77a at 2007-7-8 9:07:24 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
Thanks for your help ;)Me_Titus
Me_Titusa at 2007-7-8 9:07:24 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...