Update of /cvsroot/easystruts/easystruts-website/web-edit/WEB-INF
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv435/web-edit/WEB-INF
Added Files:
jspwiki.tld oscache.tld c-rt.tld .htaccess web.xml
Log Message:
Added new web site sources and data
--- NEW FILE: c-rt.tld ---
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE taglib
PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
"http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
<taglib>
<tlib-version>1.0</tlib-version>
<jsp-version>1.2</jsp-version>
<short-name>c_rt</short-name>
<uri>http://java.sun.com/jstl/core_rt</uri>
<display-name>JSTL core RT</display-name>
<description>JSTL 1.0 core library</description>
<validator>
<validator-class>
org.apache.taglibs.standard.tlv.JstlCoreTLV
</validator-class>
<description>
Provides core validation features for JSTL tags.
</description>
</validator>
<tag>
<name>catch</name>
<tag-class>org.apache.taglibs.standard.tag.common.core.CatchTag</tag-class>
<body-content>JSP</body-content>
<description>
Catches any Throwable that occurs in its body and optionally
exposes it.
</description>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
</tag>
<tag>
<name>choose</name>
<tag-class>org.apache.taglibs.standard.tag.common.core.ChooseTag</tag-class>
<body-content>JSP</body-content>
<description>
Simple conditional tag that establishes a context for
mutually exclusive conditional operations, marked by
<when> and <otherwise>
</description>
</tag>
<tag>
<name>if</name>
<tag-class>org.apache.taglibs.standard.tag.rt.core.IfTag</tag-class>
<body-content>JSP</body-content>
<description>
Simple conditional tag, which evalutes its body if the
supplied condition is true and optionally exposes a Boolean
scripting variable representing the evaluation of this condition
</description>
<attribute>
<name>test</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
<type>boolean</type>
</attribute>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>scope</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
</tag>
<tag>
<name>import</name>
<tag-class>org.apache.taglibs.standard.tag.rt.core.ImportTag</tag-class>
<tei-class>org.apache.taglibs.standard.tei.ImportTEI</tei-class>
<body-content>JSP</body-content>
<description>
Retrieves an absolute or relative URL and exposes its contents
to either the page, a String in 'var', or a Reader in 'varReader'.
</description>
<attribute>
<name>url</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>scope</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>varReader</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>context</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>charEncoding</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>forEach</name>
<tag-class>org.apache.taglibs.standard.tag.rt.core.ForEachTag</tag-class>
<tei-class>org.apache.taglibs.standard.tei.ForEachTEI</tei-class>
<body-content>JSP</body-content>
<description>
The basic iteration tag, accepting many different
collection types and supporting subsetting and other
functionality
</description>
<attribute>
<name>items</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.Object</type>
</attribute>
<attribute>
<name>begin</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>int</type>
</attribute>
<attribute>
<name>end</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>int</type>
</attribute>
<attribute>
<name>step</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>int</type>
</attribute>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>varStatus</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
</tag>
<tag>
<name>forTokens</name>
<tag-class>org.apache.taglibs.standard.tag.rt.core.ForTokensTag</tag-class>
<body-content>JSP</body-content>
<description>
Iterates over tokens, separated by the supplied delimeters
</description>
<attribute>
<name>items</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
</attribute>
<attribute>
<name>delims</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
</attribute>
<attribute>
<name>begin</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>int</type>
</attribute>
<attribute>
<name>end</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>int</type>
</attribute>
<attribute>
<name>step</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>int</type>
</attribute>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>varStatus</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
</tag>
<tag>
<name>out</name>
<tag-class>org.apache.taglibs.standard.tag.rt.core.OutTag</tag-class>
<body-content>JSP</body-content>
<description>
Like <%= ... >, but for expressions.
</description>
<attribute>
<name>value</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>default</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>escapeXml</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>otherwise</name>
<tag-class>org.apache.taglibs.standard.tag.common.core.OtherwiseTag</tag-class>
<body-content>JSP</body-content>
<description>
Subtag of <choose> that follows <when> tags
and runs only if all of the prior conditions evaluated to
'false'
</description>
</tag>
<tag>
<name>param</name>
<tag-class>org.apache.taglibs.standard.tag.rt.core.ParamTag</tag-class>
<body-content>JSP</body-content>
<description>
Adds a parameter to a containing 'import' tag's URL.
</description>
<attribute>
<name>name</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>value</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>redirect</name>
<tag-class>org.apache.taglibs.standard.tag.rt.core.RedirectTag</tag-class>
<body-content>JSP</body-content>
<description>
Redirects to a new URL.
</description>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>scope</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>url</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>context</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>remove</name>
<tag-class>org.apache.taglibs.standard.tag.common.core.RemoveTag</tag-class>
<body-content>empty</body-content>
<description>
Removes a scoped variable (from a particular scope, if specified).
</description>
<attribute>
<name>var</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>scope</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
</tag>
<tag>
<name>set</name>
<tag-class>org.apache.taglibs.standard.tag.rt.core.SetTag</tag-class>
<body-content>JSP</body-content>
<description>
Sets the result of an expression evaluation in a 'scope'
</description>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>value</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>target</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>property</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>scope</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
</tag>
<tag>
<name>url</name>
<tag-class>org.apache.taglibs.standard.tag.rt.core.UrlTag</tag-class>
<body-content>JSP</body-content>
<description>
Creates a URL with optional query parameters.
</description>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>scope</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>value</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>context</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>when</name>
<tag-class>org.apache.taglibs.standard.tag.rt.core.WhenTag</tag-class>
<body-content>JSP</body-content>
<description>
Subtag of <choose> that includes its body if its
condition evalutes to 'true'
</description>
<attribute>
<name>test</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
<type>boolean</type>
</attribute>
</tag>
</taglib>
--- NEW FILE: .htaccess ---
Options -Indexes
--- NEW FILE: jspwiki.tld ---
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
"http://java.sun.com/dtd/web-jsptaglibrary_1_1.dtd">
<!--
JSPWiki tag libraries are defined here.
Note that we support only the 1.1 spec for now,
simply because there is no reason to break compatibility.
-->
<taglib>
<tlibversion>1.0</tlibversion>
<jspversion>1.1</jspversion>
<shortname>jspwiki</shortname>
<tag>
<name>AttachmentsIterator</name>
<tagclass>com.ecyrd.jspwiki.tags.AttachmentsIteratorTag</tagclass>
<teiclass>com.ecyrd.jspwiki.tags.AttachmentsIteratorInfo</teiclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>id</name>
</attribute>
</tag>
<tag>
<name>Author</name>
<tagclass>com.ecyrd.jspwiki.tags.AuthorTag</tagclass>
<bodycontent>empty</bodycontent>
</tag>
<tag>
<name>Breadcrumbs</name>
<tagclass>com.ecyrd.jspwiki.tags.BreadcrumbsTag</tagclass>
<bodycontent>empty</bodycontent>
<attribute>
<name>maxpages</name>
<required>false</required><!-- the default value is 10 -->
</attribute>
<attribute>
<name>separator</name>
<required>false</required><!-- the default value is " | " -->
</attribute>
</tag>
<tag>
<name>Calendar</name>
<tagclass>com.ecyrd.jspwiki.tags.CalendarTag</tagclass>
<bodycontent>empty</bodycontent>
<attribute>
<name>pageformat</name>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>urlformat</name>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>monthurlformat</name>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>CheckLock</name>
<tagclass>com.ecyrd.jspwiki.tags.CheckLockTag</tagclass>
<teiclass>com.ecyrd.jspwiki.tags.CheckLockInfo</teiclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>mode</name>
</attribute>
<attribute>
<name>id</name>
</attribute>
</tag>
<tag>
<name>CheckRequestContext</name>
<tagclass>com.ecyrd.jspwiki.tags.CheckRequestContextTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>context</name>
</attribute>
</tag>
<tag>
<name>CheckVersion</name>
<tagclass>com.ecyrd.jspwiki.tags.CheckVersionTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>mode</name>
</attribute>
</tag>
<tag>
<name>CommentLink</name>
<tagclass>com.ecyrd.jspwiki.tags.CommentLinkTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>page</name>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>format</name>
</attribute>
</tag>
<tag>
<name>ContentEncoding</name>
<tagclass>com.ecyrd.jspwiki.tags.ContentEncodingTag</tagclass>
<bodycontent>empty</bodycontent>
</tag>
<tag>
<name>DiffLink</name>
<tagclass>com.ecyrd.jspwiki.tags.DiffLinkTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>page</name>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>format</name>
</attribute>
<attribute>
<name>version</name>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>newVersion</name>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>EditLink</name>
<tagclass>com.ecyrd.jspwiki.tags.EditLinkTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>page</name>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>format</name>
</attribute>
<attribute>
<name>version</name>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>HasAttachments</name>
<tagclass>com.ecyrd.jspwiki.tags.HasAttachmentsTag</tagclass>
<bodycontent>JSP</bodycontent>
</tag>
<tag>
<name>HistoryIterator</name>
<tagclass>com.ecyrd.jspwiki.tags.HistoryIteratorTag</tagclass>
<teiclass>com.ecyrd.jspwiki.tags.HistoryIteratorInfo</teiclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>page</name>
</attribute>
<attribute>
<name>id</name>
</attribute>
</tag>
<tag>
<name>Include</name>
<tagclass>com.ecyrd.jspwiki.tags.IncludeTag</tagclass>
<bodycontent>empty</bodycontent>
<attribute>
<name>page</name>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>InsertDiff</name>
<tagclass>com.ecyrd.jspwiki.tags.InsertDiffTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>page</name>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>InsertPage</name>
<tagclass>com.ecyrd.jspwiki.tags.InsertPageTag</tagclass>
<bodycontent>empty</bodycontent>
<attribute>
<name>page</name>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>mode</name>
</attribute>
</tag>
<tag>
<name>LinkTo</name>
<tagclass>com.ecyrd.jspwiki.tags.LinkToTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>page</name>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>format</name>
</attribute>
<attribute>
<name>version</name>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>template</name>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>LinkToParent</name>
<tagclass>com.ecyrd.jspwiki.tags.LinkToParentTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>page</name>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>format</name>
</attribute>
<attribute>
<name>version</name>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>NoSuchPage</name>
<tagclass>com.ecyrd.jspwiki.tags.NoSuchPageTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>page</name>
</attribute>
</tag>
<tag>
<name>PageExists</name>
<tagclass>com.ecyrd.jspwiki.tags.PageExistsTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>page</name>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>PageInfoLink</name>
<tagclass>com.ecyrd.jspwiki.tags.PageInfoLinkTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>page</name>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>format</name>
</attribute>
</tag>
<tag>
<name>PageDate</name>
<tagclass>com.ecyrd.jspwiki.tags.PageDateTag</tagclass>
<bodycontent>empty</bodycontent>
</tag>
<tag>
<name>PageName</name>
<tagclass>com.ecyrd.jspwiki.tags.PageNameTag</tagclass>
<bodycontent>empty</bodycontent>
</tag>
<tag>
<name>PageSize</name>
<tagclass>com.ecyrd.jspwiki.tags.PageSizeTag</tagclass>
<bodycontent>empty</bodycontent>
</tag>
<tag>
<name>PageType</name>
<tagclass>com.ecyrd.jspwiki.tags.PageTypeTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>type</name>
</attribute>
</tag>
<tag>
<name>PageVersion</name>
<tagclass>com.ecyrd.jspwiki.tags.PageVersionTag</tagclass>
<bodycontent>JSP</bodycontent>
</tag>
<tag>
<name>ParentPageName</name>
<tagclass>com.ecyrd.jspwiki.tags.ParentPageNameTag</tagclass>
<bodycontent>empty</bodycontent>
</tag>
<tag>
<name>Permission</name>
<tagclass>com.ecyrd.jspwiki.tags.PermissionTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>permission</name>
</attribute>
</tag>
<tag>
<name>Plugin</name>
<tagclass>com.ecyrd.jspwiki.tags.PluginTag</tagclass>
<bodycontent>empty</bodycontent>
<attribute>
<name>plugin</name>
<required>true</required>
</attribute>
<attribute>
<name>args</name>
<required>true</required>
</attribute>
</tag>
<tag>
<name>RSSLink</name>
<tagclass>com.ecyrd.jspwiki.tags.RSSLinkTag</tagclass>
<bodycontent>empty</bodycontent>
</tag>
<tag>
<name>RSSImageLink</name>
<tagclass>com.ecyrd.jspwiki.tags.RSSImageLinkTag</tagclass>
<bodycontent>empty</bodycontent>
<attribute>
<name>title</name>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>RSSUserlandLink</name>
<tagclass>com.ecyrd.jspwiki.tags.RSSCoffeeCupLinkTag</tagclass>
<bodycontent>empty</bodycontent>
<attribute>
<name>title</name>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>SearchResultIterator</name>
<tagclass>com.ecyrd.jspwiki.tags.SearchResultIteratorTag</tagclass>
<teiclass>com.ecyrd.jspwiki.tags.SearchResultIteratorInfo</teiclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>page</name>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>id</name>
</attribute>
<attribute>
<name>maxItems</name>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>list</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>TemplateDir</name>
<tagclass>com.ecyrd.jspwiki.tags.TemplateDirTag</tagclass>
<bodycontent>empty</bodycontent>
</tag>
<tag>
<name>Translate</name>
<tagclass>com.ecyrd.jspwiki.tags.TranslateTag</tagclass>
<bodycontent>JSP</bodycontent>
</tag>
<tag>
<name>UploadLink</name>
<tagclass>com.ecyrd.jspwiki.tags.UploadLinkTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>page</name>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>format</name>
</attribute>
</tag>
<tag>
<name>UserName</name>
<tagclass>com.ecyrd.jspwiki.tags.UserNameTag</tagclass>
<bodycontent>empty</bodycontent>
</tag>
<tag>
<name>UserCheck</name>
<tagclass>com.ecyrd.jspwiki.tags.UserCheckTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>status</name>
</attribute>
<attribute>
<name>exists</name>
</attribute>
</tag>
<tag>
<name>Variable</name>
<tagclass>com.ecyrd.jspwiki.tags.VariableTag</tagclass>
<bodycontent>empty</bodycontent>
<attribute>
<name>var</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>default</name>
</attribute>
</tag>
</taglib>
--- NEW FILE: web.xml ---
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app PUBLIC
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<display-name>JSPWiki</display-name>
<description> JSPWiki is a free JSP-based WikiClone. It is licenced under the Lesser GNU General Public License.
JSPWiki is maintained by Janne Jalkanen (+others), jal...@ec.... This version was customized for
nexb. </description>
<!--
Attachment exchange handler.
-->
<servlet>
<servlet-name>AttachmentServlet</servlet-name>
<servlet-class>com.ecyrd.jspwiki.attachment.AttachmentServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>AttachmentServlet</servlet-name>
<url-pattern>/attach</url-pattern>
</servlet-mapping>
<!-- This means that we don't have to use redirection
from index.html anymore. Yay! -->
<welcome-file-list>
<welcome-file>Wiki.jsp</welcome-file>
</welcome-file-list>
<!--
Here we define the users which are allowed to access JSPWiki
editor.
I'll provide here an example case where you can set up a Wiki
which allows everyone read access, but only authenticated
users are allowed to edit (i.e. access the Edit.jsp page).
To enable this, remove the comments signs.
We setup here two sample roles, "admin" and "user".
There is no real difference between these two for now.
You must also add to your $TOMCAT_HOME/conf/tomcat-users.xml
the actual user accounts.
-->
<!-- START OF ACCESS RESTRICTION -->
<security-constraint>
<web-resource-collection>
<web-resource-name>Protected Area</web-resource-name>
<url-pattern>/Edit.jsp</url-pattern>
<url-pattern>/attach/*</url-pattern>
<http-method>DELETE</http-method>
<http-method>GET</http-method>
<http-method>POST</http-method>
<http-method>PUT</http-method>
</web-resource-collection>
<auth-constraint>
<role-name>strutsedit</role-name>
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>Struts Editor</realm-name>
</login-config>
</web-app>
--- NEW FILE: oscache.tld ---
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
"http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
<taglib>
<tlibversion>1.5</tlibversion>
<jspversion>1.1</jspversion>
<shortname>oscache</shortname>
<info>OSCache - see http://www.opensymphony.com/oscache</info>
<tag>
<name>cache</name>
<tagclass>com.opensymphony.module.oscache.web.tag.CacheTag</tagclass>
<bodycontent>JSP</bodycontent>
<info>A tag to cache post-processed JSP contents</info>
<attribute>
<name>time</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>duration</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>refreshpolicyclass</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>refreshpolicyparam</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>scope</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>refresh</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>key</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>language</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>encoding</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>usecached</name>
<tagclass>com.opensymphony.module.oscache.web.tag.UseCachedTag</tagclass>
<info>A tag to tell the cache to use the cached version</info>
<attribute>
<name>use</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>flush</name>
<tagclass>com.opensymphony.module.oscache.web.tag.FlushTag</tagclass>
<info>A tag to flush the cache</info>
<attribute>
<name>scope</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>key</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>language</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>pattern</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
</taglib>
|