Search:

Type: Posts; User: Maurício Linhares; Keyword(s):

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,003

    If you're mapping to a String[] a comma separated...

    If you're mapping to a String[] a comma separated list of values will work:



    <bean id="myProxy" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">
    ... other...
  2. No, you can't, if you want to use JSF, you have...

    No, you can't, if you want to use JSF, you have to stick with it as your controller.
  3. If the static variable is just a "singleton" it...

    If the static variable is just a "singleton" it shoudn't even exist, 'cos Spring can handle singletons natively.

    Do you really need a static variable? Why can't you just declare it as a singleton...
  4. Well, using URL will be really hard, 'cos your...

    Well, using URL will be really hard, 'cos your controller maps requests using URL mappings and if you change them you might get into trouble.

    But, if you want to try something different, the first...
  5. If it's a static variable you can't get it using...

    If it's a static variable you can't get it using the bean factory. Wrap it using a factory bean and then return the static object.

    You can find more about factory beans here: FactoryBean
Results 1 to 5 of 5