Home  >  Article  >  Web Front-end  >  How to reference variables in java class in HTML_html/css_WEB-ITnose

How to reference variables in java class in HTML_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:25:591857browse

As the title says, you need to import the results of java class processing into HTML, and use the results of java class in HTML!


Reply to the discussion (solution)

The simplest way is to Modify html to jsp, you can call the processing result of java class on jsp, or use ajax to return the result of java processing, and then parse the returned value on html and it will be OK

jsp page can use jsp: Bean tags are used to implement this function. Generally, if you want to use html pages, you can use the DWR js framework to achieve it

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn