JSP"
From Documentation
m (→Browser Cache) |
|||
Line 26: | Line 26: | ||
<source lang="xml"> | <source lang="xml"> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | <html xmlns="http://www.w3.org/1999/xhtml"> | ||
− | <head> | + | <head> |
− | <meta http-equiv="Pragma" content="no-cache" /> | + | <meta http-equiv="Pragma" content="no-cache" /> |
− | <meta http-equiv="Expires" content="-1" /> | + | <meta http-equiv="Expires" content="-1" /> |
</source> | </source> | ||
Revision as of 08:30, 15 October 2010
Employment/Purpose
Here describes how to use ZK with a JSP page. Basically there are two approaches.
- Use
<jsp:include>
to include a ZUL page. - Use ZK JSP Tags in a JSP page directly.
Prerequisite
DOCTYPE
To use ZK components correctly, the JSP page must specify DOCTYPE as follows.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
...
Browser Cache
Though optional, it is suggested to disable the browser to cache the result page. It can be done as follows.
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
Version History
Version | Date | Content |
---|---|---|