answersLogoWhite

0

Can xml be created using jsp?

Updated: 9/13/2023
User Avatar

Wiki User

16y ago

Best Answer

Yes, JSP can output XML. To do this, simply output XML instead of HTML inside the JSP. A good idea is to start the JSP with a <%@page contentType="application/xml; charset=UTF-8" %> header, so that the correct contentType gets set.

User Avatar

Wiki User

16y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Can xml be created using jsp?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Other Math

What is the Expansion for JSP?

JSP stands for Java Server Pages. They are used in Java Enterprise applications that are created to be used on web pages. The JSP page acts as the user interface for the enterprise application.


How do you exceed 50 grounds using XML editing in transformice map editor?

nob


What is the expansion of jsp?

JSP stands for Java Server Pages. Java Server Pages have become an integral part of any J2EE application. They are used extensively because they can combine the features of HTML and Java. The difficulty level of JSP is half-way between HTML and pure Java. For simple tasks like displaying the current date, you write a normal HTML page and add only a small amount of Java as a scriptlet. For big tasks like processing a shopping cart, you use JSP as the mediator between the Web form and a component (Ex: Servlet) that has all the processing logic. CGI, Perl, Active Server Pages etc were all the predecessors of Java Server Pages. Am not saying that the JSP Technology was built based on these technologies but it is safe to say that, the JSP Technology was created to overcome many of the shortcomings in the above mentioned technologies. Though the ASP technology is a web server scripting champion and is used very widely, the only problem is the Runs only in Windows Attitude of the technology. Unlike ASP, JSP has equivalent if not better features and can run in any environment making it an invaluable tool for enterprise application developers who don't want to be tied to the limitation of the system running only in Windows. Not only does JSP run on all major platforms, but the JavaBeans used by these JSPs run on all major platforms as well. JSP competes directly with ASP. In fact, you would be forgiven if you thought it was a copy. Sun took the same approach to JSP as it did with Java. Sun borrowed the syntax of its best competitor (ASP for JSP and C++ for Java) tweaked it a little, but built everything under the hood from scratch. Java syntax comes from C++, but it works on all platforms with no portability issues like C++ for the developer. Similarly, the JSP structure comes from ASP. The look and feel, and even some syntax is the same. However, ASP primarily uses Microsoft's versatile VBScript, while JSP uses the more powerful and portable Java and JavaScript.


Can you override the life cycle methods of a JSP?

You cannot override the jspService() method but you can override the jspInit() and jspDestroy() methods


What is a geometric figure created without using tools?

sketch

Related questions

What are jsp actions?

JSP actions are XML tags that direct the server to use existing components or control the behavior of the JSP engine. JSP Actions consist of a typical (XML-based) prefix of "jsp" followed by a colon, followed by the action name followed by one or more attribute parameters. There are six JSP Actions: &lt; jsp : include / &gt; &lt; jsp : forward / &gt; &lt; jsp : plugin / &gt; &lt; jsp : usebean / &gt; &lt; jsp : setProperty / &gt; &lt; jsp : getProperty / &gt;


Can you create web forums using jsp and servlets?

Yes. All sorts of web Applications/websites can be created using JSP and Servlets


Jsp file is text or xml based document?

A JSP file is a text based document with a .jsp extension. The file can contain HTML content, Java code and other text.


What is the fullform of JSP?

JavaServer Pages (JSP) is a Java technology that helps software developers serve dynamically generated web pages based on HTML, XML.


When was JSP Records created?

JSP Records was created in 1978.


Why AI uses AIML instead of XML?

AIML actually is XML. XML is a meta-language, used to create new languages. AIML is a language created using the XML standard built specifically to aid in the create of AI.


When was Prince XML created?

Prince XML was created in 2003-04.


When was XML Notepad created?

XML Notepad was created on 2006-09-01.


When was Liquid XML Studio created?

Liquid XML Studio was created in 2003.


What is Java Support Systems?

Java support system includes: &middot; Applets &middot; Servlets &middot; Java Beans &middot; EJB &middot; JSP &middot; XML &middot; SOAP &middot; CORBA


When was Regular Language description for XML created?

Regular Language description for XML was created in 2000.


When was Office Open XML created?

Office Open XML was created on 2006-12-07.