CodePudding user response:
Because the JSP development quick, mostly use template volicity freemarker, such as writing HTML, write js, think about the troubleCodePudding user response:
I think it's the JSP is straightforwardCodePudding user response:
Can replace with ajax, such as directly in the Controller to jump to an HTML page, by this time there is no data, but we can add ajax code in an HTML page, let it go to get the data, access to the data after rendering HTML page, without the need for JSPCodePudding user response:
The original poster concept errors, HTML and JSP, it is not something, one is a markup language, is a programming language, as long as do the web, no matter what language is inseparable from the HTML!CodePudding user response:
Upstairs he knows,HTML is the front-end, JSP is HTML + JAVA logic code,
And in terms of the JSP or too messy, not easy to maintain, the back-end personnel changes later, back to the front, the front page can't display properly,
CodePudding user response:
Two smart upstairsCodePudding user response:
Upstairs rightCodePudding user response:
JSPS can use Java code to write, and various js logic needed to write HTML, back-end researchers generally familiar with Java, and are not used to js,