Search:

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

Search: Search took 0.03 seconds.

  1. i want to edit a field of a data base after...

    i want to edit a field of a data base after displaying it!
    i added a new controller for that
    i want to show the data of the selected line(to edit) when editing!
    i can not render the information...
  2. spring portlet MVC, is not a lot diffrent from...

    spring portlet MVC, is not a lot diffrent from spring web MVC; it inherites the whole of its functions and they are all used normally with spring portlet!!!
    thank you so much , i will focus on this...
  3. you are right , it's the first time that i use...

    you are right , it's the first time that i use spring!!
    so, can u please tell me what to put in MyCommandObject? i can access the 2 dates via request.getParameter("start_date")
    I don't understand...
  4. Replies
    12
    Views
    1,876

    hello did u succeed to do a validator to...

    hello
    did u succeed to do a validator to compare the 2dates with spring? i want to do the same thing! so if anyone can help; i will b so grateful!
  5. can any one tell me how to use the Validator of...

    can any one tell me how to use the Validator of spring to set a DateValidator comparing the 2 dates??
    :confused:
  6. I have another question: how can i do a check on...

    I have another question:
    how can i do a check on the 2 dates, compare them to be sure that from date is before to date???
    do i use validators? how?
    or do i use javascript?
  7. Thank u everyone, it's working now!

    Thank u everyone, it's working now!
  8. Do i need to define the controller as a...

    Do i need to define the controller as a SimpleFormController, or an AbstractController can do the job for me???
  9. my problem; is that...

    my problem; is that "request.getParameter("start_date") , render a String but i need to render the dates!!!
    what shall i do?
  10. thank you but i have already done this; look at...

    thank you but i have already done this; look at my new EDao (i rename it ErrorDAO) :



    package dao;

    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.util.Collection;...
  11. I don't really understand the third point : 3)...

    I don't really understand the third point :
    3) From your controller acess this method eDao.myMethod(start_date, end_date) passing in the parameters from the HttpServletRequest

    that's really my...
  12. i am using a portlet and not a servlet!

    i am using a portlet and not a servlet!
  13. this is how do the controller communicate with...

    this is how do the controller communicate with the DAO class :


    <bean id="newController" class="controller.newController">
    <property name="cacheSeconds" value="120"/>
    <property...
  14. i am accessing the database within a bean...

    i am accessing the database within a bean DataSource
    I implement a class named EDAO:


    package dao;

    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.util.Collection;...
  15. but i am getting the 2 parameters in the...

    but i am getting the 2 parameters in the controller via
    " request.getParameter(Start_date) "
    so i don't see how can i use these 2 dates as parameters to the method :
    myMethod(Date fromDate, Date...
  16. how to pass parameters to a query in JdbcTemplate.?

    Hello everyone
    Iam working with Spring Portlet MVC.
    here is my problem, i 'm writing a portlet that connects to a database ,do a select from it and displays the result!
    i want the user to choose 2...
  17. thanks

    Good morning
    Thank you for your help! i already got the solution! i had to create a hashMap and put the results inside.
    any way thank you
  18. Displaying the result of a query in a jsp page via AbstractController

    Hello everybody
    I am getting started with Spring 2.0.7 , i have to develop an application that displays results from an Oracle datebase in a portlet via JSP!
    i successfully, connected to the data...
  19. Displaying the result of a query in a jsp page via AbstractController

    Hello everybody
    I am getting started with Spring 2.0.7 , i have to develop an application that displays results from an Oracle datebase in a portlet via JSP!
    i successfully, connected to the data...
Results 1 to 19 of 19