my dog learned polymorphism
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


Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
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
 
Don't get me started about those stupid light bulbs.
 
subject: access modifier
 
It's not a secret anymore!