• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

regarding the LocaleAction ....

 
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I am writing a program in which i want to extend the LocaleAction class

( of org.apache.struts.actions.LocaleAction ) but i am not finding the class

in the above mentioned package ..

I am using eclipse and adding the struts capabilities to my project ..
but the class is not showing in struts.jar file .why?

is the class in struts 1.1 ? or i have to use the new version ?

please help me..

Thanks in advance
Vinay Rajnish
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by vianyrajnish rajnish:
I am writing a program in which i want to extend the LocaleAction class. is the class in struts 1.1 ? or i have to use the new version ?


Firstly, the LocaleAction class was added In version 1.2.4, so if you want to use it, you'll have to upgrade.

Secondly, even if you do upgrade, you won't be able to extend LocaleAction because it's declared as final.

If you want to stay with Struts 1.1, I'd suggest you just download the source code for one of the later versions, look at what they've written for LocaleAction, and use that as a basis for writing your own LocaleAction class.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic