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
Type: Posts; User: sshah; Keyword(s):
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
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...
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...
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...
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....
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...
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...
This problem has been resolved.
Thank you
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...
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...
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...
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...
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...
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. ...
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:
...
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...
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...
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...
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...
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...
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...
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...
Hi
I think I missing something in my command class. I am getting the following exception:
org.springframework.beans.NotReadablePropertyException: Invalid property...
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...
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>...