You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by nikhil walvekar <wa...@yahoo.co.in> on 2004/07/08 12:29:50 UTC

Design Problem

hi all,
 
I have got one problem in design i.e. i am not getting where should i place this part in my project.
 
I have function to send mails, whom to send depends on some conditions, but my requirement is that message contents are taken from resources.
 
So should it be Model part or controller part(Action)
 
 
Nikhil

Yahoo! India Careers: Over 50,000 jobsonline.

Re: Design Problem

Posted by nikhil walvekar <wa...@yahoo.co.in>.
Hi,
Now my problem is that how to generate contents from Application resources in model , i am using two resources, one with default key and other with "abc" as bundle name.
 
Messages are there in resource with "abc" as resource key.
 
 
Nikhil

Navjot Singh <na...@net4india.net> wrote:


nikhil walvekar wrote:
> hi all,
> 
> I have got one problem in design i.e. i am not getting where should i place this part in my project.
> 
> I have function to send mails, whom to send depends on some conditions, but my requirement is that message contents are taken from resources.
> 
> So should it be Model part or controller part(Action)

if you like to talk in these 2 terms, then "model"

> 
> 
> Nikhil
> 
> Yahoo! India Careers: Over 50,000 jobsonline.

-- 
regards
Navjot Singh

When you jump for joy, beware that no-one moves the ground from beneath
your feet. -- Stanislaw Lem, "Unkempt Thoughts"

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org

Yahoo! India Careers: Over 50,000 jobsonline.

Re: Design Problem

Posted by Navjot Singh <na...@net4india.net>.

nikhil walvekar wrote:
> hi all,
>  
> I have got one problem in design i.e. i am not getting where should i place this part in my project.
>  
> I have function to send mails, whom to send depends on some conditions, but my requirement is that message contents are taken from resources.
>  
> So should it be Model part or controller part(Action)

if you like to talk in these 2 terms, then "model"

>  
>  
> Nikhil
> 
> Yahoo! India Careers: Over 50,000 jobsonline.

-- 
regards
Navjot Singh

When you jump for joy, beware that no-one moves the ground from beneath
your feet. -- Stanislaw Lem, "Unkempt Thoughts"

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org