1Paper 233-29 Building an Online Entry Form with WebAF™ (and a Little Java) Frederick Pratter, Eastern Oregon University, La Grande, Oregon ABSTRACT
10ADDING A CONNECTION OBJECT For the online examination example the first JavaServer Page prompts the student to select a test from the ones availabl
11ADDING A DATASET OBJECT Once the connection has been instantiated, the DatasetInterface control must be added to reference the specific EXAMS.TESTS
12Note that in the EXAMS.TEST data set, the first column is the test number and column 2 is the name of the test. The data are passed to the page con
13 Figure 13. HTML Form Element The form get method calls the next JavaServer Page, page1.jsp. (If you want to suppress the parameter display you can
14Whichever method is chosen, a window appears at the bottom of the display with something like the following text. Starting tomcat. Check logs/tomca
15CONCLUSION As should be obvious from this brief introduction, AppDev Studio is an extremely powerful and flexible collection of tools for web devel
16APPENDIX I – SAMPLE DATA SETS EXAMS tnum tname 1 Astronomy 2 Chemistry 3 Geology 4 Meteorology 5 Physics 6 Mathematics 7 Computer Science QUESTION
17APPENDIX II – More JavaServer Pages page1.jsp – Display the next question <%-- page1.jsp --%><%@taglib uri="http://www.sas.com/taglib
18page2.jsp – display the correct answer <%-- page2.jsp --%><%@taglib uri="http://www.sas.com/taglib/sasads" prefix="sasads&q
19<%-- begin HTML code --%><html><head><title>On-line Exam Demo: page2.jsp</title></head><body><h1 style
2sastcpd -service spawner –shell &The sastcpd program runs by default as a daemon, so it is not necessary to use nohup . Again, if you want it to
3C:\AppDevStudio\WebAppDev\templatescontains a couple of web application “starter” directories, called empty and sasads. Of course empty is not reall
4When you start WebAF for the first time, you will only see one connection: the default one. To create another connection, click on New. This will di
5Port: 2323Intransients differing from the defaultProperty Default Modified-------- ------- --------debugTelnetConnectClient trueinitialStatementisAp
6real time 0.00 secondscpu time 0.00 secondsNOTE: SAS Server: Authorization commencing...NOTE: SAS Server: Client LOGONNOTE: NEW task=3 factory=8387
7Three text input boxes show up: Project name, Java package and Location. The only one of these that you have to specify is the project name—in this
8text brings up a list additional of field values that can be automatically inserted into the text. In this case, the generated URL is http://localh
9STEP 6. CREATING A NEW JAVASERVER PAGE WebAF will automatically open a new JavaServer Page. Or a new JSP page can be readily constructed in WebAF by
Comments to this Manuals