index.jsp
来自「这是AJAX的一个HTML实现! HTML标签AJAX的实现!」· JSP 代码 · 共 103 行
JSP
103 行
<%-- * Copyright 2005 Darren L. Spurgeon * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.--%><%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%><%@ taglib uri="http://ajaxtags.sourceforge.net/tags/ajaxtags" prefix="ajax"%><jsp:useBean id="now" class="java.util.Date" /> <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /><title>AJAX JSP Tag Library Examples</title><script type="text/javascript" src="ajaxtags/js/ajaxtags.js"></script><link type="text/css" rel="stylesheet" href="css/ajaxtags.css" /><link type="text/css" rel="stylesheet" href="css/displaytag.css" /><link rel="stylesheet" type="text/css" href="css0/site.css" /><script type="text/javascript"> /* * USER DEFINED FUNCTIONS */ window.initProgress = function() { Element.show('progressMsg'); } window.resetProgress = function(request) { Effect.Fade('progressMsg'); } window.reportError = function() { $('errorMsg').innerHTML = "AjaxTag busted!"; Element.show('errorMsg'); setTimeout("Effect.DropOut('errorMsg')", 2500); }</script></head><body><div id="header">AJAX JSP Tag Library Examples</div><div id="subheader"><a href="http://ajaxtags.sourceforge.net/" class="external" target="_top">Project website</a> | <a href="http://sourceforge.net/projects/ajaxtags/" class="external" target="_top">AjaxTags@SourceForge</a></div><div id="buildVersion">Using Project Version 1.3</div><div id="content"><h1>Demos</h1><div style="width: 650px; font-size: 90%"><p>The AJAX Tag Library is a set of JSP tags that simplify the useof Asynchronous JavaScript and XML (AJAX) technology in JavaServerPages.</p><p>The following examples should give a basic overview of how thecurrent set of AJAX JSP tags can be used in near real-world scenarios.You can not only run each example, but you can view the JSP and backendservlet source code.</p></div><ajax:tabPanel id="panelIndex"><ajax:tab caption="Autocomplete" baseUrl="autocomplete.jsp" defaultTab="true"/><ajax:tab caption="Callout" baseUrl="callout.jsp"/><ajax:tab caption="Form Update" baseUrl="formupdate.jsp"/><ajax:tab caption="HtmlContent" baseUrl="htmlcontent.jsp"/><ajax:tab caption="Portlet" baseUrl="portlet.jsp"/><ajax:tab caption="Select/Dropdown" baseUrl="dropdown.jsp"/><ajax:tab caption="Tab Panel" baseUrl="tabpanel.jsp"/><ajax:tab caption="Toggle" baseUrl="toggle.jsp"/><ajax:tab caption="Area and Anchor" baseUrl="pagearea.jsp"/><ajax:tab caption="Ajax DisplayTag" baseUrl="displaytag.jsp"/><ajax:tab caption="Tree" baseUrl="tree.jsp"/><ajax:tab caption="In Place Editor" baseUrl="inplaceeditor.jsp"/><ajax:tab caption="Input with dynamic parameters" baseUrl="nameinput.jsp"/></ajax:tabPanel><p>Page loaded at: <span id="datum"> ${now}</span></p></div></body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?