• Post Reply Bookmark Topic Watch Topic
  • New Topic

jspService method  RSS feed

 
ALaxmi Shankaran
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If the scriptlet part in the jsp get included in the service method by the jsp container while making the implementation class, and if i will try to include that in the scriptlet then what will happen??
Will it give any runtime error or else???
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66153
146
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since the _jspService method is a public method, nothing will prevent you from calling it from a scriptlet. Nothing prevents you from hitting yourself in the middle of the forehead with a hammer either. Why would you want to do either of these?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!