| Author |
not able to call the class file?
|
Punit Jain
Ranch Hand
Joined: Aug 20, 2011
Posts: 902
|
|
here is my jsp code:
my servlet code to insert into dbs:
here is my class file that is in default/same package in which my servlet is:
Question:-
Why my class file is not calling by my servlet, i mean "hello" is not printed on the browser while i m inserting data, can anyone help me in this please??
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26184
|
|
System.out.println prints to system out which is a console or log file somewhere on your server. It is not the browser.
Also note that it is traditional for class names to begin with an uppercase letter in Java.
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26184
|
|
Punit Jain, Your post was moved to a new topic.
|
 |
 |
|
|
subject: not able to call the class file?
|
|
|