Quantcast
Channel: S. Nageswara Rao, Corporate Trainer – Way2Java
Viewing all articles
Browse latest Browse all 505

Java Made Clear: Can we write constructor in Servlet Example

$
0
0
Yes, you can have as per rule. It is executed even before init(). Then why generally we avoid constructor in Servlets. First let us write one simple example and see it is true or not; then we will go into details. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 […]

Viewing all articles
Browse latest Browse all 505

Trending Articles