Hi,
Yesterday I wrote an action to dynamically change logging levels.
Usually in application servers this is done with JMX but since I do not
use jmx I thought I'd write an action to change logging levels.
I'm sure others users would have the same requirements. In a
production system which
Hi Derek,
I just went back over some code I'd done recently that is doing this
(something I should have done before rather than replying from memory)
and I found I had an extra tag in the Manager definition
in my applicationContext.xml - try adding the following:
Derek Broughton wrote:
and
Derek Broughton wrote:
Rob Hills wrote:
Make sure your DAO attributes are references to the Interface rather
than the Hibernate implementation. For example, if you've got a UtoDao
interface and a UtoDaoHibernate class, your manager should include
something like this:
UtoDao utoDao;
public
It sounds like the reverse proxy is interfering with the Tomcat session. Do
you know if it is handling the JSESSIONID cookie correctly? Another
possibility is the proxy is rewriting the links which as the potential to cause
the same types of problems.
Nathan
- "Leo Barrientos C" <[EMAIL
Rob Hills wrote:
> Make sure your DAO attributes are references to the Interface rather
> than the Hibernate implementation. For example, if you've got a UtoDao
> interface and a UtoDaoHibernate class, your manager should include
> something like this:
>
> UtoDao utoDao;
>
> public void setUtoD
When you want to modify just a "part" of an object, you need to be
sure that you load the model from the database *before* you apply the
parameters posted from your web form. What is happening is that your
form is creating a *new* user instance and populating the fields from
your small for
Have you tried implementing the Preparable interface? This allows you
to fetch your object from the database and only the fields you pass in
on the request will be updated. See UserAction for an example.
Matt
On Tue, Apr 1, 2008 at 9:11 AM, tibi <[EMAIL PROTECTED]> wrote:
> 2.0M5
> struts2.0 spr
2.0M5
struts2.0 spring hibernate
thanks,
tibi
Matt Raible wrote:
> Which version of AppFuse and which web framework are you using?
>
> On Tue, Apr 1, 2008 at 4:12 AM, tibi <[EMAIL PROTECTED]> wrote:
>
>> hi list,
>>
>> im not sure how to update an user when i only want to update one or two
>
Which version of AppFuse and which web framework are you using?
On Tue, Apr 1, 2008 at 4:12 AM, tibi <[EMAIL PROTECTED]> wrote:
> hi list,
>
> im not sure how to update an user when i only want to update one or two
> fields.
> using struts spring hibernate
>
> lets say i only want to change th
Nathan Anderson wrote:
> Hi Derek,
>
> I just remembered the other problem I had. Make sure that all the files
> in the tomcat directory are owned by the tomcat user (I think it is
> tomcat55 or something like that). There is a problem where if the
> /var/lib/tomcat5.5/logs isn't owned by the t
Nathan Anderson wrote:
>
> - "Dustin Pearce"
> <[EMAIL PROTECTED]> wrote:
>
>> ...
>> Seems like we will need to clarify the DAO/Manager concept, so users
>> don't feel constrained by a one to one pattern.
>>
>> -D
>
> Not a bad idea... I just copied a couple of sentences taken from the
>
Rob Hills wrote:
> Hi Derek,
>
> Derek Broughton wrote:
>> Rob Hills wrote:
>>
>>> I'd
>>> be looking to empower a Manager class with the wherewithall to do the
>>> job. I'd create a Manager class for your unnamed third object (UTO) and
>>> give it access to the DAO(s) it needs to load/create
Hi Derek,
Derek Broughton wrote:
Rob Hills wrote:
I'd
be looking to empower a Manager class with the wherewithall to do the
job. I'd create a Manager class for your unnamed third object (UTO) and
give it access to the DAO(s) it needs to load/create/persist the UTOs
and return them to your
Rob Hills wrote:
> That said, I believe I've previously got into problems with this kind of
> issue by focusing too much on the model level.
I hear you. I'm not uncomfortable with object databases, but I suspect that
this whole concept of Object-relational mapping is encouraging me to think
to
Hello, i'm using appfuse 20 Spring and hibernate. I've have a problem:
A client is using the system from outside of our Lan (We setup a reverse
proxy in order to give a public address (hello.mydomain.com) to the
system 192.168.1.199:8080/hello). The client do the login but just
clicking in oth
hi list,
im not sure how to update an user when i only want to update one or two
fields.
using struts spring hibernate
lets say i only want to change the name.
i make a form with hidden field with id and a normal field with name.
when i enter my save method i have a user with only an id and name
Hi all,
I've created a little screencast of IWebMvc. For those that don't know it,
IWebMvc is a web / enterprise platform for Java developers (like AppFuse I
guess) based on dojo / DWR / Spring / Hibernate. You can watch it at
http://code.google.com/p/internna/downloads/list.
Comments, suggestion
- "Dustin Pearce" <[EMAIL PROTECTED]> wrote:
> ...
> Seems like we will need to clarify the DAO/Manager concept, so users
> don't feel constrained by a one to one pattern.
>
> -D
Not a bad idea... I just copied a couple of sentences taken from the AppGen
wiki page:
http://raibledesigns.
18 matches
Mail list logo