<< < 13 14 15 16 17 18 19 20 21 22 23 > >>   Sort: Rank

Who Is Responsible for XML
Who is responsible for XML? XML is a project of the World Wide Web Consortium (W3C), and the development of the specification is supervised by an XML Working Group. A Special Interest Group of co-opted contributors and experts from various fields contributed comments and reviews by email. XML is a p...
2007-04-11, 5007👍, 0💬

Differences of XML, SGML, and HTML
Aren't XML, SGML, and HTML all the same thing? Not quite. SGML is the mother tongue, and has been used for describing thousands of different document types in many fields of human activity, from transcriptions of ancient Irish manuscripts to the technical documentation for stealth bombers, and from ...
2007-04-11, 4959👍, 0💬

What Is SGML
What is SGML? SGML is the Standard Generalized Markup Language (ISO 8879:1986), the international standard for defining descriptions of the structure of different types of electronic document. There is an SGML FAQ from David Megginson at http://math.albany.edu:8800/hm /sgml/cts-faq.htmlFAQ;and Robin...
2007-04-11, 5314👍, 0💬

Using XSL in Generating HTML Pages from Relational Databases
Describe the role that XSL can play when dynamically generating HTML pages from a relational database Even if candidates have never participated in a project involving this type of architecture, they should recognize it as one of the common uses of XML. Querying a database and then formatting the re...
2007-04-11, 5120👍, 0💬

Describe the differences between XML and HTML
Describe the differences between XML and HTML It's amazing how many developers claim to be proficient programming with XML, yet do not understand the basic differences between XML and HTML. Anyone with a fundamental grasp of XML should be able describe some of the main differences outlined in the ta...
2007-04-11, 4951👍, 0💬

Why Is XML Such an Important Development?
Why is XML such an important development? It removes two constraints which were holding back Web developments: Dependence on a single, inflexible document type (HTML) which was being much abused for tasks it was never designed for; The complexity of full SGML, whose syntax allows many powerful but h...
2007-04-11, 5153👍, 0💬

Where Should I Use XML
Where Should I Use XML? Its goal is to enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML has been designed for ease of implementation and for interoperability with both SGML and HTML. Despite early attempts, browsers never allowed oth...
2007-04-11, 5091👍, 0💬

What Is a Markup Language
What Is a Markup Language? A markup language is a set of words and symbols for describing the identity of pieces of a document (for example, 'this is a paragraph', 'this is a heading', 'this is a list', 'this is the caption of this figure', etc). Programs can use this with a stylesheet to create out...
2007-04-11, 5249👍, 0💬

What Is XML
What is XML? XML is the Extensible Markup Language. It improves the functionality of the Web by letting you identify your information in a more accurate, flexible, and adaptable way. It is extensible because it is not a fixed format like HTML (which is a single, predefined markup language). Instead,...
2007-04-11, 5465👍, 0💬

Deleting Cookies in JSP Pages
How do you delete a Cookie within a JSP? Cookie mycook = new Cookie("name","value"); response.addCookie(mycook); Cookie killmycook = new Cookie("mycook","value"); killmycook.setMaxAge(0); killmycook.setPath("/"); killmycook.addCookie(killmycoo k);
2007-04-03, 5649👍, 0💬

Using scriptlet to Initialize JavaBean
How do I use a scriptlet to initialize a newly instantiated bean? A jsp:useBean action may optionally have a body. If the body is specified, its contents will be automatically invoked when the specified bean is instantiated. Typically, the body will contain scriptlets or jsp:setProperty tags to init...
2007-04-03, 7606👍, 0💬

Preventing the Creation of Sessions in JSP Pages
How do you prevent the Creation of a Session in a JSP Page and why? By default, a JSP page will automatically create a session for the request if one does not exist. However, sessions consume resources and if it is not necessary to maintain a session, one should not be created. For example, a market...
2007-04-03, 5607👍, 0💬

include Directive vs. jsp:include Action
What is the difference between include directive & jsp:include action? Difference between include directive and jsp:include action: provides the benifits of automatic recompliation,smaller class size ,since the code corresponding to the included page is not present in the servlet for every inclu...
2007-04-03, 7186👍, 0💬

Missing JSP and SSI Includes
How do I mix JSP and SSI #include? If you're just including raw HTML, use the #include directive as usual inside your .jsp file. &lt;!--#include file="data.inc"--&gt;
2007-04-03, 5624👍, 0💬

Serialized JavaBean
Can a JSP page instantiate a serialized bean? No problem! The useBean action specifies the beanName attribute, which can be used for indicating a serialized bean. A couple of important points to note. Although you would have to name your serialized file like "filename.ser", you only indicate "filena...
2007-04-03, 5472👍, 0💬

Using ServletOutputStream Object in JSP Pages
Can you make use of a ServletOutputStream object from within a JSP page? No. You are supposed to make use of only a JSPWriter object (given to you in the form of the implicit object out) for replying to clients. A JSPWriter can be viewed as a buffered version of the stream object returned by respons...
2007-04-03, 5883👍, 0💬

Overriding JSP Server Generated Servlet Subclass
How do I have the JSP-generated servlet subclass be my own custom servlet class, instead of the default? One should be very careful when having JSP pages extend custom servlet classes as opposed to the default one generated by the JSP engine. In doing so, you may lose out on any advanced optimizatio...
2007-04-03, 5778👍, 0💬

Servlet Communicates with JSP Pages
How does a servlet communicate with a JSP page? The following code snippet shows how a servlet instantiates a bean and initializes it with FORM data posted by a browser. The bean is then placed into the request, and the call is then forwarded to the JSP page, Bean1.jsp, by means of a request dispatc...
2007-04-03, 5606👍, 0💬

Setting Session Timeout Period
Is there a way I can set the inactivity lease period on a per-session basis? Typically, a default inactivity lease period for all sessions is set within your JSPengine admin screen or associated properties file. However, if your JSP engine supports the Servlet 2.1 API, you can manage the inactivity ...
2007-04-03, 5610👍, 0💬

Referencing "this" variable in JSP Pages
Is there a way to reference the "this" variable within a JSP page? Yes, there is. Under JSP 1.0, the page implicit object is equivalent to "this", and returns a reference to the servlet generated by the JSP page.
2007-04-03, 5524👍, 0💬

Processing HTML Form Date
Can a JSP page process HTML FORM data? Yes. However, unlike servlets, you are not required to implement HTTP-protocol specific methods like doGet() or doPost() within your JSP page. You can obtain the data for the FORM input elements via the request implicit object within a scriptlet or expression a...
2007-04-03, 5112👍, 0💬

Stoping JSP Execution in the Middle of a JSP Page
Can I stop JSP execution while in the midst of processing a request? Yes. Preemptive termination of request processing on an error condition is a good way to maximize the throughput of a high-volume JSP engine. The trick (asuming Java is your scripting language) is to use the return statement when y...
2007-04-03, 5759👍, 0💬

Declaring Methods within JSP Pages
How can I declare methods within my JSP page? You can declare methods for use within your JSP page as declarations. The methods can then be invoked within any other methods you declare, or within JSP scriptlets and expressions. Do note that you do not have direct access to any of the JSP implicit ob...
2007-04-03, 5369👍, 0💬

Sharing an HttpSession between JSP and EJB
Is it possible to share an HttpSession between a JSP and EJB? What happens when I change a value in the HttpSession from inside an EJB? You can pass the HttpSession as parameter to an EJB method, only if all objects in session are serializable. This has to be consider as "passed-by-value", that mean...
2007-04-03, 5364👍, 0💬

<< < 13 14 15 16 17 18 19 20 21 22 23 > >>   Sort: Rank