> id="pictureForm"
> enctype="multipart/form-data">
>
>
>
>
> 10
>
>
>
>
> On 4/16/07, hquinn <[EMAIL PROTECTED]> wrote:
>>
>>
>> Greetings everyone!
>> I´m having a problem
Greetings everyone!
I´m having a problem with the MultipartHttpServletRequest when I try to save
an object [Picture] I do´t know where is the problems because I´m doing the
same thing with another objectFormController
This is the error I get when I try to save...
[action].invoke(250) | Servlet.se
Thanx, that was the solution to override the methods of the
BaseControllerTest in my FormControllerTest and just setting up the
RequestUri and the method.. now the test-web works successfully
Greetings..
hquinn wrote:
>
> Ok, I see... so that means that I need to override the meth
set the method ("POST" or
"GET") and the RequestURI...
Michael Horwitz wrote:
>
> You need to use MockMultipartHttpServletRequest in place of
> MockHttpServletRequest.
>
> Mike.
>
> On 4/12/07, hquinn <[EMAIL PROTECTED]> wrote:
>>
>>
&g
Hi everyone!
I´m working with spring and appfuse... and I have a formController where I
cast the request to a MultipartHttpServletRequest to upload a picture and
save it in the database... when I test it manually in the web browser I have
no problem with it, no errors... but when I run the test-we
Greetings everyone! I'm working with appfuse 1.9.4, springMVC and tomcar 5.0
... for some weird reason I'm getting this error when I start the tomcat...
does anyone have any idea why this happens??
Thanx :)
SEVERE: Error reading tld listeners java.lang.NullPointerException
java.lang.NullPointerEx
need to use the name of your object in HQL, not the table name.
> Matt
>
> On 3/5/07, hquinn <[EMAIL PROTECTED]> wrote:
>>
>> Greetings everyone!
>> I have a problem with hibernate when I try this method... it seems I have
>> a
>> q
Greetings everyone!
I have a problem with hibernate when I try this method... it seems I have a
query sintax mistake.. but I kind find what it is...
public List getBeneficiarioByActividad(Long actividadId){
return getHibernateTemplate().find("from beneficiario_actividad where
actividad_id
Greetings everyone!
I have a very simple question... how does hibernate & spring handle a time
property?? In my pojo I have a time property called "hour" which is type
Date... how can I save just the time ("HH:ss") with hibernate and display
just the time in the JSP??
Any ideas... thanx
Hazel Q.
Greetings everyone!!
I'm working with spring/appfuse, I have a relationship many-to-many
Person-Activity.. just like User-Roles .. and I'm doing the same thing in
the PersonForm.jsp ... I have a 2 list boxes where one list has the
activities availables and the other list has the current activities
Greetings everyone!
Does anyone know how to do a relationship one-to-one? I'm working with
appfuse w/spring... and I've done relationships many-to-one or one-to-many a
lot of times, but now I need a relationship one-to-one ... I've read the
XDoclet API to see how to do one.. but I don't quite und
Greetings everyone, I have an error when I run the canoo test and I dunno
why.. can someone help me?
BUILD FAILED
/home/hazelq/workspace/dif/build.xml:634: The following error occurred while
executing this line:
/home/hazelq/workspace/dif/build.xml:599: The following error occurred while
executing
Greeting everyone!
I have different errors when I run the canoo-test of my application. I don't
understand why I'm getting this message... because when I try it in the
browser.. it work just fine..
BUILD FAILED
E:\workspace\musas\build.xml:599: The following error occurred while
executing this li
called company is of type Company, and Hibernate
> will
> manage the relationship for you?
>
> Mike.
>
>
> On 12/19/06, hquinn <[EMAIL PROTECTED]> wrote:
>>
>>
>> I checked in my userForm.jsp, and I don't think the problem is there... .
>> My
&
you posted I don't think the problem is in
> your controller, but rather in the userform itself. Look for any Spring
> form
> field where the path is of the form "company.x" where x could be any
> attribute of the company.
>
> Mike
>
>
> On 12/18/06, hqu
ote:
>
> Hi,
>
> It would seem you are trying to navigate the relationship between a user
> and
> a company, but that the company on the specified user is null. So in your
> userform you have a path of the form 'user.company.x' and for this
> specific
> user the
Greetings everyone!
When I'm testing my application I get this error during the test-web. Can
someone tell me why? It seems it has to do with a relationship I have
(User-Company), but I'm not sure... any comments??
Thanx
Testcase: testSave(mx.edu.um.musas.webapp.action.UserFormControllerTest):
C
17 matches
Mail list logo