Hi,
I try to use the populate method to load object properties, but it doesn't
work. I don't get an error but I see in the query browser that my object
values are null. Manually loading works fine.
I placed UserDaoTest.properties in the same dir as UserDaoTest.java
+++UserDaoTest.properties
nick
I accessed the bean from the servlet
HttpSession session = request.getSession(true);
FileList fl = (FileList) session.getAttribute("fileList");
but it returns null so I put this before calling the imageServlet
and the bean gets
instantiated. Is there another way of doing this ?
..kace
kace
Thank Mike for advice. I cannot login even with built-in user tomcat:tomcat
either. The page displays "Invalid User or Password".
In local test everything is OK. Do I need to change some configurations when
I copy it from local TOMCAT_HOME/webapp/ to remote hosting directory (which
is not under TO
Hi Michael,
On 26 Oct 2007 at 11:14, Michael Horwitz wrote:
> The best way is probably to build your own custom JSP tag that knows how to
> extract you User object from the ACEGI authentication context.
Thanks for that tip. I'd presumed the user object in the ACEGI
authentication context was a
Setomidor wrote:
>
>
>
> mraible wrote:
>>
>> On 10/26/07, Setomidor <[EMAIL PROTECTED]> wrote:
>>>
>>> Hi!
>>>
>>> Been trying out AppFuse and ran into some problems:
>>>
>>> 1) Ran the following on a freshly installed Ubuntu gutsy box, maven
>>> 2.0.7:
>>>
>>> mvn archetype:create -Darchety
mraible wrote:
>
> On 10/26/07, Setomidor <[EMAIL PROTECTED]> wrote:
>>
>> Hi!
>>
>> Been trying out AppFuse and ran into some problems:
>>
>> 1) Ran the following on a freshly installed Ubuntu gutsy box, maven
>> 2.0.7:
>>
>> mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes
>> -D
Quick question: it looks like it is failing when you try and add a new user?
Presumably to get there you can login, access the admin pages etc. If that
is the case then the hibernate mappings must be good. There should be a
nested lower level SQL exception which will give more details as to the
exa
Hey, I never realised my post got throught; came back as not being accepted
so I ended up deleting it.
Anyway, it was a servlet but I changed it to a pojo now so I can access jsf
beans.
Out of curiousity how would I go about accessing a bean from a servlet.
..kace
Matt Raible-3 wrote:
>
Yep. You're using Hibernate right? Just cast the List of Users to a
LinkedHashSet in your UserController. List allows duplicates, Sets do not.
Cheers,
Bob
George.Francis wrote:
>
> I'm getting some strange behaviour. I find that if I assign two Roles to
> User 'admin' then when I call
> userM