Im working in a web2.0 project with the Spring Framework 2.0
I would like to use ajax technologies in the view part, so i have looked for an api that would adapt to the spring framework. I have...
Type: Posts; User: maveganzones; Keyword(s):
Im working in a web2.0 project with the Spring Framework 2.0
I would like to use ajax technologies in the view part, so i have looked for an api that would adapt to the spring framework. I have...
both, Integer.TYPE instead of Integer.class in the initBinder();
and the if condition to avoid the NPE and validate ""
Hi all.
I validate some data by the onSubmitAndValidate method of a SimpleFormController so i use the BindException's reject method when the data is incorrect.
protected void...
thx, i have solved it
Thx both.
It works now.
Hi all.
I have a jsp where i recollect data from a form. The form is managed by a SimpleFormController.
The bean to populate with the recollected data has an int property named "id".
When...
Hi all.
I have a jsp where i recollect data from a form. The form is managed by a SimpleFormController.
The bean to populate with the recollected data has an int property named "id".
When...
thx, i have solved it with the lazy-default=false in the mappings xml but ill go to the hibernate forum to get a better solution...
The problem is that the HibernateDaoSupport spring class closes...
Hi all.
I have a problem to load the info of an object. Im using hibernate3 and the hibernate tools in eclipse to generate the .java and the DAOs.
The class im trying to load is defined in the...
I have two hbm files mapping two database tables to classes:
Table --------------- hbm ---------------class
========================================
Usuario ---------- Usuario.hbm.xml --------...
You are right, the problem is that i was using tld files and something was wrong in that.... I changed them for the http://..... URIs and it worked.
Thx.
Hi all.
I have a Controller that pass a ModelAndViewobjet to a tile.
Map<String,String> model = new HashMap<String,String>();
String username = "usuario";
model.put("username", username);...
Hi again, i have made a few changes and this is the result:
ApplicationContext-hibernate.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE beans PUBLIC
"-//SPRING//DTD BEAN//EN" ...
Hi all.
Im trying to use hibernate in my project. This is the aplicationContext file:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE beans PUBLIC
"-//SPRING//DTD BEAN//EN" ...
Solved :)
the getName() method was specified as getNAme() so the bean definition was corrupted. I dont know how cant i see it.
Thx a lot
All the attributes are private and have a getter and a setter, for example:
private String name;
public void setName(String name) {
this.name = name;
}
public String getName() {
return...
Hi all.
I have a class named "Class1" with two attributes "id" and "name" and their respectives setters & getters.
There is a second class "Class2" extending "Class1" with an attribute "age"...
Hi all.
I want to make a mysql database where persist the users information (username, password, and a lot), so i have to take the authentication stuff from this database.
Until now, im using...
Thx. But that was not the problem. It seems that tomcat has problems managing two app running the acegi stuff at same time.
I had deployed the acegi-sample-app while i tried to start my app. I...
Solved: it was not the web.xml file. There was deployed the acegi-sample-app and tomcat has problems to manage two apps using the acegi stuff.
I undeployed the acegi-sample-app and now it works.....
Hi all.
Im using spring + acegi security + tomcat 5.0.28.
When i deply the app and i start it, tomcat says it cant because this exception:
2005-10-07 15:59:44...
Something else in the ContextLoaderListener javadoc:
I changed to ContextLoaderServlet but its the same. Dosnt work.
Im using Jakarta-Tomcat 5.0.28
?????????????
Thx, it didnt work but i have found something interesting:
after give the "No WebApplicationContext found" error, Tomcat loads the context:
2005-10-07 15:40:18...
Hi all.
Im developing a web app with spring + acegi security.
When i try to start the app it cant because this error:
java.lang.IllegalStateException: No WebApplicationContext found: no...
Another questions (maybe they are not about web flow but they are in the line of the previous question):
1. I get the byte[] data from the file upload. Now that i have this byte[] in my Controller...