maxq
Posts: 15
|
Posted: 10/23/2006, 3:24 PM |
|
Hi!
Do anybody know if there are any difference in performance on the JSP vs Servlet code language?
I would guess JSP would be more efficient because the jsp file is compiled, while with the servlet version the html template has to be formated for each run. Anybody know if I'm wrong with this?
|
|
|
dexter
Posts: 6
|
Posted: 10/24/2006, 4:27 AM |
|
JSP are usually compiled to servlets by the server.
Check out http://www.devx.com/tips/Tip/25217 http://www.theserverside.com/discussions/thread.tss?thread_id=1203 http://forum.java.sun.com/thread.jspa?threadID=531586&messageID=2561649
|
|
|
LH_13
Posts: 30
|
Posted: 10/24/2006, 4:43 AM |
|
Yes. Perfomance if different, but it doesn't metter.
Because it's minor value in comparison with time to DB data access.
JSP parse model xml. This opertion need time too.
Time to read data from drive need much mope time, then parsing template or model.
So if say exactly, differents in speed depend of file-es size.
And then from choosen technology.
_________________
Sorry my english! |
|
|
|