answersLogoWhite

0

Jsp file is text or xml based document?

Updated: 8/16/2019
User Avatar

Wiki User

14y ago

Best Answer

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

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Jsp file is text or xml based document?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you import jsp file in servlet?

I think the name of the jsp file is included in the web.xml of the servlet


How can you compile the jsp file?

JSP file would be automatically compiled by an engine called Jasper in the servelt containter.


What is the difference between HTML and JSP?

HTML is client side. JSP is server side.HTML provides a means to describe the structure of text-based information in a document - by denoting certain text as links, headings, paragraphs, lists, and so on - and to supplement that text with interactive forms, embedded images, and other objects. HTML is written in the form of tags, surrounded by angle brackets. HTML can also describe, to some degree, the appearance and semantics of a document, and can include embedded scripting language code (such as JavaScript) which can affect the behavior of Web browsers and other HTML processors.The JSP syntax adds additional XML-like tags, called JSP actions, to be used to invoke built-in functionality. Additionally, the technology allows for the creation of JSP tag libraries that act as extensions to the standard HTML or XML tags. Tag libraries provide a platform independent way of extending the capabilities of a Web server. JSP is alot like php.


Which is the website for jsp tutorials?

There are many websites for JSP Tutorials. Just google with text as "JSP Tutorials" or click on the related links in this answer...


How do you dynamically identify the jsp in servlet?

You can dynamically identify the JSP file in a servlet by using the request URL or request parameters to determine which JSP to forward the request to. You can also store necessary information in session attributes or external configurations to help determine the appropriate JSP to display. Finally, you can use a servlet mapping or URL pattern to route requests to different JSP files based on the URL.


Is it possible to include a doc file in a JSP page?

Yes. You can embed spreadsheets, pdfs and word documents in a JSP Page


How can i Write jsp page?

A JSP File Contents:A JSP file can contain the following:a. HTML contentsb. JavaScriptc. Java CodeCombining the features of the above 3 mentioned items; we get a powerful entity called the JSP. JSPs are used for the User Interface layer or the more colloquially called Front End layer of any J2EE application.JSP SkeletonBelow is how a Skeleton JSP File would look like. (The file has to be saved as .jsp)// Page Imports


What are the components of jsp?

A JSP File Contents:A JSP file can contain the following:a. HTML contentsb. JavaScriptc. Java CodeCombining the features of the above 3 mentioned items; we get a powerful entity called the JSP. JSPs are used for the User Interface layer or the more colloquially called Front End layer of any J2EE application.JSP SkeletonBelow is how a Skeleton JSP File would look like. (The file has to be saved as .jsp)// Page Imports


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: < jsp : include / > < jsp : forward / > < jsp : plugin / > < jsp : usebean / > < jsp : setProperty / > < jsp : getProperty / >


How do you send a message from jsp file to HTML file in tomcat server?

just click submit


What is the anatomy of a jsp page?

A JSP File Contents:A JSP file can contain the following:a. HTML contentsb. JavaScriptc. Java CodeCombining the features of the above 3 mentioned items; we get a powerful entity called the JSP. JSPs are used for the User Interface layer or the more colloquially called Front End layer of any J2EE application.JSP SkeletonBelow is how a Skeleton JSP File would look like. (The file has to be saved as .jsp)// Page Imports


How do you call a Servlet from JSP?

I have created a .jsp file, in which, I am calling a class.method() through TagLib. REQUIREMENT is, I want to call a servlet instead of a simple class. And Servlet will get the response, and request object from Jsp, and manipulate that, and produce the response object, and control is transfered back to JSP again.