Search:

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

Search: Search took 0.02 seconds.

  1. java.awt.Desktop.getDesktop().browse() Not Opening New Browser Window

    Hello,

    I'm trying to open a new browser window from within my Spring Application:




    String url = "http://www.google.com/";
    java.awt.Desktop.getDesktop().browse(java.net.URI.create(url));
  2. Replies
    0
    Views
    353

    OnSubmit method not returning correct View

    Having an issue with a controller not returning the correct view. Instead, it just goes back to the original view.

    Here is the handleRequest:



    public ModelAndView...
  3. Thanks for the reply but I got to work! Here's...

    Thanks for the reply but I got to work!
    Here's what I did:



    <td align=left height="45"><form:input path="myList[${loopStatus.index}]"/></td>
  4. Looping through a List of String in the Form Backing Object using form:input

    Hello,

    I have a Form Backing Object with a List of String that I want to populate from the view from within a table. The size of the List has already been set, so that I should be seeing as many...
  5. Hi p782, thanks for the reply but...

    Hi p782,

    thanks for the reply but unfortunately it still does not work!
    If I try with your code I get submit buttons with "Populate_${script.index}" on them but with not the correct behavior. The...
  6. Binding data from the view to the Form Backing Object

    Hello all,


    I have the following jsp page that populates a table and inserts a radio button (one per row). Upon form submission the value of the selected radio button, which represents an index,...
  7. Replies
    0
    Views
    462

    Passing bean reference to the view

    Hello!

    I'm new to Spring and this might be the wrong way to do it, but here it goes. I have a bean, newUser, that I added to the myModel hashMap, which will be passed to the view like this:
    ...
Results 1 to 7 of 7