JSP stands for
- (a)Java Simple Pages
- (b)Java System Protocol
- (c)Java Server Pages
- (d)Java Server Protocol
Correct — C, Java Server Pages. JSP (JavaServer Pages) is a server-side Java technology that lets developers embed Java code inside HTML to produce dynamically generated web pages. When a page is requested, the web server (for example Apache Tomcat) translates the JSP into a Java Servlet, runs it, and sends the resulting HTML to the browser. It was introduced by Sun Microsystems in 1999 as part of the Java platform for the web.
- (a)Java Simple Pages — Not a real technology — the 'S' in JSP stands for 'Server', not 'Simple'.
- (b)Java System Protocol — JSP is a web-page (templating) technology, not a network protocol; no such term exists.
- (d)Java Server Protocol — The closest trap — the first two words are right, but JSP produces web PAGES, so it ends in 'Pages', not 'Protocol'.
JSP is one of Java's core web technologies (alongside Servlets). 'Server-side' means the page is assembled on the web server before it is sent to the browser — unlike client-side JavaScript, which runs inside the browser. Behind the scenes each JSP is compiled into a Java Servlet by a server such as Apache Tomcat.
The trap is the near-identical option (d) 'Java Server Protocol' — the same first two words. Anchor the last word: JSP generates web PAGES, so it must end in 'Pages'.
- JSP = JavaServer Pages — a server-side technology for building dynamic web pages
- Introduced by Sun Microsystems in 1999; part of the Java EE / Jakarta EE platform
- A JSP is translated and compiled into a Java Servlet by the server (e.g. Apache Tomcat)
- Server-side (built on the server) vs client-side JavaScript (runs in the browser)
- Browser requests a page
- Web server (e.g. Apache Tomcat) runs the JSP
- JSP is translated into a Java Servlet and executed
- HTML is generated and sent back to the browser
JSP works on the server side: it is compiled into a servlet that builds the HTML page delivered to the user.
- Picking (d) 'Java Server Protocol' — right start, wrong last word
- Assuming JSP is a protocol; it is a page/templating technology
MPPSC and other PCS papers love 'X stands for' full-form questions on IT acronyms. Learn each acronym word-for-word, because the distractors change only one word.
No directly related past PYQ was found.
- practice — not a real PYQ
Before it runs, a JSP file is converted by the web server into which of the following?
- (a)An HTML file
- (b)A Java Servlet
- (c)A CSS stylesheet
- (d)A database table
Answer(b) A Java Servlet — the server translates and compiles the JSP into a servlet.
- practice — not a real PYQ
JSP technology is used mainly to create:
- (a)Static desktop applications
- (b)Dynamically generated web pages
- (c)Computer operating systems
- (d)Antivirus software
Answer(b) Dynamically generated web pages.