JSP Interview Questions
Questions Answers Views Company eMail

How can I implement a thread-safe jsp page?

535

How do you pass control from one jsp page to another?

510

Can I stop jsp execution while in the midst of processing a request?

563

Can you make use of a servletoutputstream object from within a jsp page?

529

Why is _jspservice() method starting with an '_' while other life cycle methods do not?

519

How do you delete a cookie within a jsp?

567

How can my application get to know when a httpsession is removed?

553

What happens when a page is statically included in another jsp page?

563

A jsp page, include.jsp, has a instance variable "int a", now this page is statically included in another jsp page, index.jsp, which has a instance variable "int a" declared. What happens when the index.jsp page is requested by the client?

662

What are the two kinds of comments in jsp and what's the difference between them ?

547

How do I mix jsp and ssi #include?

561

What information is needed to create a tcp socket?

519

What are stored procedures? How is it useful?

514

How can I enable session tracking for jsp pages if the browser has disabled cookies?

534

How do you prevent the creation of a session in a jsp page and why? What is the difference between include directive & jsp:include action?

566


Post New JSP Questions

Un-Answered Questions { JSP }

What are the directives in jsp?

464


Why are jsp pages preferred for creating web-based client program?

533


What is the need of jsp?

510


How do you delete the session data?

527


What are action tags?

503






What do you know about pagecontext and what are the advantages of using it?

552


Tell us about the jsp life cycle methods.

507


Can we override jsp service method?

489


Is it possible to share an httpsession between a jsp and ejb? What happens when I change a value in the httpsession from inside an ejb?

519


What is pagecontext jsp?

527


Explain the advantages in jsp?

533


What is a declaration statement?

497


What is jsp page?

537


How to retrieve warnings?

528


When i am useing useBean tag of JSP in weblogic server It show compiletion error..Like bad class file: C:\bea\user_projects\domains\Mahesh\applications\UseBean\WEB-INF\classes\user\UserData.class class file has wrong version 49.0, should be 48.0 Please remove or make sure it appears in the correct subdirectory of the classpath. user.UserData user1 = null; //[ /SaveName.jsp; Line: 4]

1742