Search:

Type: Posts; User: namhm; Keyword(s):

Search: Search took 0.02 seconds.

  1. Replies
    3
    Views
    728

    Add the list of countries to the model and view...

    Add the list of countries to the model and view object:



    // constructs list of countries
    List<Country> countryList = new ArrayList<Country>();
    // populate countries...

    // add to model...
  2. There is no standard. You can have the Flash...

    There is no standard. You can have the Flash Builder on Windows, any build results in a WAR file which will be deployed on Linux server. That's the way my company used to update the application on...
  3. Hi, I think there is no direct way. A...

    Hi,

    I think there is no direct way. A workaround is using javascript in the popup window to submit the form of its parent window (opener):

    opener.document.getElementById('form').submit();
    ...
  4. Replies
    3
    Views
    433

    So why not write saveContract(Contract c, String...

    So why not write saveContract(Contract c, String env) where env is a session variable. Things would be simplified then.
  5. Replies
    2
    Views
    433

    Hi, another way is: ModelAndView mav = new...

    Hi, another way is:

    ModelAndView mav = new ModelAndView("redirect:/totheNextControlllerURL.do");
  6. Sorry, I am not sure what do you mean "multi...

    Sorry, I am not sure what do you mean "multi controller in JSP". Do you mean there are some buttons in the JSP page and each button needs to call a separate controller? Please explain.
  7. There is no limitation on how many controllers in...

    There is no limitation on how many controllers in one JSP page. Also there is no such term, "Controller in page". I think you want to have your JSP page calls multiple controllers, right?



    ...
  8. Replies
    3
    Views
    329

    Hi, How did you struggle to find an answer...

    Hi,

    How did you struggle to find an answer yourself?

    Did you take a look at Spring components here: http://www.springsource.org/projects ?

    Obviously you will need Spring Framework, Spring...
  9. It's surely that you can have a controller...

    It's surely that you can have a controller handles multiple request patterns, or multiple controllers handles multiple requests. But you should not write your business logic in the Controller,...
  10. Spring is modularized, that means it is divided...

    Spring is modularized, that means it is divided into small, independent parts which may be only used if needed. Spring core contains the IoC container and fundamental stuffs, while the Spring Web MVC...
  11. Replies
    6
    Views
    1,790

    You're welcome. Did it solve your problem?

    You're welcome. Did it solve your problem?
  12. Replies
    3
    Views
    981

    I don't know how to achieve your goal by some...

    I don't know how to achieve your goal by some configuration in Spring, but technically it would be implemented by adding a request filter to the filter chain.
  13. Replies
    3
    Views
    981

    Hi, you may need to look at this...

    Hi, you may need to look at this.
    - If you really want to encrypt the URL parameters, you should use symmetric encryption.
    - If you just want to make the URL parameters look meaningless for the...
  14. Thread: Roo Case Study

    by namhm
    Replies
    12
    Views
    8,454

    Hi, That's an awesome case study! I am new to...

    Hi,
    That's an awesome case study!
    I am new to Roo and going to use it for my development.
    Thanks a bunch to Spring community.
  15. Replies
    4
    Views
    397

    Hi, I really don't understand what you meant. I...

    Hi, I really don't understand what you meant.
    I guess you are trying to get form field's values, right?
  16. Replies
    6
    Views
    1,790

    I remember the method must return a ModelAndView...

    I remember the method must return a ModelAndView object.
  17. Replies
    2
    Views
    393

    Hi, if you are new to Spring, you should learn...

    Hi, if you are new to Spring, you should learn the fundamental stuffs first, like the Container, XML/annotation configuration, etc. Then use separate Spring features to address your problem. Here is...
Results 1 to 17 of 17