0

build a web application without writing any code

Tài liệu XML, XSLT, Java, and JSP: A Case Study in Developing a Web Application- P1 doc

Tài liệu XML, XSLT, Java, and JSP: A Case Study in Developing a Web Application- P1 doc

Kỹ thuật lập trình

... “.;c:\jakarta-tomcat\lib\servlet.jar;”➥de/tarent/forum/OutputChatMessagesTag.java -d /classesjavac -classpath “.;c:\jakarta-tomcat\lib\servlet.jar;”➥de/tarent/forum/OutputDebugInfoTag.java -d /classesjavac -classpath “.;c:\jakarta-tomcat\lib\servlet.jar;”➥de/tarent/forum/NoCacheHeaderTag.java ... “.;c:\jakarta-tomcat\lib\servlet.jar;”➥de/tarent/forum/NoCacheHeaderTag.java -d /classesjavac -classpath “.;c:\xalan-j_1_2_2\xalan.jar;c:\xalan-➥j_1_2_2\xerces.jar;c:\jakarta-tomcat\lib\servlet.jar;”➥de/tarent/forum/Xalan1Transformer.java ... “.;c:\jakarta-tomcat\lib\servlet.jar;c:\xalan-➥j_2_0_1\bin\xalan.jar;c:\xalan-j_2_0_1\bin\xerces.jar;”➥de/tarent/forum/Xalan2Transformer.java -d /classesjavac -classpath “.;c:\jakarta-tomcat\lib\servlet.jar;c:\xalan-➥j_2_0_1\bin\xalanj1compat.jar;c:\xalan-j_2_0_1\bin\xalan.jar;c:\xalan-➥j_2_0_1\bin\xerces.jar;” de/tarent/forum/TransformTag.java...
  • 50
  • 465
  • 1
Tài liệu XML, XSLT, Java, and JSP: A Case Study in Developing a Web Application- P2 ppt

Tài liệu XML, XSLT, Java, and JSP: A Case Study in Developing a Web Application- P2 ppt

Kỹ thuật lập trình

... c:\jakarta-tomcat\classes;c:\jakarta-tomcat\lib\ant.jar;c:\jakarta-tomcat\lib\jaxp.jar;c:\jakarta-➥tomcat\lib\servlet.jar;c:\jakarta-tomcat\lib\parser.jar;c:\jakarta-tomcat\lib\we➥bserver.jar;c:\jakarta-tomcat\lib\jasper.jar;c:\jakarta-➥tomcat\lib\xalanservlet.jar;c:\jakarta-tomcat\lib\xerces.jar;c:\jakarta-➥tomcat\lib\xalanj1compat.jar;c:\jakarta-tomcat\lib\aaxalan.jar;c:\jdk1.3\lib\too➥ls.jar2001-05-23 ... c:\jakarta-tomcat\classes;c:\jakarta-tomcat\lib\ant.jar;c:\jakarta-tomcat\lib\jaxp.jar;c:\jakarta-➥tomcat\lib\servlet.jar;c:\jakarta-tomcat\lib\parser.jar;c:\jakarta-tomcat\lib\we➥bserver.jar;c:\jakarta-tomcat\lib\jasper.jar;c:\jakarta-➥tomcat\lib\xalanservlet.jar;c:\jakarta-tomcat\lib\xerces.jar;c:\jakarta-➥tomcat\lib\xalanj1compat.jar;c:\jakarta-tomcat\lib\aaxalan.jar;c:\jdk1.3\lib\too➥ls.jar2001-05-23 ... files, are meant to hold a set of class files that can be placed in the class-path and double-clicked using a GUI to launch an application. If you add a Web application to Tomcat “automatically”...
  • 50
  • 621
  • 1
Tài liệu XML, XSLT, Java, and JSP: A Case Study in Developing a Web Application- P3 ppt

Tài liệu XML, XSLT, Java, and JSP: A Case Study in Developing a Web Application- P3 ppt

Kỹ thuật lập trình

... discussed and heralded in particular as a great benefit in connectinglegacy applications to modern Web- based applications.Within a Web application, passing even one parameter that contains XML data ... environments.5.4 XML Data Flows in Web ApplicationsWe believe that passing XML data within a Web application will turn out to be asimportant as passing XML data between systems and applications.The latter ... database management systembecause handling chat data is an obvious job.We decided against that for several rea-sons. One is that we did not want to assume that all our readers are familiar...
  • 50
  • 579
  • 1
Tài liệu XML, XSLT, Java, and JSP: A Case Study in Developing a Web Application- P4 docx

Tài liệu XML, XSLT, Java, and JSP: A Case Study in Developing a Web Application- P4 docx

Kỹ thuật lập trình

... was to make sure that any inputthat came from a user could be used as an XML attribute value.The example thatprompted that (hopefully code- wide) precaution was the chatTopicattribute that ... bonForumXML (a ForestHashtable) as a string.Now we decided to make it the input XML stream for the Xalan XSLT processor aspart of our TransformTagclass.Displaying the available chats would mean ... for a bonForum user to become a host by starting a chat andthen re-enter the same chat as a guest.The problem is that that user then loses thecapability to again be a host of that chat. Having...
  • 50
  • 613
  • 1
Tài liệu XML, XSLT, Java, and JSP: A Case Study in Developing a Web Application- P5 pptx

Tài liệu XML, XSLT, Java, and JSP: A Case Study in Developing a Web Application- P5 pptx

Kỹ thuật lập trình

... logic, bymaking one more variable available to each JSP-produced page of a bonForuminstance.The incoming request parameters are validated and made available to the Web application in whatever ... the applet parameters right onthe _robot page? Using the same target parameter as we did in the last section as anexample, that would mean doing this:<jsp:param name=”target” value=”display”/>The ... flow—and that hopefullyhave self-explanatory names:boolean haveSubject = true;boolean haveTopic = true;boolean actorIsHostInChat = false;boolean actorIsGuestInChat = false;boolean chatExistsForSubjectAndTopic...
  • 50
  • 691
  • 0
Tài liệu XML, XSLT, Java, and JSP: A Case Study in Developing a Web Application- P6 ppt

Tài liệu XML, XSLT, Java, and JSP: A Case Study in Developing a Web Application- P6 ppt

Kỹ thuật lập trình

... this watermark. 2798.2 The BonForumStore Classobject.That means that all the pathnames are available again but are sorted alphabeti-cally.The code on a JSP document likes it that way.The ... database (now a ForestHashtable)nInitializes the XML database for use as a chat Web appnLoads XML files into a database using its methodsnDumps the content of the database as XML in a stringnProvides ... there are two such XSLT classes, one for Xalan-Java 1 and one for Xalan-Java 2.Simplifying greatly, here are the statements called by the TransformTagclass to getits XML database in a string:private...
  • 50
  • 522
  • 0
Tài liệu XML, XSLT, Java, and JSP: A Case Study in Developing a Web Application- P7 pptx

Tài liệu XML, XSLT, Java, and JSP: A Case Study in Developing a Web Application- P7 pptx

Kỹ thuật lập trình

... will assume as it translates the tag thatthese variables are available as page attributes. Later, when we look at the translatedJava code for a Tag Handler instance, you can see where the value ... bean from Tag Handler classes, and there are different ways to manage that. A bean can even be made into a tag handler itself, simply by implementing the Taginterface.We make our bean available ... TagExtraInfo.That means that the JSP container will be capa-ble of using this class at translation or compilation time to get information about vari-ables that are used in the Web application. ...
  • 50
  • 728
  • 0
Tài liệu XML, XSLT, Java, and JSP: A Case Study in Developing a Web Application- P8 pdf

Tài liệu XML, XSLT, Java, and JSP: A Case Study in Developing a Web Application- P8 pdf

Kỹ thuật lập trình

... system_executes_command.jsp. Note that if you have Xalan-Java-2,you can also set xalanVersionto Xalan Java 1, as long as the compatibility JAR fileis accessible, for example, as TOMCAT_HOME\lib\xalanj1compat.jar.Let’s ... twoclasses to encapsulate the steps required for either Xalan-Java 1or Xalan-Java 2.Theclasses are called Xalan1Transformerand Xalan2Transformer. Each has one methodcalled transform, which ... nodeNameHashtablefor each session. Using the unique nodeKey.aKeywas a naturalchoice because BonForumEnginewas already getting that back from the database when-ever any node was added.Then...
  • 50
  • 517
  • 0
Tài liệu XML, XSLT, Java, and JSP: A Case Study in Developing a Web Application- P9 pptx

Tài liệu XML, XSLT, Java, and JSP: A Case Study in Developing a Web Application- P9 pptx

Kỹ thuật lập trình

... created by the followingstatement from the file ForestHashtable.java:public NodeNameHashtable nodeNameHashtable = new NodeNameHashtable();Notice that a class called NodeNameHashtablehas ... this watermark. 416Chapter 11 XML Data Storage Class: ForestHashtableattribute to a chat element.We will also try using it to allow a chat host to change therating of a guest in a chat.WarningThe ... previously.This way, we can searchthrough a much smaller data set that is guaranteed to contain all the new child nodesthat we must find instead of making many new requests from a database.Climbing...
  • 50
  • 570
  • 1
Tài liệu Maintaining State in a Web Application pptx

Tài liệu Maintaining State in a Web Application pptx

Kỹ thuật lập trình

... rows in a database table. In the following sections, you'll learn how to create an ASP.NET Web application that uses a DataGrid control to access the rows in a database table. The DataGrid ... you're building a Web site that a user can order products from, store their shopping cart in the database. Using a DataGrid Control to Access a Database A DataGrid allows you to access ... create a DataSet object. You use a DataSet object to store a local copy of the information stored in the database. A DataSet object can represent database structures such as tables, rows, and...
  • 22
  • 412
  • 0
Tài liệu XML, XSLT, Java, and JSP: A Case Study in Developing a Web Application- P10 ppt

Tài liệu XML, XSLT, Java, and JSP: A Case Study in Developing a Web Application- P10 ppt

Kỹ thuật lập trình

... “.;c:\jakarta-tomcat\lib\servlet.jar;”de/tarent/forum/NoCacheHeaderTag.java -d /classesjavac -classpath “.;c:\xalan-j_1_2_2\xalan.jar;c:\xalan-j_1_2_2\xerces.jar;c:\jakarta-tomcat\lib\servlet.jar;”de/tarent/forum/Xalan1Transformer.java -d /classesjavac -classpath ... bonChatGuestsTEST.htmljava -classpath “c:\jakarta-tomcat\lib\xalanj1compat.jar;c:\jakarta-tomcat\lib\xerces.jar;c:\jakarta-tomcat\lib\xalan.jar”org.apache.xalan.xslt.Process -IN bonForumIdentityTransform.xml ... /classesjavac de/tarent/forum/BonNode.java -d /classesjavac -classpath “.;c:\jakarta-tomcat\lib\servlet.jar;”de/tarent/forum/ForestHashtable.java -d /classesjavac -classpath “.;c:\jakarta-tomcat\lib\servlet.jar;”de/tarent/forum/BonForumStore.java...
  • 50
  • 357
  • 0
Tài liệu XML, XSLT, Java, and JSP: A Case Study in Developing a Web Application- P11 ppt

Tài liệu XML, XSLT, Java, and JSP: A Case Study in Developing a Web Application- P11 ppt

Kỹ thuật lập trình

... nickname:String actorNickname;// clear any previous unavailable namessession.setAttribute(“actorNicknameNotAvailable”, “”);boolean isForumEntry = false;// Only web- app state that allows nickname input// ... sessionId;nameAndAttributes += “_”;nameAndAttributes += creationTimeMillis;nameAndAttributes += “ chatTopic=\””;nameAndAttributes += chatTopic;nameAndAttributes += “\””;content = “”;forestHashtableName ... behavior of “visitor startschat” when chat exists// 1. always warn user and ask again for new subjectand/or new topic// 2 if actor was in it, always join with previousstatus, else warn and...
  • 50
  • 527
  • 0
Localizing Client-Side Data in a Web Forms Application

Localizing Client-Side Data in a Web Forms Application

Kỹ thuật lập trình

... user's culture. [ Team LiB ] [ Team LiB ] Recipe 3.5 Localizing Client-Side Data in a Web Forms Application Problem You need to format dates and currency values according to the culture ... The sample code- behind for the Web Forms page contains one event handler and a single method: Form.Load Creates the CultureInformation object based on the user's settings. RefreshData( ... thread and demonstrates the effect on output of different data types. The C# code for the code- behind is shown in Example 3-5. Example 3-5. File: ADOCookbookCS0305.aspx.cs // Namespaces, variables,...
  • 4
  • 367
  • 0

Xem thêm