My java web app mock exam in learn mode about OCEJWCD (Exam-1Z0-899) formerly SCWCD objectives
exam requirements
lern mode...
Index of MyWebApps (185 items)
Home
Keyword search in MyWebApps
choose web app feature
1.JSP syntax element types interactive demo
source: 1.1.jspSyntax.jsp
source: 1.2.helpclasses.Counter.java
_source: 1.3.helpclasses.HalloBean.java
2.Using Expression Language(EL) interactive demo
source: 2.1.EL-demo.jsp
source: 2.2.ELfunctions.Date4EL.java
_source: 2.3.mytagslib.tld
3.shows Java Standard Tag Library(JSTL) tags in JSP
source: 3.1.jstlDemo.jsp
4.shows custom tags without java code (tag file) embed in JSP from <@taglib "tagdir" or <@taglib "uri"
source: 4.1.showTagsWithoutJavaCode.jsp
source: 4.2.TagWithoutJava-3 tags
source: 4.3.curious.tld
_source: 4.4.mytagslib.tld
5.shows custom "extends SimpleTagSupport" tag WITHOUT body in JSP
source: 5.1.showSimpleTag.jsp
source: 5.2.SimpleTag.java
_source: 5.3.mytagslib.tld
6.shows custom "extends SimpleTagSupport" tag WITH body in JSP
source: 6.1.showSimpleBodyTag.jsp
source: 6.2.SimpleBodyTag.java
_source: 6.3.mytagslib.tld
7.shows custom "extends SimpleTagSupport" tag WITH iterated elements in BODY, VALUES SET IN TAG HANDLER
source: 7.1.showSimpleIteratedTag.jsp
source: 7.2.SimpleIteratedTag.java
_source: 7.3.mytagslib.tld
8.shows custom "extends SimpleTagSupport" tags WITH iterated elements in BODY, VALUES SET RUNTIME(in JSP)
source: 8.1.showRuntimeSetIterTags.jsp
source: 8.2.source of 4 tags
_source: 8.3.mytagslib.tld
9.shows custom "extends TagSupport" tag in JSP and set date pattern runtime(JSP) REPEATEDLY
source: 9.1.showDateTag.jsp
source: 9.2.MyDateTag.java
_source: 9.3.mytagslib.tld
10.shows custom "extends TagSupport" tags (Classic tags) iterate over arrays and runtime set map values in JSP
source: 10.1.testClassicTags.jsp
source: 10.2.source of 4 classic tags
_source: 10.3.mytagslib.tld
11.shows custom tags with HTML form "select" tags (pulldown menus), tag file with JSTL, DynamicAttributes interface
source: 11.1.showSelectTags.jsp
source: 11.2.source of 4 tags with "select"
_source: 11.3.myforms.tld
12.servlet to the same servlet: send message
_source: 12.1.MessageServlet.java
13.servlet to the same servlet: counts requests and shows formatted date
_source: 13.1.TouchCounter.java
14.script-free JSP to servlet: test GET method read attribute, read parameters
source: 14.1.testGet.jsp
source: 14.2.InputServlet.java
_source: 14.3.target.jsp
15.script-free JSP to servlet: test POST method read attribute, read parameters
source: 15.1.testPost.jsp
source: 15.2.InputServlet.java
_source: 15.3.target.jsp
16.servlet dispatch to JSP - read attributes
source: 16.1.DispatchServlet.java
_source: 16.2.dispathed.jsp
17.form to fill in and validate itself by JavaBean
source: 17.1.e-filing.jsp
source: 17.2.FormBean.java
_source: 17.3.confirmation.jsp
18.form to fill in and validate forward by JavaBean - read parameters
source: 18.1.e-filing2.jsp
source: 18.2.FormBean.java
_source: 18.3.validation.jsp
19.read meta informations over request-header
_source: 19.1.readRequestHeader.jsp
20.JSP call servlet - servlet setup cookies and redirect immediately to JSP
source: 20.1.requestCookie.jsp
_source: 20.2.CookieServlet2.java
21.JSP setup cookies from html form - servlet shows it and let return to JSP
source: 21.1.setupCookie.jsp
_source: 21.2.CookieServlet.java
22.JSP produce error, manage session - error handling
source: 22.1.randomSession.jsp
_source: 22.2.error.jsp
23.servlet shows session state
_source: 23.1.SessionServlet.java
24.servlet shows all active sessions implements HttpSessionListener
source: 24.1.ActiveSessionsServlet.java
_source: 24.2.ActiveSessionsListener.java
25.servlet send data by session attributes
source: 25.1.SessionServlet2.java
_source: 25.2.inputForm.jsp
26.ServletContextListener, ScheduledExecutorService, ServletContextAttributeListener usage
source: 26.1.ReadContextAttServlet.java
_source: 26.2.ContextListener.java
26A.Demonstrates ServletContext usage, application scope chronometry in JSP
source: 26A.1.readContextAttribute.jsp
_source: 26A.2.StartupContextListener.java
27.JavaScript embedded in JSP shows 4 useful functions
_source: 27.1.JSinJSP.jsp
28.change style by parameter in JSP
_source: 28.1.changeStyleWithParameter.jsp
29.radio- and checkbox demo
_source: 29.1.radio-checkDemo.jsp
30.Buffering different HTML forms data
source: 30.1.bufferFormsData.jsp
_source: 30.2.source of 3 Beans
31.pulldown menu, (HTML 'select' tag)DynamicAttributes interface, JS event handler in custom tag
source: 31.1.showSelectJS.jsp, incl. tld
_source: 31.2.DynSelectJsEvOpen.java
32.Access the simplest database from JSP
_source: 32.1.AccessSimplestDB.jsp incl. SQL code
33.Access the simplest database from extends SimpleTagSupport tag
source: 33.1.AccessSimplestDbFromTag.java incl. +.tld code
source: 33.2.AccessSimplestDbFromTag.jsp
_source: 33.3.SQL PreRequisites.sql
34.extends BodyTagSupport, iterate the body content, repeat factor set in JSP
source: 34.1.LoopTag.java incl. +.tld code
_source: 34.2.testLoopBodyTag.jsp
35.extends BodyTagSupport, Shows the scope of ScriptVariables which set in TagHandler
source: 35.1.ScriptVarScopeDemoTag.java incl. +.tld code
_source: 35.2.testScriptVarScope.jsp
36.Demonstrates in TagSupport tag "if" nested "then" and "else" BodyTagSupport tags
source: 36.1.testIfThenElseTag.jsp +.tld code
_source: 36.2.source_of_3_conditions_tags
37.Demonstrates in TagSupport tag "Menu" nested "MenuItem" TagSupport tags with JS event handling, and without
source: 37.1.testMenuItems.jsp +.tld code
_source: 37.2.source_of_2_menu_tags
38.Demonstrates jspInit() overriding
_source: 38.1.testOverriding.jsp + DD code
39.Demonstrates session scope chronometry in java shown in servlet
source: 39.1.TestElapsedTime.java
_source: 39.2. ElapsedTimeMeter.java
40.Demonstrates session scope chronometry in java shown in JSP
source: 40.1.TestChronometer.jsp
_source: 40.2.ElapsedTimeMeter.java
41.Demonstrates session scope chronometry in java shown in JSP by JavaBean
source: 41.1. TestChronometerAsBean.jsp
_source: 41.2. ElapsedTimeMeter.java
42.Demonstrates submit button menu in JSP on Tomcat 6 and 7
_source: 42.1.AnimButtonTest.jsp
43.Demonstrates servlet dispatch to another servlet finally to JSP
source: 43.1. Dispatch2Servlet.java
source: 43.2. DispatchServlet.java
_source: 43.3. dispatched.jsp
44..updated! Demonstrates simplest database access from servlet, overriding init()
source: 44.1. DbServletDD.java + DD
_source: 44.2. SQL PreRequisites.sql
44A1. database access with servlet in TestDBCounterServlet.java
44A2. database access with servlet in DBCounterServlet.java
source: 44A1. TestDBCounterServlet.java
_source: 44A2. DBCounterServlet.java inkl. annotation and SQL code
45.Demonstrates HttpSessionAttributeListener usage
source: 45.1. SessionAttributeHistory.java + DD
_source: 45.2. readAttributesHistory.jsp
46. Demonstrates ServletRequestListener usage
source: 46.1. RequestListener.java + DD
_source: 46.2. RequestDemoServlet.java
47. Demonstrates ServletRequestAttributeListener usage
source: 47.1. ReqAttrListener.java + DD
_source: 47.2. ReadReqAttributeHistory.java
48.Demonstrates HttpSessionBindingListener usage
source: 48.1.TestBindingListener.java
_source: 48.2.TestObjABindingListener.java
49. AsyncContext and AsyncListener, send href parameter & get time async back, (Servlet 3.0)
source: 49.1. TimeServlet.java
source: 49.2. time.jsp
_source: 49.3. first.jsp & last.jsp
50.Demonstrates JS table dynamic creation with AJAX data exchange
source: 50.1.startSuggestTable.jsp
_source: 50.2.suggest.jsp
51.Demonstrates JS pulldown menu dynamic creation with AJAX data exchange
source: 51.1.startSuggestSelect.jsp
_source: 51.2.suggest.jsp
52.Demonstrates dynamic generated JS pulldown menu search with AJAX data exchange
source: 52.1.AjaxKeywordSelect.jsp
source: 52.2.keyword4AJAX.jsp
_source: 52.3.searchIndex.jsp
53.Demonstrates dynamic generated pulldown menu search with AsyncContext data exchange (Servlet 3.0)
source: 53.1.AsyncKeywordSearch.jsp
source: 53.2.SearchServlet.java & searchDataIndex.jsp
_source: 53.3.keywords.jsp
54. servlet create dynamic drawn image, send by ImageOutputStream to browser, cyclic refreshing by Header
source: 54.1.index4clock.jsp
_source: 54.2.LifeClockServlet.java
55. Menue with animated gif buttons
_source: 55.1.MenueButtons.jsp
56..new! Test DatabaseBean
source: 56.1.TestDbBean.java
_source: 56.2.DatabaseBean.java
57..new! Embed YouTube Video
_source: 57.1.EmbedYouTube.jsp
%>