Search:

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

Search: Search took 0.01 seconds.

  1. Where did the replyChannel go in the MessageChannelPartitionHandler bean?

    We're attempting to use remote partitioning in our batch jobs. All of the examples that we have seen set the "replyChannel" property on the MessageChannelPartitionHandler bean. However, we receive...
  2. I would keep ehcache.jar in your application's...

    I would keep ehcache.jar in your application's WEB-INF/lib directory.

    Try adding antiResourceLocking to your context.xml file:


    <Context antiJARLocking="true" antiResourceLocking="true" />
  3. Replies
    45
    Views
    91,615

    I wonder if this Q&A from Tomcat's FAQs is the...

    I wonder if this Q&A from Tomcat's FAQs is the same issue...

    http://tomcat.apache.org/faq/deployment.html

    Q. Why does the memory usage increase when I redeploy a web application?

    A. ...
  4. Replies
    1
    Views
    2,748

    Try this (Spring 2.0 RC2): public long...

    Try this (Spring 2.0 RC2):


    public long insertImage(final ImageDescriptor image)
    throws DataAccessException {

    String sql = "INSERT INTO image "
    ...
  5. Replies
    14
    Views
    2,859

    I'm not commenting on which method is better, but...

    I'm not commenting on which method is better, but it is possible to have a high-volume site that stores images in the database. Terraserver stores its images in a database.

    ...
  6. Replies
    4
    Views
    1,182

    Maybe these other threads will help? ...

    Maybe these other threads will help?

    Multi-threading datasources and "select last_insert_id& at
    http://forum.springframework.org/showthread.php?t=17172

    and

    Best practices for using...
  7. Replies
    0
    Views
    4,274

    Best practices for using KeyHolder?

    I insert an Address object into a database using the JdbcTemplate. After Spring 2.0 RC1, I could no longer use
    jdbcTemplate.queryForLong("SELECT LAST_INSERT_ID()") to reliably retrieve the last...
  8. I looked at preserving dynamically built forms,...

    I looked at preserving dynamically built forms, and I believe that the problem with losing dynamic fields is not an issue with Spring. Even a dynamic form that is not in the Spring container will...
  9. I'm not sure if this is the problem, but are you...

    I'm not sure if this is the problem, but are you using the method, "showForm(...)", rather than the "formBackingObject(HttpServletRequest request)" method of the SimpleFormController?

    That might...
  10. Replies
    16
    Views
    10,254

    I wrote my own function to trim out rows that...

    I wrote my own function to trim out rows that were deleted using JavaScript:

    public class InsertPurchaseSaleController extends SimpleFormController {
    protected ModelAndView onSubmit(Object...
  11. Replies
    16
    Views
    10,254

    With Spring 2.0-M5, I believe that the binding...

    With Spring 2.0-M5, I believe that the binding will happen automatically if you use an ArrayList, instead of an array, in your bean class. You also won't have to worry about an index out of bounds...
  12. Replies
    8
    Views
    1,246

    cactus test for a JSP page

    If you decide to go with Cactus, then the attached file may help to get you started.

    I don't know XPath, so I'm not sure if the file will help, but it demonstrates how you can get a DOM view of...
  13. Replies
    3
    Views
    3,715

    The API for Spring 2.0.x gives an example for...

    The API for Spring 2.0.x gives an example for using RowMapperResultSetExtractor. The example is

    List userResults = jdbcTemplate.query(

    "select * from user where id=?", new Object[] {id},
    new...
Results 1 to 13 of 14