>>> balwinder singh <[EMAIL PROTECTED]> 22-Apr-01 1:42:12 AM >>>

>I am new to this group but I am enjoying this
>group like anything.

Good. I hope you stay and become an expert.


>A BIG * THANX * for your BRILLIANT answer.

Thank you... it's always nice to have feedback.


>But I doubt where u say:

"Of course, his code won't compile anyway, because
 he hasn't supplied a no-arg constructor. If he gets it to
 compile (by calling super() in his cons) then it won't load
 in the servlet engine because there is no no-arg constructor"

>But The code compiles actually ,but when we open it
>in Browser it throws Exceptions.

That's most odd... I have just tried it with javac and with jikes and
neither report an error...

It must be my mistake and I apologise. I thought that the language
spec ensured that constructors matched super class constructors. But
since neither compiler reports an error perhaps it doesn't... I will
check at some point.


The code fails with an exception because the servlet engine cannot
load it (because there isn't a no-arg cons).


Nic

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to