Home > front end > JSP dynamic and static separation technology
JSP dynamic and static separation technology
Time:12-03
Leadership gave me a demand let me set up a global parameters, the input 1, page displays dynamic data, input 2, page displays the static data, there are bosses know that how to implement?
CodePudding user response:
JSP didn't try, but before doing the vue, are in a JS file to define a variable, and the page reference this JS file, in the judgment of JS file variable is 1 or 2, then page initialization; This is general train of thought