Or APIs accessible by standalone java applications also accessible by jsp?
views:
38answers:
2
+3
A:
Everything you can do in a standalone Java application, you can do in a JSP. However, this isn't the recommended way of doing things. It is better to keep Java code in servlets or beans and have only the presentation layers in JSPs. Using taglibs is the way to go.
kgiannakakis
2010-03-02 21:39:49
A:
Yes, as JSP is compiled into a servlet you can access all the regular APIs. However, be aware that servlets are each run in a separate thread. Only use thread safe APIs in JSP pages.
Adam
2010-03-03 00:18:33