3 ms·
Seems interesting but the English is realllly hard to understand :( "JSP page is first processed very slowly, even the most simple 'hello world' will be more o
by mason55 16y ago
Seems interesting but the English is realllly hard to understand :(
"JSP page is first processed very slowly, even the most simple 'hello world' will be more outlay of your time to 300ms rendered view, adding a number of other taglib if so, the processing time to will be more long."
Huh?
- julian37 16y agoWhat he means is that the first time a JSP page is loaded it will be compiled on-the-fly which can be quite slow. However, if that's your problem then the solution is simply to precompile the page statically. This can be done using org.apache.jasper.JspC. This won't only accelerate first-time loading of the class dramatically, but also slightly improve subsequent load times because the JSP servlet won't have to check file modification times to see whether the JSP has been touched in the meantime.
- orfeo 16y agoIt is not only a jsp problem, read my blog article :-) the jsp compilation not solve the issue.
- orfeo 16y agoSorry for my bad english.. it is not my language