Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > JSP Method Naming Convention

Reply
Thread Tools

JSP Method Naming Convention

 
 
Buck Turgidson
Guest
Posts: n/a
 
      03-02-2004
Probably a silly question, but is there a significance to the underscore in
the method _jspService()? The other methods in a servlet generated from a
JPS are jspInit() and jspDestroy. Does the underscore signify something
meaningful?


 
Reply With Quote
 
 
 
 
P.Hill
Guest
Posts: n/a
 
      03-02-2004
Buck Turgidson wrote:
> Probably a silly question, but is there a significance to the underscore in
> the method _jspService()?


Dating back many decades to usage in other languages including C, underscores
usually indicate 'internal' names. Name you shouldn' mess with. Such a name
looks good, but they might change the name next time they re-write the
JSP transation tool.

-Paul


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
About method naming convention with "!" Paul A. Ruby 2 06-27-2010 09:52 PM
while executing my client program i get the exception javax.naming.LinkException: [Root exception is javax.naming.LinkException: [Root exception is javax.naming.NameNotFoundException: remaining if plz anybody know how to solve this problem then mahesh Java 0 03-08-2007 12:26 PM
Method naming convention required Xagyg Java 31 10-26-2006 04:22 AM
WS C3550 naming convention question frishack@gmail.com Cisco 2 02-23-2005 07:29 PM
Which c# naming convention? Rick ASP .Net 1 01-19-2004 11:42 AM



Advertisments