What is the role played by JSP in the mvc architecture
Skill/topic: JSP thread modela) modelb) viewc) controllerd) none of the above
Skill/topic: JSP thread modela) session attributeb) servlet context attributec) session listenersd) servlet context listeners
A
SessionBindingListeners also known as session listeners
Which of the following statement is true about servlet chaining (multiple choice)
Skill/topic: servletsa) it is the process of chaining the output of one servlet to the anotherb) need to do special configuration in the Java web servers for this process to run.C) this concept has been removed from the standard application for servlets.D) none of the above
They handle concurrency issue.
Servlet chaining is a technique in which two or more servlets can cooperate in servicing a single request. In servlet chaining, one servlets output is piped to the next servlets input. This process continues until the last servlet is reached. Its output is then sent back to the client.
Which of the following statements is true about JSP tag library?
Skill/topic: programming constructsa) it defines the standard tag that works the same everywhere b) it is a single library and we can use it in multiple JSP containers c) it has support for the common structural tasks like iteration and condition. d) all of the above
D) All of the above
D)All of the above.
Fill in the blanks -- ________________ is used to call other servlet or JSP from the current servlet
Skill/topic: servletsa) requestdispatcherb) responsedispatcherc) servletinvokerd) none of the above
RequestDispatcher
RequestDispatcher
What tools can be used to generate the multiple views in JSP
Skill/topic: fundamentalsa) xalan-j b) saxon c) jdk1.5 d) none of the above
B) Saxon
saxon
How to install tomact?
download latest Apache tomcat and install. and set the path for that in environment variables. and deploy the project and stat up the server.
Calling of which of the following method causes unpredictable results in the servlet.
Skill/topic: servletsa) dopost()b) doget()c) system.Out.Println()d) system.Exit(0);explanation: might close down the entire server.
System.exit(0);
Which of the following correctly defines JSP technology
Skill/topic: fundamentalsa) JSP page is a text-based document that describes how to process a request to create a response. B) JSP page is a text-based document that describes how to process a to response create a request. C) JSP page is a XML-based document that describes how to process a request to...
Ans) A) JSP page is a text-based document that describes how to process a request to create a response.
A) JSP page is a text-based document that describes how to process a request to create a response
To show money format on the JSP page we use __________ class
Skill/topic: programming constructsa) airthmaticformat b) currencyformat c) numberformat d) stringbuffer
The answer is option 2
number format
ans = c
To implement single thread model container use instance pooling in this approach several instances of same servlet are stored in a pool and the instances are allocated to the incoming client requests,...
It is one of the service provided by EJB Container. It is pool of instances, which is ready to use. Instance pooling reduces the number of component instances, and therefore resources, needed to servi...
How to upload files to database using JSP?
What is JSP attribute?
What is the difference between a uri and a url?
A URI identifies a resource either by location, or a name, or both. Whereas A URL is a specialization of URI that defines the network location of a specific resource.
The idea is that a URL is a mechanical link to a resource's location, where it can be downloaded. For this reason, a URL contains a hostname and a local part, all of which can be resolved anywh...
Connect crystal repot to JSP application
How to connect crystal report to JSP application?
How to print a text file in Java script?
How to download .Doc through JSP?
Java web application project issue
Hi,actually I m doing my project on Java, its a web application project.I am generating the reports from JDBC. But the requirement is it should has to print in the form of ms-excel. I used the poi API but I m not getting it out. Can u help me please....
Mr. Vijay. I didn't undestand your query properly. I am assuming your problem like this you want your output in the form of excel sheets I mean like a table. Yes it is possibleFirst of ...
Java server pages specification includes (multiple choice)
Skill/topic: programming constructsa) script language declarations, scriplets and expressions. B) JSP standard actions. C) JSP standard directivesd) a portable tag extension mechanism.
C) JSP Standard Directives
Script language declarations, scriplets and expressions.
JSP is mostly used to develop the user interface, It plays are role of View in the MVC Model.
Jsp acts as View in MVC