Difference between Java server page(JSP) and XSLT
By sunilkonda
@sunilkonda (1215)
India
September 28, 2008 6:35am CST
Hi just wondering what actually is the difference between these two. Iam working in XSLT to transform the XML document to html. but I rarely worked on JSP and as far as I could remember, JSP can also render an html document, is that correct. someone please clarrify this. Thanks in advance
1 response
@elsoft12 (1821)
• India
28 Sep 08
JSP is a Java based technology for carrying out the database(Eg: Orcale,SQL,MS Access) access in the web applications.Where as XSLT is of presenting the xml data in the web application,as you have noted in your post.They are different.
@sunilkonda (1215)
• India
28 Sep 08
Thanks for the reply but I have one doubt. The database access would be done by EJB part but I didn't understand how JSP shall directly access the database without going through the EJB layer. Please clarrify this too.