Search:

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

Page 1 of 3 1 2 3

Search: Search took 0.03 seconds.

  1. How to access the HttpRequest object during validation

    Hello,

    Is it possible to access the HttpRequest object during validation when using Spring MVC 2.5?
    If so, how can I do this?

    thanks
  2. Errors with Hibernate 3.6.6 When No Internet Connection

    Hello,

    I am using hibernate 3.6.6 with Spring 3.03 in a web application and it works fine when I am connected to the internet. However, If I deploy the app on a server which is not connected to...
  3. Replies
    0
    Views
    560

    Problem Deploying App to JBoss 5.1

    Hello,

    I am not sure if this is a spring issue, but I am having some issues deployment my web application which uses spring 3.03, Hibernate and other libraries on to JBoss 5.1. It deploys fine on...
  4. Help Needed with AOP and Database Transactions

    Hello,

    I am having a problem with controlling when a transaction is committed in the situation below. I two services - Synchronization and DefaultProvisioning

    Synchronization calls methods on...
  5. Replies
    2
    Views
    2,775

    Problem using C3PO

    Hello,

    I am trying to switch my connection pool from dbcp to c3po and am having some problems connecting to my MySQL database. I have placed below my configuration and the error that I am getting....
  6. Replies
    1
    Views
    742

    Question about JPA and Persistence.xml

    Hello,

    I am starting to use JPA with Spring. Is it possible to set the connection information that is in the Persistence.xml file programmatically?

    In my case the connection parameters will be...
  7. Replies
    0
    Views
    388

    Handling Errors in a Form Controller

    Hello,

    I am using spring mvc 2.5.6. I am using the AbstractWizardFormController and have a validator that handles form error. However, there are cases where I need to handle errors in the...
  8. Replies
    4
    Views
    1,321

    This problem has been resolved. Thank you

    This problem has been resolved.
    Thank you
  9. Replies
    4
    Views
    1,321

    Hi, I have pasted below the full exception. ...

    Hi,

    I have pasted below the full exception. This problem seems to be isolated to this one class or related classes. I have several others that are working just fine.

    The reason for the two...
  10. Replies
    4
    Views
    1,321

    MappingException Unknown entity

    Hello,

    I am using Spring 3.03. I have my persistent object distributed across two jar files. Each one has its own context file (applicationContext and idmService-Context) and they are both...
  11. Replies
    0
    Views
    770

    ClassPathXmlApplicationContext

    Hello:

    I have a set of POJO wired together using spring 2.5.5. In one of these classes, I need to integrate with groovy script. I would like able to bind the ClassPathXmlApplicationContext to that...
  12. Replies
    0
    Views
    637

    Spring MVC and Dojo

    Hello:

    Are there any examples that someone can point me to regarding how we can use Dojo with Spring MVC? In particular I would to have it work with Spring's form management (binding data to the...
  13. Replies
    1
    Views
    681

    Objects not staying alive for Session

    Hello
    I have a controller that extends SimpleFormController and in the xx-servlet.xml file I have the session enabled using:

    <property name="sessionForm" value="true"/>

    However, when I add...
  14. Replies
    7
    Views
    1,734

    Is there any way that I can catch the exception...

    Is there any way that I can catch the exception in the data service?
    I would like to be able to catch the exception in the service and re-throw my own exception or return a value from the method. ...
  15. Replies
    7
    Views
    1,734

    Hi Maarten I believe I am defining the...

    Hi Maarten

    I believe I am defining the transaction at the service layer:
    The addGroup() method in the DataServiceImpl class call the add() method on GroupDAO object. Also, my AOP advice is:

    ...
  16. Replies
    7
    Views
    1,734

    Hi Maarten So how do I get around this? I...

    Hi Maarten

    So how do I get around this? I would like to detect the exception in my service method so that I can communicate the appropriate information back to the client layer.

    If you can...
  17. Replies
    7
    Views
    1,734

    Unable to catch Hibernate Exceptions

    Hello,

    None of the try/catch blocks that I have in my DAO classes to handle hibernate exceptions seem to be getting called. I am using AOP to manage the transactions and am not sure if that is the...
  18. Replies
    2
    Views
    673

    Hello, Thanks for your help. I followed the...

    Hello,

    Thanks for your help. I followed the example, but I am still not seeing the groups that have been selected. Any thoughts on what could be wrong?



    protected void...
  19. Replies
    2
    Views
    673

    Problem using Select tag

    Hello,

    I am trying to add a multi-select list box on my form. However, the rows are not coming out selected. I have pasted my example below. Any thoughts on what may be wrong?


    public class...
  20. How to access fielsd in a command object in JSP

    Hello:

    I am using Spring 2.5.5. How can I access the values in a command object in a JSP page. I have tried the following without success:


    public class AttributePolicyCommand implements...
  21. Problem using mixed view resolver and JasperReports

    Hello,

    I have a web app in which I need to show JSP pages and few jasper reports. Based on my current definition, I can see the jsp pages, but not the reports.

    Is there a way that I can work...
  22. Replies
    0
    Views
    817

    ReferenceData only appears on first request

    Hello:

    I SimpleFormController in which I load some reference data to populate a select list. However, the values in that combo box only appears on the initial request.

    The select listis part...
  23. Replies
    3
    Views
    957

    Hi I think I missing something in my command...

    Hi

    I think I missing something in my command class. I am getting the following exception:


    org.springframework.beans.NotReadablePropertyException: Invalid property...
  24. Replies
    3
    Views
    957

    How to Set Checkboxes

    Hello

    I have form that building using a SimpleFormController. One of the items that I need to show on the form is an array of Checkboxes. I have posted my attempt below, but I am getting the...
  25. Replies
    1
    Views
    925

    Unable to build using Maven

    Hello:

    I am trying to do a build using maven. I have added the following tags, but its not able to resolve the dependencies.

    <dependency>
    <groupId>org.springframework.batch</groupId>...
Results 1 to 25 of 65
Page 1 of 3 1 2 3