Search:

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

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    781

    Problem Running in JOB

    When I am running my job I am getting following error.

    org.springframework.dao.DataAccessResourceFailureException: Could not obtain identity(); nested exception is java.sql.SQLException:...
  2. In my case, I have passed the data to view...

    In my case, I have passed the data to view through XML and using javascript I have populated the values.
    So I am not sure how <spring:bind> will behave.
    But <c:forEach> may help you to iterate...
  3. Spring will return comma seperated values for the...

    Spring will return comma seperated values for the Form fields which are having same name.

    and if you want, you can create your own property editor which can convert this csv to List.

    Code...
  4. Replies
    8
    Views
    1,373

    I would not suggest to have different controller...

    I would not suggest to have different controller just for sorting. I will suggest you send the sorting order(ASC/DESC) to your itemController and get sort result from database on that basis.


    I...
  5. ] I think syntax to be used is like

    ]
    I think syntax to be used is like
    <input type="text" id="file" name="<c:out value="${status.expression}" />"/>
  6. Replies
    8
    Views
    1,489

    I agress with Arthur

    I agress with Arthur
  7. Replies
    8
    Views
    1,489

    Hi slavkman, I think...

    Hi slavkman,

    I think ServletRequestUtils.getRequiredStringParameters is returning array of array in your case.
    just try
    getService().getQuery(numbers[0]);
    instead of...
  8. Replies
    0
    Views
    797

    Sending Image to Client

    Hi,
    I am using SimpleFormController. I want to display an image in applet but When I tried to write the image stream into the response, we got “stream already in use” exception. Can anybody...
  9. Replies
    4
    Views
    2,123

    It worked

    Thanks a Lot for your kind help.
  10. Replies
    4
    Views
    2,123

    Please Clarify more

    Thanks for reply.
    Can you please be more clear on this

    I am not referencing "tranmission-scheduler.manager" any where.
    I am pasting more of my xml entries to make things more clear....
  11. Replies
    4
    Views
    2,123

    BeanNameAutoProxyCreator Error

    When I using BeanNameAutoProxyCreator in my code I am getting following error
    =========================================
    org.springframework.beans.factory.BeanCreationException: Error creating bean...
  12. Replies
    0
    Views
    745

    Data Connection Pool Problem

    Hi,
    I am not sure whether its right forum to put this question. But being we are using Spring I am going ahead.
    In our application we are having two database connection pool, one for Web...
  13. Replies
    1
    Views
    919

    Upgradation to Spring 1.2.6

    Hi,
    Currently my web application is on Spring 1.1.2, I want it to upgrade to Spring 1.2.6. Can anybody tell me what are changes has been brought in between these two versions.
    Or please let me know...
  14. Thread: JdbcTemplate

    by tanmay
    Replies
    6
    Views
    1,373

    Hi Rod, Is it mandatory to define...

    Hi Rod,
    Is it mandatory to define transaction for db connection? As in my application we are facing db connection lock problem and there is part of code where transactions has not been defined...
  15. Thread: JdbcTemplate

    by tanmay
    Replies
    6
    Views
    1,373

    JdbcTemplate

    I am having a simple question regarding jdbcTemplate.
    Will it automatically releases connection back to pool?
    Or do we have to use some transaction interceptors or some thing like that.

    I have...
  16. Before onSubmit(.....) validator is called then,...

    Before onSubmit(.....) validator is called then, and on success it passes request to onSubmit(......). In your code try to remove "setValidateOnBinding(true)", may be this will solve your problem.
    ...
  17. Replies
    1
    Views
    679

    Follow this link it will clear your query ...

    Follow this link it will clear your query

    http://www.springframework.org/docs/reference/mvc.html#mvc-viewresolver-resolver
  18. Replies
    1
    Views
    702

    DATA ACCESS ERROR

    Document dom = IRXmlDef.initDocument();

    irMqry.setResultDocumentTemplate(dom);
    irMqry.execute(docId);
    // check to see if there any data retrieved, otherwise we may need to...
  19. Replies
    1
    Views
    1,610

    JDBCTemplate Performance issue

    Hi,
    I am using Spring's JDBCTemplate to interact with database. We are going through performance tuning phase of our project. We are having few queries if we run them directly on SQLplus there...
  20. Hi, Thanks for your response. As per your...

    Hi,
    Thanks for your response. As per your request i am putting stack trace. Actually we have left connection management on Spring, but some how connections are not released back to database....
  21. org.springframework.jdbc.CannotGetJdbcConnectionException

    Hi,
    We are using springframework and in our QA and stagging environment we are getting org.springframework.jdbc.CannotGetJdbcConnectionException:
    and...
Results 1 to 21 of 21