aspose file tools*
The moose likes Struts and the fly likes access modifier Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "access modifier" Watch "access modifier" New topic
Author

access modifier

sunitha hari
Greenhorn

Joined: Nov 23, 2005
Posts: 1
Hi

i am new to struts.
my doubt is
execute method in Action class in not allowing me to give access modifier to String var's , it giving me the error
Illegal modifier for argument name , only final is permitted.

can any one plz tell me why it's only final not public or private.

Thanks in advance
Sunitha Hari
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: access modifier