A little difference from ASP and JSP

xiaoxiao2021-03-06  52

ASP does not seem to have thread security issues, and JSP is a thread security issue. This is not said that ASP is good, and it is said that ASP is not as good as JSP.

For ASP: Each request must explain the execution server-side code, perform the session and Application, the other is gone, this is what the ASP cannot achieve static variables, I don't know if it really doesn't have a way, please expert guidance .

In JSP, servlet (JSP will also become a servlet) is multithreaded, not only session and Application not only, but the servlet instance is still in memory, and if you ask, you can use it directly, it is this improvement Efficiency.

I always feel that the servlet model is more advanced than ASP, and the Java language makes it very professional! This is really ASP far can't be more than.

转载请注明原文地址:https://www.9cbs.com/read-115586.html

New Post(0)