GeekInterview.com
Series: Subject: Topic:

JSP FAQs

Showing Questions 1 - 20 of 199 Questions
First | Prev | | Next | Last Page
Sort by: 
 | 

What is the role played by JSP in the mvc architecture

Asked By: Interview Candidate | Asked On: Dec 10th, 2005

Skill/topic: JSP thread modela) modelb) viewc) controllerd) none of the above

Answered by: priyanka ninama on: May 2nd, 2013

JSP is mostly used to develop the user interface, It plays are role of View in the MVC Model.

Answered by: Jyothi on: Nov 8th, 2012

Jsp acts as View in MVC

These ______________listeners are notified when attributes are added to, removed from, or replaced in any session.

Asked By: Interview Candidate | Asked On: Dec 10th, 2005

Skill/topic: JSP thread modela) session attributeb) servlet context attributec) session listenersd) servlet context listeners

Answered by: phamduoc on: Dec 25th, 2012

A

Answered by: Khurram on: Jun 24th, 2006

SessionBindingListeners also known as session listeners

Which of the following statement is true about servlet chaining (multiple choice)

Asked By: Interview Candidate | Asked On: Dec 10th, 2005

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

Answered by: anagha atkari on: Oct 14th, 2012

They handle concurrency issue.

Answered by: vaibhav on: May 13th, 2006

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? 

Asked By: Interview Candidate | Asked On: Dec 10th, 2005

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

Answered by: An on: May 3rd, 2012

D) All of the above

Answered by: rajamuna on: Apr 5th, 2006

D)All of the above.

Fill in the blanks -- ________________ is used to call other servlet or JSP from the current servlet

Asked By: Interview Candidate | Asked On: Dec 10th, 2005

Skill/topic: servletsa) requestdispatcherb) responsedispatcherc) servletinvokerd) none of the above

Answered by: loc on: Mar 25th, 2012

RequestDispatcher

Answered by: PALAGANI.GOPIKRISHNA on: Feb 27th, 2012

RequestDispatcher

What tools can be used to generate the multiple views in JSP 

Asked By: Interview Candidate | Asked On: Dec 10th, 2005

Skill/topic: fundamentalsa) xalan-j b) saxon c) jdk1.5 d) none of the above

Answered by: Rahul on: Dec 29th, 2011

B) Saxon

Answered by: akabhilash on: Jan 26th, 2009

saxon

Install tomact

Asked By: alkkumar531 | Asked On: Jan 4th, 2009

How to install tomact?

Answered by: ravitejareddy on: Aug 18th, 2011

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.

Asked By: Interview Candidate | Asked On: Dec 10th, 2005

Skill/topic: servletsa) dopost()b) doget()c) system.Out.Println()d) system.Exit(0);explanation: might close down the entire server.

Answered by: balu2009 on: Jul 21st, 2009

System.exit(0);

Which of the following correctly defines JSP technology

Asked By: Interview Candidate | Asked On: Dec 10th, 2005

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...

Answered by: MANISHA PATHAK on: Oct 26th, 2006

Ans) A) JSP page is a text-based document that describes how to process a request to create a response.

Answered by: Pardhas on: Aug 13th, 2006

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 

Asked By: Interview Candidate | Asked On: Dec 10th, 2005

Skill/topic: programming constructsa) airthmaticformat b) currencyformat c) numberformat d) stringbuffer

Answered by: vidyadhar74 on: Jan 21st, 2011

The answer is option 2

Answered by: ramanareddy333 on: Jun 27th, 2007

number format

ans  = c

What is instance pooling ?

Asked By: sateesh | Asked On: Feb 3rd, 2006

Answered by: Deepak agnihotri on: Nov 30th, 2010

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,...

Answered by: Kumarakuru on: Feb 10th, 2006

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...

Upload files to database

Asked By: Nusraths9 | Asked On: Oct 29th, 2010

How to upload files to database using JSP?

JSP attribute

Asked By: ramu.maloth5 | Asked On: Aug 26th, 2010

What is JSP attribute?

What is the difference between a uri and a url?

Asked By: Suresh | Asked On: Nov 9th, 2005

Answered by: rishimasurkar on: Jul 6th, 2010

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.

Answered by: jpjitendrapal on: Oct 19th, 2008

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

Asked By: kunal1903 | Asked On: Jun 21st, 2010

How to connect crystal report to JSP application?

How to print a text file in Java script?

Asked By: vimal | Asked On: Jan 3rd, 2006

Answered by: rubin2008 on: May 16th, 2010

For printing file of  content type you can use window.print() statement in javascript

Answered by: rubin2008 on: Feb 1st, 2010

You can print a text file in javascript using window.print() statement

File download

Asked By: skabdus | Asked On: Apr 30th, 2010

How to download .Doc through JSP?

Users count

Asked By: dayireddy | Asked On: Dec 14th, 2009

How to count the number of users who logged on to a website?

Answered by: inthiyaj on: Apr 25th, 2010

By using Session listener class we can count no. of hits to application.

Java web application project issue

Asked By: vijaySaradhi | Asked On: Feb 27th, 2006

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....

Answered by: lakshmi.sfware on: Apr 20th, 2010

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)

Asked By: Interview Candidate | Asked On: Dec 10th, 2005

Skill/topic: programming constructsa) script language declarations, scriplets and expressions. B) JSP standard actions. C) JSP standard directivesd) a portable tag extension mechanism.

Answered by: baranikutty on: Feb 28th, 2010

C) JSP Standard Directives

Answered by: snavanethakrshnan on: Aug 12th, 2008

Script language declarations, scriplets and expressions.

First | Prev | | Next | Last Page

 

 

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Ads

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.