• 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

how to defrost the Configuration

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

I am trying to chance the scope of the ActionMappping in the action class and then I encounter this error.



how do i get about this error, is there any other way of changing the scope in the action class.


Thanks,
Shankar
[ August 30, 2004: Message edited by: Shankar Narayana ]
 
Ranch Hand
Posts: 415
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi shankar

See i will tellu one thing...the struts-conifg.xml is static mean u cant change the contents of that file in anyway like changing the scope,paramwter,input.......u cant do this through ur java code........bcoz once the config file is loaded on the startup the ActionConfig will set a flag and if u try using setScope it chekcs for that flag and will throw error
..........but u may have aone doubt then whats the purpose of providing that setMethod thast because the parser will use that set method to parse the config file
 
reply
    Bookmark Topic Watch Topic
  • New Topic