Java Doc for WikiServlet.java in  » Wiki-Engine » VeryQuickWiki » vqwiki » servlets » Java Source Code / Java DocumentationJava Source Code and Java Documentation

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 geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Wiki Engine » VeryQuickWiki » vqwiki.servlets 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


vqwiki.servlets.VQWikiServlet
   vqwiki.servlets.WikiServlet

WikiServlet
public class WikiServlet extends VQWikiServlet (Code)


Field Summary
final public static  StringACTION_ADMIN
    
final public static  StringACTION_ALL_TOPICS
    
final public static  StringACTION_APPEND
    
final public static  StringACTION_ATTACH
    
final public static  StringACTION_CANCEL
    
final public static  StringACTION_DIFF
    
final public static  StringACTION_EDIT
    
final public static  StringACTION_EDIT_USER
    
final public static  StringACTION_FIRST_USE
    
final public static  StringACTION_HISTORY
    
final public static  StringACTION_IMPORT
    
final public static  StringACTION_LOCKLIST
    
final public static  StringACTION_LOGIN
    
final public static  StringACTION_MEMBER
    
final public static  StringACTION_MENU_JUMP
    
final public static  StringACTION_NOTIFY
    
final public static  StringACTION_ORPHANED_TOPICS
    
final public static  StringACTION_PREVIEW
    
final public static  StringACTION_PRINT
    
final public static  StringACTION_RECENT_CHANGES
    
final public static  StringACTION_RSS
    
final public static  StringACTION_SAVE
    
final public static  StringACTION_SAVE_TEMPLATE
    
final public static  StringACTION_SAVE_USER
    
final public static  StringACTION_SEARCH
    
final public static  StringACTION_SEARCH_RESULTS
    
final public static  StringACTION_TODO_TOPICS
    
final public static  StringACTION_UNLOCK
    
final public static  StringACTION_VIEW_ATTACHMENT
    


Method Summary
protected  voiddoGet(HttpServletRequest request, HttpServletResponse response)
    
protected  voiddoPost(HttpServletRequest request, HttpServletResponse response)
    
protected  voiddoPut(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse)
    
public static  ServletContextgetCurrentContext()
    
public  voidinit(ServletConfig config)
    
public static  StringmarkToReplaceOutsideHTML(String haystack, String needle)
     Mark all needles in a haystack, so that they can be replaced later.
public static  StringreplaceMarked(String text, String needle, String replacement)
     Replace all needles inside the text with their replacements.

Field Detail
ACTION_ADMIN
final public static String ACTION_ADMIN(Code)



ACTION_ALL_TOPICS
final public static String ACTION_ALL_TOPICS(Code)



ACTION_APPEND
final public static String ACTION_APPEND(Code)



ACTION_ATTACH
final public static String ACTION_ATTACH(Code)



ACTION_CANCEL
final public static String ACTION_CANCEL(Code)



ACTION_DIFF
final public static String ACTION_DIFF(Code)



ACTION_EDIT
final public static String ACTION_EDIT(Code)



ACTION_EDIT_USER
final public static String ACTION_EDIT_USER(Code)



ACTION_FIRST_USE
final public static String ACTION_FIRST_USE(Code)



ACTION_HISTORY
final public static String ACTION_HISTORY(Code)



ACTION_IMPORT
final public static String ACTION_IMPORT(Code)



ACTION_LOCKLIST
final public static String ACTION_LOCKLIST(Code)



ACTION_LOGIN
final public static String ACTION_LOGIN(Code)



ACTION_MEMBER
final public static String ACTION_MEMBER(Code)



ACTION_MENU_JUMP
final public static String ACTION_MENU_JUMP(Code)



ACTION_NOTIFY
final public static String ACTION_NOTIFY(Code)



ACTION_ORPHANED_TOPICS
final public static String ACTION_ORPHANED_TOPICS(Code)



ACTION_PREVIEW
final public static String ACTION_PREVIEW(Code)



ACTION_PRINT
final public static String ACTION_PRINT(Code)



ACTION_RECENT_CHANGES
final public static String ACTION_RECENT_CHANGES(Code)



ACTION_RSS
final public static String ACTION_RSS(Code)



ACTION_SAVE
final public static String ACTION_SAVE(Code)



ACTION_SAVE_TEMPLATE
final public static String ACTION_SAVE_TEMPLATE(Code)



ACTION_SAVE_USER
final public static String ACTION_SAVE_USER(Code)



ACTION_SEARCH
final public static String ACTION_SEARCH(Code)



ACTION_SEARCH_RESULTS
final public static String ACTION_SEARCH_RESULTS(Code)



ACTION_TODO_TOPICS
final public static String ACTION_TODO_TOPICS(Code)



ACTION_UNLOCK
final public static String ACTION_UNLOCK(Code)



ACTION_VIEW_ATTACHMENT
final public static String ACTION_VIEW_ATTACHMENT(Code)





Method Detail
doGet
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException(Code)
GET requests should come from topic display requests, edit requests, diffs



doPost
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException(Code)
POST requests should only come from saves and searches



doPut
protected void doPut(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) throws ServletException, IOException(Code)



getCurrentContext
public static ServletContext getCurrentContext()(Code)
Returns a reference to the current servlet context



init
public void init(ServletConfig config) throws ServletException(Code)



markToReplaceOutsideHTML
public static String markToReplaceOutsideHTML(String haystack, String needle)(Code)
Mark all needles in a haystack, so that they can be replaced later. Take special care on HTML, so that no needle is replaced inside a HTML tag.
Parameters:
  haystack - The haystack to go through.
Parameters:
  needle - The needle to search. The haystack with all needles (outside HTML) marked with the char \u0000



replaceMarked
public static String replaceMarked(String text, String needle, String replacement)(Code)
Replace all needles inside the text with their replacements.
Parameters:
  text - The text or haystack, where all needles are already marked with the unicode character \u0000
Parameters:
  needle - The needle to search
Parameters:
  replacement - The text, which replaces the needle String containing the text with the needle replaced by the replacement.



Methods inherited from vqwiki.servlets.VQWikiServlet
protected void dispatch(String destination, HttpServletRequest request, HttpServletResponse response)(Code)(Java Doc)
protected void error(HttpServletRequest request, HttpServletResponse response, Exception err)(Code)(Java Doc)
protected void include(String destination, HttpServletRequest request, HttpServletResponse response)(Code)(Java Doc)
protected void redirect(String destination, HttpServletResponse response)(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.