GeekInterview.com
Submitted Questions

I get the following error while running a servlet that connects with database.Required:Java.Sql.Connectionfound:connectionthe line is connection con = drivermanager.Getconnection("here the Oracle datasource...

Asked By: mythilikumar | Asked On: Apr 4th, 2006

Answered by: kiranbanala on: Apr 16th, 2006

probabilly classes12.jar file is not there in case of oracle in tomcat shared / lib folderin case of some other database copy its jar filesfor mysql copy mysql-connector-java-3.1.8-bin

Answered by: Preeti Yadav on: Apr 5th, 2006

wht do u mean by: before installing Tomcat, the code gave no error, how were u executing the code prior to tomcat?The common steps are listed for cross-confirmation.Load the driver thru: Class.forName...

What is thin driver and thick driver. Why it is called so?

Asked By: mythilikumar | Asked On: Apr 4th, 2006

Answered by: prakash reddy on: Apr 21st, 2008

major differences the number layers present between the java application and database

Answered by: asmita das on: Sep 7th, 2006

thick driver - type 1 and type 2 JDBC drivers are called thick drivers. The reason for it is - it provides JDBC access via ODBC drivers. ODBC binary code, and in many cases, database client code, must...

What is purpose of JSP forward method

Asked By: mythilikumar | Asked On: Mar 31st, 2006

A.Forward control to another resource available in the same web application on different containerb.Forward control to another resource available in the diff web application on different containerc.Forward control to another resource available in the same web application on same containerd.Forward control...

Answered by: sandy25mca on: May 26th, 2006

jsp forward does 3 things:

1. Control goes to forwarding jsp page and comes back.

2. Not include the content of orignal page.

3. Request object remains alive during further processing...

Answered by: raja sekhar on: Apr 19th, 2006

it also terminates the data that is provided by the calling part ie the previous output

How to solve this error "http status 500"?

Asked By: mythilikumar | Asked On: Mar 31st, 2006

--------------------------------------------------------------------------------type exception reportmessage description the server encountered an internal error () that prevented it from fulfilling this request.Exception Java.Lang.Nullpointerexception org.Apache.Catalina.Manager.Htmlmanagerservlet.List(htmlmanagerservlet.Java:423) org.Apache.Catalina.Manager.Htmlmanagerservlet.Doget(htmlmanagerservlet.Java:161) Javax.Servlet.Http.Httpservlet.Service(httpservlet.Java:743) Javax.Servlet.Http.Httpservlet.Service(httpservlet.Java:856)note...

Star Read Best Answer

Editorial / Best Answer

Answered by: murali

Answered On : May 17th, 2006

NullPointer Exception is a typical exception thrown when you tries to set incompatible datatypes without casting them

Answered by: Mikin R Patel on: Jul 20th, 2011

you r absolutely right bro......Murali
it may sometimes happen that time "When you connect text file to retrieve data from it..sometimes connection could not established or may not open" and can not initialize CONTEXT PARAMETER from file in Servlet programing

Answered by: Saroj on: Aug 24th, 2006

I m getting so many times "this" error along with "The server encounter an error() that prevented it from fulfilling this requirement...So would u please tell how to solve this.

How many pairs of letters are there in the word forgotten which have as many letters between them in the word as in the alphabet

Asked By: mythilikumar | Asked On: Mar 31st, 2006

Answered by: meenuinfo on: Jun 2nd, 2008

six

Answered by: venky_vision2020 on: May 14th, 2008

I din't understand the Question properly. Can anyone explain it

Why and where cloning required in Java

Asked By: mythilikumar | Asked On: Mar 22nd, 2006

Answered by: chandra on: Mar 25th, 2006

if you required creating bitwise exact copy of an object you can use cloning

Answered by: Ashok babu on: Mar 25th, 2006

 Cloning is only method by which we can create object to an object.

Tomcat is a servlet container or server application.

Asked By: mythilikumar | Asked On: Mar 22nd, 2006

Answered by: srinivas.g on: Jul 25th, 2006

tomcat is servlet or jsp container only.not the application

inorderto work with tomcat we haveto set the classpath to servletapi.jar

Answered by: khalil.mca@gmail.com on: Apr 30th, 2006

Tomcat is a servlet container or server Applicatio...

Whats the dfferende between applet and japplet

Asked By: mythilikumar | Asked On: Mar 17th, 2006

Answered by: sivanesh.a on: Dec 4th, 2006

Applet - works slower, heavy weight component,JApplet - faster, light weight component.

Answered by: suresh.bandlamudi on: Mar 20th, 2006

applet contain native methods(developed inc,c++) and is in awt package and it doesnot provide good look and feel

JApplet contain methods which are developed in java only it provide great look and feel

Interview Question

 Ask Interview Question?

 

Career Counselling

 Have Career Question?

 Ask Chandra

 Ask Only Career questions.

Follow us: