can we override jspinit,jspdestroy,jspservice methods in our own jsps?

iam new to java.

iam now learning these topics.

can we override jspinit,jspdestroy,jspservice methods in our own jsps?

plz send me with explanation.

[180 byte] By [saayeea] at [2007-11-27 11:36:03]
# 1

Probably not. But in any case it would be a really bad idea to do that, so my advice would be to assume the answer is "NO" and go back to learning how to write JSPs.

DrClapa at 2007-7-29 17:06:26 > top of Java-index,Java Essentials,New To Java...
# 2

well, the JSP will become the content of the jspservice method.

So yes, you can override that one (in fact there's no way you will NOT override it when creating a JSP :) ).

But indeed, you should not even have the beginnings of any thought about "methods" or "overriding" anything when writing JSPs.

You should not in fact use a single line of Java code when writing them.

jwentinga at 2007-7-29 17:06:26 > top of Java-index,Java Essentials,New To Java...