JSPWiki

Home
Java Source Code / Java Documentation
1.6.0 JDK Core
2.6.0 JDK Modules
3.6.0 JDK Modules com.sun
4.6.0 JDK Modules com.sun.java
5.6.0 JDK Modules sun
6.6.0 JDK Platform
7.Ajax
8.Apache Harmony Java SE
9.Aspect oriented
10.Authentication Authorization
11.Blogger System
12.Build
13.Byte Code
14.Cache
15.Chart
16.Chat
17.Code Analyzer
18.Collaboration
19.Content Management System
20.Database Client
21.Database DBMS
22.Database JDBC Connection Pool
23.Database ORM
24.Development
25.EJB Server
26.ERP CRM Financial
27.ESB
28.Forum
29.Game
30.GIS
31.Graphic 3D
32.Graphic Library
33.Groupware
34.HTML Parser
35.IDE
36.IDE Eclipse
37.IDE Netbeans
38.Installer
39.Internationalization Localization
40.Inversion of Control
41.Issue Tracking
42.J2EE
43.J2ME
44.JBoss
45.JMS
46.JMX
47.Library
48.Mail Clients
49.Music
50.Net
51.Parser
52.PDF
53.Portal
54.Profiler
55.Project Management
56.Report
57.RSS RDF
58.Rule Engine
59.Science
60.Scripting
61.Search Engine
62.Security
63.Sevlet Container
64.Source Control
65.Swing Library
66.Template Engine
67.Test Coverage
68.Testing
69.UML
70.Web Crawler
71.Web Framework
72.Web Mail
73.Web Server
74.Web Services
75.Web Services apache cxf 2.2.6
76.Web Services AXIS2
77.Wiki Engine
78.Workflow Engines
79.XML
80.XML UI
Java Source Code / Java Documentation » Wiki Engine » JSPWiki 
JSPWiki
License:GNU Library or Lesser General Public License (LGPL)
URL:http://www.jspwiki.org/
Description:A WikiWiki web clone written using JSPs and Servlets
Package NameComment
com.ecyrd.jspwiki Insert title here The chief package of JSPWiki. This package contains most of the core classes that JSPWiki uses, and a bunch of other ones.

Package Specification

Related Documentation

com.ecyrd.jspwiki.attachment Insert title here

Attachment management, uploading and downloading.

Package Specification

This package manages the JSPWiki attachment subsystem. It consists of three basic components:

  • AttachmentServlet - the servlet which allows both uploading and downloading servlets.
  • AttachmentManager - The JSPWiki Manager component which manages the storage of attachments.
  • Attachment - A special kind of a {@link com.ecyrd.jspwiki.WikiPage} which stores a handle to the attachment data.

Attachments can either be static (i.e. real data, stored somewhere on a filesystem), or dynamic, which means that they're generated on the fly by a {@link com.ecyrd.jspwiki.attachment.DynamicAttachmentProvider}.

Related Documentation

com.ecyrd.jspwiki.auth
com.ecyrd.jspwiki.auth.acl
com.ecyrd.jspwiki.auth.authorize
com.ecyrd.jspwiki.auth.login
com.ecyrd.jspwiki.auth.permissions
com.ecyrd.jspwiki.auth.user
com.ecyrd.jspwiki.dav
com.ecyrd.jspwiki.dav.items
com.ecyrd.jspwiki.dav.methods
com.ecyrd.jspwiki.diff
com.ecyrd.jspwiki.event
com.ecyrd.jspwiki.filters
com.ecyrd.jspwiki.forms com.ecyrd.jspwiki.forms Contains classes for doing form handling within JSPWiki.

Package Specification

This package contains all form-related classes, interfaces and helpers.

Related Documentation

com.ecyrd.jspwiki.htmltowiki
com.ecyrd.jspwiki.i18n
com.ecyrd.jspwiki.modules
com.ecyrd.jspwiki.parser
com.ecyrd.jspwiki.plugin com.ecyrd.jspwiki.plugin Provides plugins to the JSPWiki.

Package Specification

This package contains all plugin-related classes, interfaces and helpers.

Related Documentation


Last modified: Sun Nov 14 14:12:36 EET 2004
com.ecyrd.jspwiki.preferences
com.ecyrd.jspwiki.providers
com.ecyrd.jspwiki.render
com.ecyrd.jspwiki.rpc
com.ecyrd.jspwiki.rpc.atom
com.ecyrd.jspwiki.rpc.json Insert title here Provides utility classes for using the JSON-RPC AJAX library.

Package Specification

This package contains utility classes for using the JSON-RPC AJAX library. The JSON-RPC library is available from http://oss.metaparadigm.com/jsonrpc/.

Related Documentation

JSON-RPC.
com.ecyrd.jspwiki.rss
com.ecyrd.jspwiki.search
com.ecyrd.jspwiki.tags Provides standard JSP tags for JSPWiki.

Package specification

This package contains a diverse set of JSP tags which are used in the template pages.

Managing tag pooling

A typical problem for many tag developers is that many web containers pool tags, i.e. the tag is not released after doEndTag(), but put into a pool, from which it can be invoked again. This is highly efficient, as you don't need to instantiate the tag again.

The problem, however, is that when your tag is put back into the pool, it still retains all the internal references, i.e. none of the member fields are cleared. This means there can be dangling references to things which will take a lot of memory. In JSPWiki's case, the WikiContext is a good example: it can actually contain quite a lot of stuff accumulated during it's life time, and therefore it's important for memory use that all references are cleared.

Unfortunately, the "easy" solution of implementing your custom release handler in Tag.release() does not help, since it is called only when the tag is truly and completely released from the pool. So, as long as the tag sits in the pool, release() is not called, and your references keep on dangling like wet spaghetti off the balcony.

Neither can you trust e.g. doEndTag() being called every time, since e.g. if there is an exception, doEndTag() is never called.

The correct way to do reference cleaning is to implement the {@link javax.servlet.jsp.tagext.TryCatchFinally} interface, where the doFinally() method is called every time the tag has been finished with and prior to it being put back into the pool. Most JSPWiki base tag classes {@link com.ecyrd.jspwiki.tags.IteratorTag} and {@link com.ecyrd.jspwiki.tags.WikiTagBase} implement the TryCatchFinally interface, which means that any class subclassed from them also allows has those methods.

Check out the javadocs for the tags for more info!

Related documentation

TBD.
com.ecyrd.jspwiki.ui Java classes for management of the JSP user interface.

Package specification

The classes which are not directly related to the JSP tags, yet do control some aspect of the web interface, have been collected here.

Related documentation

Please also see the "tags" package. @see com.ecyrd.jspwiki.tags
com.ecyrd.jspwiki.ui.admin Insert title here Contains classes for the JSPWiki administrative interface.

Package specification

Since JSPWiki 2.6, a new administration interface has been added under /admin/Admin.jsp. This interface is based on AdminBeans, a particular kind of bean which is used by JSPWiki to generate a HTML interface.

The AdminBeans can also be JMX beans, which means that it is possible to control them from a regular management application. However, instead of just using a constructed HTML user interface, the AdminBeans may have full control over the HTML they emit.

Related documentation

Please also see the "tags" package. @see com.ecyrd.jspwiki.tags @see javax.management
com.ecyrd.jspwiki.ui.admin.beans
com.ecyrd.jspwiki.ui.progress Insert title here Provides progress management routines.

Package Specification

The ProgressManager is a JSPWiki manager which holds items that can track progress of some other program.

Related Documentation

com.ecyrd.jspwiki.url Insert title here

Provides the URL generation routines.

Package Specification

JSPWiki generates URLs using the URLConstructor classes in this interface. It's possible to create your own URLs simply by installing your own URLConstructor.

Related Documentation

com.ecyrd.jspwiki.util com.ecyrd.jspwiki.util Provides a number of utility libraries that are of general use.

Package Specification

The util-package provides a number of utility libraries that are of general use, and should not be JSPWiki-specific.

Related Documentation

com.ecyrd.jspwiki.web
com.ecyrd.jspwiki.workflow
com.ecyrd.jspwiki.xmlrpc
com.ecyrd.management
com.foo
org.apache.catalina.util
stress
w___w_w___.java_2___s.__c__o__m__ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.