Param
Thanks for your help but i m still having problem
My material for SCJP (2008), SCWCD (2010), SCBCD (2010). About me
shaz baluch wrote:... what I want is as by pressing the button(with empty field) i should get the message "fill all the fields and request should again moves to same jsp (addSession)
and again ask to enter data.
SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
shaz baluch wrote:Oh sorry for that!
Actually the problem which i m facing is that with empty text boxes when i press the submit button in jsp( that is for saving the data in database),the servlet forwards the exception as 'for input string:""'. what I want is as by pressing the button(with empty field) i should get the message "fill all the fields and request should again moves to same jsp (addSession)
and again ask to enter data.
I hope now it is clear to all
My material for SCJP (2008), SCWCD (2010), SCBCD (2010). About me
shaz baluch wrote:...but is there any way to resolve that by servlet?
SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
Author of ExamLab - a free SCJP / OCPJP exam simulator
What would SCJP exam questions look like? -- OCPJP Online Training -- Twitter -- How to Ask a Question
My material for SCJP (2008), SCWCD (2010), SCBCD (2010). About me
shaz baluch wrote:ok means that if i m using the catch block and displaying the exception.....
Author of ExamLab - a free SCJP / OCPJP exam simulator
What would SCJP exam questions look like? -- OCPJP Online Training -- Twitter -- How to Ask a Question
Don't get me started about those stupid light bulbs. |