New to struts2

2009-10-19 Thread emil thushanga
Hi all



I have a project to be re-implemented using java which has done by using
Perl CGI.



I have to reuse inner content pages across all the sites to be dynamically
loaded. To be feasible to one shot changes. Perl system using includes from
different file paths and generates the view according to the parameters.



There are more the 250 web sites to be implemented. Each web site is having
there own main template and some static pages. But dynamic pages are reusing
among all the sites to display the site contents.



So I have to place all the common dynamic pages in central location and call
them to each strtus2 application to generate the site content.



Initially I used Sitemesh with struts2 but I felt it is not enough to
implement solution like this. Later I saw Apache Tiles is good for this kind
of page reuse. But I couldn’t find how to load files from central location
to each struts2 application.



Please

If any one how to use struts2 for this kind project and is it feasible to do
so.

How tiles can use to share common templates among different struts2
applications.



Thanks

Emil


RE: Doubts about new project (Struts2 good way to do it?)

2009-06-08 Thread Francisco Exposito

Has anyone an example of jetspeed2 + struts2?

 Date: Fri, 5 Jun 2009 14:24:28 +0200
 Subject: Re: Doubts about new project (Struts2 good way to do it?)
 From: poulw...@gmail.com
 To: user@struts.apache.org
 
 Hi Francisco,
 free hosting for java can be a hard one to find,
 i don't know or heard of any.
 
 Best greetings,
 Paweł Wielgus.
 
 
 2009/6/5 Francisco Exposito fcoexpos...@hotmail.com:
 
  I've read that jetspeed2 documentation is poor... do you have an example 
  about jetspeed2 + struts2?
 
  Then, is it possible to create a project using:
 
  Struts2, Jetspeed2, Spring plugin, Hibernate and Sitemesh? or jetspeed is 
  not compatible with the other? And what about the performance? Could it be 
  ok using all that? And is it possible to use them in Tomcat or it is 
  necessary JBoss? I want to find a free hosting and if it is difficult to 
  find in TomI tcat... I don't want to think in JBoss...
 
  Regards,
  Francisco
 
  From: mgai...@hotmail.com
  To: user@struts.apache.org
  Subject: RE: Doubts about new project (Struts2 good way to do it?)
  Date: Thu, 4 Jun 2009 15:43:55 -0400
 
 
  Good Afternoon Francisco
  i have an opinion on the subject which i would be more than happy to share 
  with you
 
   1) User preferences: every user can configure its window and
  maintain its configuration after save preferences and log in again. The
  user can select options from a list and position them where he wants.
  ¿Maybe using portlets?¿Changing css dinamically depending on logged
  user?¿Any other option?
  MGJetSpeed..tried and true Principal assignment to User,Group
  http://portals.apache.org/jetspeed-2/
 
   2) Languages: every user can
  access in some languages. As I've tested, the language is configured
  with regional settings. But it is possible to select the language in
  the login page and maintain it during the session?
  MGsimple as setting request_locate to en requst_locale=es
  MGhttp://struts.apache.org/2.1.6/docs/how-do-we-change-locales.html
  
   3) Persistence layer: better Hibernate or iBatis? About performance?
  MGI think hibernate has more deploys be aware of lazy_init not creating 
  all dependent objects in object graph
  https://www.hibernate.org/162.html
  
   4) E-commerce: shop cart, what about security?
  MGSSL all the way..dont send cleartext for anything unless you want 
  mailicious eavesdropper intervention!
  http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html
  MGi can give you SSL solutions for OAS, WL, Resin, JBOSS if you need it
  
   5) Sitemesh or Tiles? I've used tiles and it is ok, but the xml are too 
   long. About performance?
  MGSitemesh is the css handler that is preconfigured for Struts
  filter
  filter-namesitemesh/filter-name
  
  filter-classcom.opensymphony.module.sitemesh.filter.PageFilter/filter-class
  /filter
  filter-mapping
  filter-namesitemesh/filter-name
  url-pattern/*/url-pattern
  /filter-mapping
 
  MGif you like using VM macros coded thru SiteMesh then enable 
  VelocityPageFilter in web.xml
  filter
  filter-namesitemesh/filter-name
  
  filter-classorg.apache.struts2.sitemesh.VelocityPageFilter/filter-class
  /filter
  filter-mapping
  filter-namesitemesh/filter-name
  url-pattern/*/url-pattern
  /filter-mapping
 
  and for freemarker
  filter
  filter-namesitemesh/filter-name
  
  filter-classorg.apache.struts2.sitemesh.FreeMarkerPageFilter/filter-class
  /filter
  filter-mapping
 
  filter-namesitemesh/filter-name
 
  url-pattern/*/url-pattern
 
  /filter-mapping
 
 
  Saludos Cordiales desde EEUU!
  Martin
  GMT+5(esta semana)
  
  
  
   The options I've considered are:
  
   Tomcat, MySQL, Struts2 with Spring IOC and open in view filter, Sitemesh 
   or Tiles, Hibernate or iBatis, Portlets.
  
   Other option is use JSF. Which selection do you think would be better?
  
 
 
  Martin Gainty
  __
  Jogi és Bizalmassági kinyilatkoztatás/Verzicht und 
  Vertraulichkeitanmerkung/Note de déni et de confidentialité
   Ez az
  üzenet bizalmas.  Ha nem ön az akinek szánva volt, akkor kérjük, hogy
  jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának
  készítése nem megengedett.  Ez az üzenet csak ismeret cserét szolgál és
  semmiféle jogi alkalmazhatósága sincs.  Mivel az electronikus üzenetek
  könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet
  ezen üzenet tartalma miatt.
 
  Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene 
  Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte 
  Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht 
  dient lediglich dem Austausch von Informationen und entfaltet keine 
  rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von 
  E-Mails koennen wir

Re: Doubts about new project (Struts2 good way to do it?)

2009-06-08 Thread Nils-Helge Garli Hegvik
Jetspeed2 - No, JSR168 portlets - Yes. You should be aware of the
features and limitations of portlets though. It might not necessarily
be what you're looking for. I suggest digging a bit deeper into the
topic if you're considering using it.

Nils-H

On Mon, Jun 8, 2009 at 9:05 AM, Francisco
Expositofcoexpos...@hotmail.com wrote:

 Has anyone an example of jetspeed2 + struts2?

 Date: Fri, 5 Jun 2009 14:24:28 +0200
 Subject: Re: Doubts about new project (Struts2 good way to do it?)
 From: poulw...@gmail.com
 To: user@struts.apache.org

 Hi Francisco,
 free hosting for java can be a hard one to find,
 i don't know or heard of any.

 Best greetings,
 Paweł Wielgus.


 2009/6/5 Francisco Exposito fcoexpos...@hotmail.com:
 
  I've read that jetspeed2 documentation is poor... do you have an example 
  about jetspeed2 + struts2?
 
  Then, is it possible to create a project using:
 
  Struts2, Jetspeed2, Spring plugin, Hibernate and Sitemesh? or jetspeed is 
  not compatible with the other? And what about the performance? Could it be 
  ok using all that? And is it possible to use them in Tomcat or it is 
  necessary JBoss? I want to find a free hosting and if it is difficult to 
  find in TomI tcat... I don't want to think in JBoss...
 
  Regards,
  Francisco
 
  From: mgai...@hotmail.com
  To: user@struts.apache.org
  Subject: RE: Doubts about new project (Struts2 good way to do it?)
  Date: Thu, 4 Jun 2009 15:43:55 -0400
 
 
  Good Afternoon Francisco
  i have an opinion on the subject which i would be more than happy to 
  share with you
 
   1) User preferences: every user can configure its window and
  maintain its configuration after save preferences and log in again. The
  user can select options from a list and position them where he wants.
  ¿Maybe using portlets?¿Changing css dinamically depending on logged
  user?¿Any other option?
  MGJetSpeed..tried and true Principal assignment to User,Group
  http://portals.apache.org/jetspeed-2/
 
   2) Languages: every user can
  access in some languages. As I've tested, the language is configured
  with regional settings. But it is possible to select the language in
  the login page and maintain it during the session?
  MGsimple as setting request_locate to en requst_locale=es
  MGhttp://struts.apache.org/2.1.6/docs/how-do-we-change-locales.html
  
   3) Persistence layer: better Hibernate or iBatis? About performance?
  MGI think hibernate has more deploys be aware of lazy_init not creating 
  all dependent objects in object graph
  https://www.hibernate.org/162.html
  
   4) E-commerce: shop cart, what about security?
  MGSSL all the way..dont send cleartext for anything unless you want 
  mailicious eavesdropper intervention!
  http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html
  MGi can give you SSL solutions for OAS, WL, Resin, JBOSS if you need it
  
   5) Sitemesh or Tiles? I've used tiles and it is ok, but the xml are too 
   long. About performance?
  MGSitemesh is the css handler that is preconfigured for Struts
      filter
          filter-namesitemesh/filter-name
          
  filter-classcom.opensymphony.module.sitemesh.filter.PageFilter/filter-class
      /filter
      filter-mapping
          filter-namesitemesh/filter-name
          url-pattern/*/url-pattern
      /filter-mapping
 
  MGif you like using VM macros coded thru SiteMesh then enable 
  VelocityPageFilter in web.xml
          filter
              filter-namesitemesh/filter-name
              
  filter-classorg.apache.struts2.sitemesh.VelocityPageFilter/filter-class
          /filter
          filter-mapping
              filter-namesitemesh/filter-name
              url-pattern/*/url-pattern
          /filter-mapping
 
  and for freemarker
      filter
          filter-namesitemesh/filter-name
          
  filter-classorg.apache.struts2.sitemesh.FreeMarkerPageFilter/filter-class
      /filter
          filter-mapping
 
              filter-namesitemesh/filter-name
 
              url-pattern/*/url-pattern
 
          /filter-mapping
 
 
  Saludos Cordiales desde EEUU!
  Martin
  GMT+5(esta semana)
  
  
  
   The options I've considered are:
  
   Tomcat, MySQL, Struts2 with Spring IOC and open in view filter, 
   Sitemesh or Tiles, Hibernate or iBatis, Portlets.
  
   Other option is use JSF. Which selection do you think would be better?
  
 
 
  Martin Gainty
  __
  Jogi és Bizalmassági kinyilatkoztatás/Verzicht und 
  Vertraulichkeitanmerkung/Note de déni et de confidentialité
   Ez az
  üzenet bizalmas.  Ha nem ön az akinek szánva volt, akkor kérjük, hogy
  jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának
  készítése nem megengedett.  Ez az üzenet csak ismeret cserét szolgál és
  semmiféle jogi alkalmazhatósága sincs.  Mivel az electronikus üzenetek
  könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet
  ezen üzenet tartalma miatt.
 
  Diese Nachricht ist vertraulich. Sollten Sie nicht der

RE: Doubts about new project (Struts2 good way to do it?)

2009-06-08 Thread Francisco Exposito

Do you have a list of functionalities of JSR168 portlets? Or some url to find 
info or examples...

 Date: Mon, 8 Jun 2009 13:00:07 +0200
 Subject: Re: Doubts about new project (Struts2 good way to do it?)
 From: nil...@gmail.com
 To: user@struts.apache.org
 
 Jetspeed2 - No, JSR168 portlets - Yes. You should be aware of the
 features and limitations of portlets though. It might not necessarily
 be what you're looking for. I suggest digging a bit deeper into the
 topic if you're considering using it.
 
 Nils-H
 
 On Mon, Jun 8, 2009 at 9:05 AM, Francisco
 Expositofcoexpos...@hotmail.com wrote:
 
  Has anyone an example of jetspeed2 + struts2?
 
  Date: Fri, 5 Jun 2009 14:24:28 +0200
  Subject: Re: Doubts about new project (Struts2 good way to do it?)
  From: poulw...@gmail.com
  To: user@struts.apache.org
 
  Hi Francisco,
  free hosting for java can be a hard one to find,
  i don't know or heard of any.
 
  Best greetings,
  Paweł Wielgus.
 
 
  2009/6/5 Francisco Exposito fcoexpos...@hotmail.com:
  
   I've read that jetspeed2 documentation is poor... do you have an example 
   about jetspeed2 + struts2?
  
   Then, is it possible to create a project using:
  
   Struts2, Jetspeed2, Spring plugin, Hibernate and Sitemesh? or jetspeed 
   is not compatible with the other? And what about the performance? Could 
   it be ok using all that? And is it possible to use them in Tomcat or it 
   is necessary JBoss? I want to find a free hosting and if it is difficult 
   to find in TomI tcat... I don't want to think in JBoss...
  
   Regards,
   Francisco
  
   From: mgai...@hotmail.com
   To: user@struts.apache.org
   Subject: RE: Doubts about new project (Struts2 good way to do it?)
   Date: Thu, 4 Jun 2009 15:43:55 -0400
  
  
   Good Afternoon Francisco
   i have an opinion on the subject which i would be more than happy to 
   share with you
  
1) User preferences: every user can configure its window and
   maintain its configuration after save preferences and log in again. The
   user can select options from a list and position them where he wants.
   ¿Maybe using portlets?¿Changing css dinamically depending on logged
   user?¿Any other option?
   MGJetSpeed..tried and true Principal assignment to User,Group
   http://portals.apache.org/jetspeed-2/
  
2) Languages: every user can
   access in some languages. As I've tested, the language is configured
   with regional settings. But it is possible to select the language in
   the login page and maintain it during the session?
   MGsimple as setting request_locate to en requst_locale=es
   MGhttp://struts.apache.org/2.1.6/docs/how-do-we-change-locales.html
   
3) Persistence layer: better Hibernate or iBatis? About performance?
   MGI think hibernate has more deploys be aware of lazy_init not 
   creating all dependent objects in object graph
   https://www.hibernate.org/162.html
   
4) E-commerce: shop cart, what about security?
   MGSSL all the way..dont send cleartext for anything unless you want 
   mailicious eavesdropper intervention!
   http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html
   MGi can give you SSL solutions for OAS, WL, Resin, JBOSS if you need it
   
5) Sitemesh or Tiles? I've used tiles and it is ok, but the xml are 
too long. About performance?
   MGSitemesh is the css handler that is preconfigured for Struts
   filter
   filter-namesitemesh/filter-name
   
   filter-classcom.opensymphony.module.sitemesh.filter.PageFilter/filter-class
   /filter
   filter-mapping
   filter-namesitemesh/filter-name
   url-pattern/*/url-pattern
   /filter-mapping
  
   MGif you like using VM macros coded thru SiteMesh then enable 
   VelocityPageFilter in web.xml
   filter
   filter-namesitemesh/filter-name
   
   filter-classorg.apache.struts2.sitemesh.VelocityPageFilter/filter-class
   /filter
   filter-mapping
   filter-namesitemesh/filter-name
   url-pattern/*/url-pattern
   /filter-mapping
  
   and for freemarker
   filter
   filter-namesitemesh/filter-name
   
   filter-classorg.apache.struts2.sitemesh.FreeMarkerPageFilter/filter-class
   /filter
   filter-mapping
  
   filter-namesitemesh/filter-name
  
   url-pattern/*/url-pattern
  
   /filter-mapping
  
  
   Saludos Cordiales desde EEUU!
   Martin
   GMT+5(esta semana)
   
   
   
The options I've considered are:
   
Tomcat, MySQL, Struts2 with Spring IOC and open in view filter, 
Sitemesh or Tiles, Hibernate or iBatis, Portlets.
   
Other option is use JSF. Which selection do you think would be better?
   
  
  
   Martin Gainty
   __
   Jogi és Bizalmassági kinyilatkoztatás/Verzicht und 
   Vertraulichkeitanmerkung/Note de déni et de confidentialité
Ez az
   üzenet bizalmas.  Ha nem ön az akinek szánva volt

Re: Doubts about new project (Struts2 good way to do it?)

2009-06-08 Thread Nils-Helge Garli Hegvik
 could you elaborate on how JetSpeed is not JSR-168 compliant?

 thanks,
 Martin Gainty

You have to start actually reading the posts you're replying to. I
said nowhere that JetSpeed is not JSR-168 compliant. And please, keep
discussions on the list.

Nils-H



 Date: Mon, 8 Jun 2009 13:00:07 +0200
 Subject: Re: Doubts about new project (Struts2 good way to do it?)
 From: nil...@gmail.com
 To: user@struts.apache.org

 Jetspeed2 - No, JSR168 portlets - Yes. You should be aware of the
 features and limitations of portlets though. It might not necessarily
 be what you're looking for. I suggest digging a bit deeper into the
 topic if you're considering using it.

 Nils-H

 On Mon, Jun 8, 2009 at 9:05 AM, Francisco
 Expositofcoexpos...@hotmail.com wrote:
 
  Has anyone an example of jetspeed2 + struts2?
 
  Date: Fri, 5 Jun 2009 14:24:28 +0200
  Subject: Re: Doubts about new project (Struts2 good way to do it?)
  From: poulw...@gmail.com
  To: user@struts.apache.org
 
  Hi Francisco,
  free hosting for java can be a hard one to find,
  i don't know or heard of any.
 
  Best greetings,
  Paweł Wielgus.
 
 
  2009/6/5 Francisco Exposito fcoexpos...@hotmail.com:
  
   I've read that jetspeed2 documentation is poor... do you have an
   example about jetspeed2 + struts2?
  
   Then, is it possible to create a project using:
  
   Struts2, Jetspeed2, Spring plugin, Hibernate and Sitemesh? or
   jetspeed is not compatible with the other? And what about the 
   performance?
   Could it be ok using all that? And is it possible to use them in Tomcat 
   or
   it is necessary JBoss? I want to find a free hosting and if it is 
   difficult
   to find in TomI tcat... I don't want to think in JBoss...
  
   Regards,
   Francisco
  
   From: mgai...@hotmail.com
   To: user@struts.apache.org
   Subject: RE: Doubts about new project (Struts2 good way to do it?)
   Date: Thu, 4 Jun 2009 15:43:55 -0400
  
  
   Good Afternoon Francisco
   i have an opinion on the subject which i would be more than happy to
   share with you
  
1) User preferences: every user can configure its window and
   maintain its configuration after save preferences and log in again.
   The
   user can select options from a list and position them where he
   wants.
   ¿Maybe using portlets?¿Changing css dinamically depending on logged
   user?¿Any other option?
   MGJetSpeed..tried and true Principal assignment to User,Group
   http://portals.apache.org/jetspeed-2/
  
2) Languages: every user can
   access in some languages. As I've tested, the language is configured
   with regional settings. But it is possible to select the language in
   the login page and maintain it during the session?
   MGsimple as setting request_locate to en requst_locale=es
   MGhttp://struts.apache.org/2.1.6/docs/how-do-we-change-locales.html
   
3) Persistence layer: better Hibernate or iBatis? About
performance?
   MGI think hibernate has more deploys be aware of lazy_init not
   creating all dependent objects in object graph
   https://www.hibernate.org/162.html
   
4) E-commerce: shop cart, what about security?
   MGSSL all the way..dont send cleartext for anything unless you want
   mailicious eavesdropper intervention!
   http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html
   MGi can give you SSL solutions for OAS, WL, Resin, JBOSS if you
   need it
   
5) Sitemesh or Tiles? I've used tiles and it is ok, but the xml
are too long. About performance?
   MGSitemesh is the css handler that is preconfigured for Struts
       filter
           filter-namesitemesh/filter-name
  
   filter-classcom.opensymphony.module.sitemesh.filter.PageFilter/filter-class
       /filter
       filter-mapping
           filter-namesitemesh/filter-name
           url-pattern/*/url-pattern
       /filter-mapping
  
   MGif you like using VM macros coded thru SiteMesh then enable
   VelocityPageFilter in web.xml
           filter
               filter-namesitemesh/filter-name
  
   filter-classorg.apache.struts2.sitemesh.VelocityPageFilter/filter-class
           /filter
           filter-mapping
               filter-namesitemesh/filter-name
               url-pattern/*/url-pattern
           /filter-mapping
  
   and for freemarker
       filter
           filter-namesitemesh/filter-name
  
   filter-classorg.apache.struts2.sitemesh.FreeMarkerPageFilter/filter-class
       /filter
           filter-mapping
  
               filter-namesitemesh/filter-name
  
               url-pattern/*/url-pattern
  
           /filter-mapping
  
  
   Saludos Cordiales desde EEUU!
   Martin
   GMT+5(esta semana)
   
   
   
The options I've considered are:
   
Tomcat, MySQL, Struts2 with Spring IOC and open in view filter,
Sitemesh or Tiles, Hibernate or iBatis, Portlets.
   
Other option is use JSF. Which selection do you think would be
better?
   
  
  
   Martin Gainty
   __
   Jogi és Bizalmassági kinyilatkoztatás

Re: Doubts about new project (Struts2 good way to do it?)

2009-06-08 Thread Dave Newton

Francisco Exposito wrote:

Do you have a list of functionalities of JSR168 portlets? Or some url to find 
info or examples...


http://tinyurl.com/kl69x4

Dave

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



RE: Doubts about new project (Struts2 good way to do it?)

2009-06-05 Thread Francisco Exposito

I've read that jetspeed2 documentation is poor... do you have an example about 
jetspeed2 + struts2?

Then, is it possible to create a project using: 

Struts2, Jetspeed2, Spring plugin, Hibernate and Sitemesh? or jetspeed is not 
compatible with the other? And what about the performance? Could it be ok using 
all that? And is it possible to use them in Tomcat or it is necessary JBoss? I 
want to find a free hosting and if it is difficult to find in Tomcat... I don't 
want to think in JBoss...

Regards,
Francisco

 From: mgai...@hotmail.com
 To: user@struts.apache.org
 Subject: RE: Doubts about new project (Struts2 good way to do it?)
 Date: Thu, 4 Jun 2009 15:43:55 -0400
 
 
 Good Afternoon Francisco
 i have an opinion on the subject which i would be more than happy to share 
 with you
 
  1) User preferences: every user can configure its window and
 maintain its configuration after save preferences and log in again. The
 user can select options from a list and position them where he wants.
 ¿Maybe using portlets?¿Changing css dinamically depending on logged
 user?¿Any other option?
 MGJetSpeed..tried and true Principal assignment to User,Group
 http://portals.apache.org/jetspeed-2/
 
  2) Languages: every user can
 access in some languages. As I've tested, the language is configured
 with regional settings. But it is possible to select the language in
 the login page and maintain it during the session?
 MGsimple as setting request_locate to en requst_locale=es
 MGhttp://struts.apache.org/2.1.6/docs/how-do-we-change-locales.html
  
  3) Persistence layer: better Hibernate or iBatis? About performance?
 MGI think hibernate has more deploys be aware of lazy_init not creating all 
 dependent objects in object graph
 https://www.hibernate.org/162.html
  
  4) E-commerce: shop cart, what about security?
 MGSSL all the way..dont send cleartext for anything unless you want 
 mailicious eavesdropper intervention!
 http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html
 MGi can give you SSL solutions for OAS, WL, Resin, JBOSS if you need it
  
  5) Sitemesh or Tiles? I've used tiles and it is ok, but the xml are too 
  long. About performance?
 MGSitemesh is the css handler that is preconfigured for Struts
 filter
 filter-namesitemesh/filter-name
 
 filter-classcom.opensymphony.module.sitemesh.filter.PageFilter/filter-class
 /filter
 filter-mapping
 filter-namesitemesh/filter-name
 url-pattern/*/url-pattern
 /filter-mapping
 
 MGif you like using VM macros coded thru SiteMesh then enable 
 VelocityPageFilter in web.xml
 filter
 filter-namesitemesh/filter-name
 
 filter-classorg.apache.struts2.sitemesh.VelocityPageFilter/filter-class
 /filter
 filter-mapping
 filter-namesitemesh/filter-name
 url-pattern/*/url-pattern
 /filter-mapping
 
 and for freemarker
 filter
 filter-namesitemesh/filter-name
 
 filter-classorg.apache.struts2.sitemesh.FreeMarkerPageFilter/filter-class
 /filter
 filter-mapping
 
 filter-namesitemesh/filter-name
 
 url-pattern/*/url-pattern
 
 /filter-mapping
 
 
 Saludos Cordiales desde EEUU!
 Martin
 GMT+5(esta semana)
  
  
  
  The options I've considered are:
  
  Tomcat, MySQL, Struts2 with Spring IOC and open in view filter, Sitemesh or 
  Tiles, Hibernate or iBatis, Portlets. 
  
  Other option is use JSF. Which selection do you think would be better?
  
 
 
 Martin Gainty 
 __ 
 Jogi és Bizalmassági kinyilatkoztatás/Verzicht und 
 Vertraulichkeitanmerkung/Note de déni et de confidentialité
  Ez az
 üzenet bizalmas.  Ha nem ön az akinek szánva volt, akkor kérjük, hogy
 jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának
 készítése nem megengedett.  Ez az üzenet csak ismeret cserét szolgál és
 semmiféle jogi alkalmazhatósága sincs.  Mivel az electronikus üzenetek
 könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet
 ezen üzenet tartalma miatt.
 
 Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
 sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
 oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich 
 dem Austausch von Informationen und entfaltet keine rechtliche 
 Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen 
 wir keine Haftung fuer den Inhalt uebernehmen.
 Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
 destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
 l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci 
 est interdite. Ce message sert à l'information seulement et n'aura pas 
 n'importe quel effet légalement obligatoire. Étant donné que les email 
 peuvent facilement être sujets à la manipulation, nous ne pouvons accepter 
 aucune

Re: Doubts about new project (Struts2 good way to do it?)

2009-06-05 Thread Paweł Wielgus
Hi Francisco,
free hosting for java can be a hard one to find,
i don't know or heard of any.

Best greetings,
Paweł Wielgus.


2009/6/5 Francisco Exposito fcoexpos...@hotmail.com:

 I've read that jetspeed2 documentation is poor... do you have an example 
 about jetspeed2 + struts2?

 Then, is it possible to create a project using:

 Struts2, Jetspeed2, Spring plugin, Hibernate and Sitemesh? or jetspeed is not 
 compatible with the other? And what about the performance? Could it be ok 
 using all that? And is it possible to use them in Tomcat or it is necessary 
 JBoss? I want to find a free hosting and if it is difficult to find in TomI 
 tcat... I don't want to think in JBoss...

 Regards,
 Francisco

 From: mgai...@hotmail.com
 To: user@struts.apache.org
 Subject: RE: Doubts about new project (Struts2 good way to do it?)
 Date: Thu, 4 Jun 2009 15:43:55 -0400


 Good Afternoon Francisco
 i have an opinion on the subject which i would be more than happy to share 
 with you

  1) User preferences: every user can configure its window and
 maintain its configuration after save preferences and log in again. The
 user can select options from a list and position them where he wants.
 ¿Maybe using portlets?¿Changing css dinamically depending on logged
 user?¿Any other option?
 MGJetSpeed..tried and true Principal assignment to User,Group
 http://portals.apache.org/jetspeed-2/

  2) Languages: every user can
 access in some languages. As I've tested, the language is configured
 with regional settings. But it is possible to select the language in
 the login page and maintain it during the session?
 MGsimple as setting request_locate to en requst_locale=es
 MGhttp://struts.apache.org/2.1.6/docs/how-do-we-change-locales.html
 
  3) Persistence layer: better Hibernate or iBatis? About performance?
 MGI think hibernate has more deploys be aware of lazy_init not creating all 
 dependent objects in object graph
 https://www.hibernate.org/162.html
 
  4) E-commerce: shop cart, what about security?
 MGSSL all the way..dont send cleartext for anything unless you want 
 mailicious eavesdropper intervention!
 http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html
 MGi can give you SSL solutions for OAS, WL, Resin, JBOSS if you need it
 
  5) Sitemesh or Tiles? I've used tiles and it is ok, but the xml are too 
  long. About performance?
 MGSitemesh is the css handler that is preconfigured for Struts
     filter
         filter-namesitemesh/filter-name
         
 filter-classcom.opensymphony.module.sitemesh.filter.PageFilter/filter-class
     /filter
     filter-mapping
         filter-namesitemesh/filter-name
         url-pattern/*/url-pattern
     /filter-mapping

 MGif you like using VM macros coded thru SiteMesh then enable 
 VelocityPageFilter in web.xml
         filter
             filter-namesitemesh/filter-name
             
 filter-classorg.apache.struts2.sitemesh.VelocityPageFilter/filter-class
         /filter
         filter-mapping
             filter-namesitemesh/filter-name
             url-pattern/*/url-pattern
         /filter-mapping

 and for freemarker
     filter
         filter-namesitemesh/filter-name
         
 filter-classorg.apache.struts2.sitemesh.FreeMarkerPageFilter/filter-class
     /filter
         filter-mapping

             filter-namesitemesh/filter-name

             url-pattern/*/url-pattern

         /filter-mapping


 Saludos Cordiales desde EEUU!
 Martin
 GMT+5(esta semana)
 
 
 
  The options I've considered are:
 
  Tomcat, MySQL, Struts2 with Spring IOC and open in view filter, Sitemesh 
  or Tiles, Hibernate or iBatis, Portlets.
 
  Other option is use JSF. Which selection do you think would be better?
 


 Martin Gainty
 __
 Jogi és Bizalmassági kinyilatkoztatás/Verzicht und 
 Vertraulichkeitanmerkung/Note de déni et de confidentialité
  Ez az
 üzenet bizalmas.  Ha nem ön az akinek szánva volt, akkor kérjük, hogy
 jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának
 készítése nem megengedett.  Ez az üzenet csak ismeret cserét szolgál és
 semmiféle jogi alkalmazhatósága sincs.  Mivel az electronikus üzenetek
 könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet
 ezen üzenet tartalma miatt.

 Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene 
 Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte 
 Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht 
 dient lediglich dem Austausch von Informationen und entfaltet keine 
 rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von 
 E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
 Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
 destinataire prévu, nous te demandons avec bonté que pour satisfaire 
 informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie 
 de ceci est interdite. Ce message sert à l'information seulement et

Doubts about new project (Struts2 good way to do it?)

2009-06-04 Thread Francisco Exposito

Hello,

I want to create a portal with this functionalities, and I don't know if it is 
possible to do it using Struts2 or what is better for it:

1) User preferences: every user can configure its window and maintain its 
configuration after save preferences and log in again. The user can select 
options from a list and position them where he wants. ¿Maybe using 
portlets?¿Changing css dinamically depending on logged user?¿Any other option?

2) Languages: every user can access in some languages. As I've tested, the 
language is configured with regional settings. But it is possible to select the 
language in the login page and maintain it during the session?

3) Persistence layer: better Hibernate or iBatis? About performance?

4) E-commerce: shop cart, what about security?

5) Sitemesh or Tiles? I've used tiles and it is ok, but the xml are too long. 
About performance?



The options I've considered are:

Tomcat, MySQL, Struts2 with Spring IOC and open in view filter, Sitemesh or 
Tiles, Hibernate or iBatis, Portlets. 

Other option is use JSF. Which selection do you think would be better?

Thanks in advance.

Francisco

_
Chatea sin límites en Messenger con la tarifa plana de Orange
http://serviciosmoviles.es.msn.com/messenger/orange.aspx

RE: Doubts about new project (Struts2 good way to do it?)

2009-06-04 Thread Martin Gainty

Good Afternoon Francisco
i have an opinion on the subject which i would be more than happy to share with 
you

 1) User preferences: every user can configure its window and
maintain its configuration after save preferences and log in again. The
user can select options from a list and position them where he wants.
¿Maybe using portlets?¿Changing css dinamically depending on logged
user?¿Any other option?
MGJetSpeed..tried and true Principal assignment to User,Group
http://portals.apache.org/jetspeed-2/

 2) Languages: every user can
access in some languages. As I've tested, the language is configured
with regional settings. But it is possible to select the language in
the login page and maintain it during the session?
MGsimple as setting request_locate to en requst_locale=es
MGhttp://struts.apache.org/2.1.6/docs/how-do-we-change-locales.html
 
 3) Persistence layer: better Hibernate or iBatis? About performance?
MGI think hibernate has more deploys be aware of lazy_init not creating all 
dependent objects in object graph
https://www.hibernate.org/162.html
 
 4) E-commerce: shop cart, what about security?
MGSSL all the way..dont send cleartext for anything unless you want mailicious 
eavesdropper intervention!
http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html
MGi can give you SSL solutions for OAS, WL, Resin, JBOSS if you need it
 
 5) Sitemesh or Tiles? I've used tiles and it is ok, but the xml are too long. 
 About performance?
MGSitemesh is the css handler that is preconfigured for Struts
filter
filter-namesitemesh/filter-name

filter-classcom.opensymphony.module.sitemesh.filter.PageFilter/filter-class
/filter
filter-mapping
filter-namesitemesh/filter-name
url-pattern/*/url-pattern
/filter-mapping

MGif you like using VM macros coded thru SiteMesh then enable 
VelocityPageFilter in web.xml
filter
filter-namesitemesh/filter-name

filter-classorg.apache.struts2.sitemesh.VelocityPageFilter/filter-class
/filter
filter-mapping
filter-namesitemesh/filter-name
url-pattern/*/url-pattern
/filter-mapping

and for freemarker
filter
filter-namesitemesh/filter-name

filter-classorg.apache.struts2.sitemesh.FreeMarkerPageFilter/filter-class
/filter
filter-mapping

filter-namesitemesh/filter-name

url-pattern/*/url-pattern

/filter-mapping


Saludos Cordiales desde EEUU!
Martin
GMT+5(esta semana)
 
 
 
 The options I've considered are:
 
 Tomcat, MySQL, Struts2 with Spring IOC and open in view filter, Sitemesh or 
 Tiles, Hibernate or iBatis, Portlets. 
 
 Other option is use JSF. Which selection do you think would be better?
 


Martin Gainty 
__ 
Jogi és Bizalmassági kinyilatkoztatás/Verzicht und 
Vertraulichkeitanmerkung/Note de déni et de confidentialité
 Ez az
üzenet bizalmas.  Ha nem ön az akinek szánva volt, akkor kérjük, hogy
jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának
készítése nem megengedett.  Ez az üzenet csak ismeret cserét szolgál és
semmiféle jogi alkalmazhatósága sincs.  Mivel az electronikus üzenetek
könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet
ezen üzenet tartalma miatt.

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.




 From: fcoexpos...@hotmail.com
 To: user@struts.apache.org
 Subject: Doubts about new project (Struts2 good way to do it?)
 Date: Thu, 4 Jun 2009 15:45:09 +
 
 
 Hello,
 
 I want to create a portal with this functionalities, and I don't know if it 
 is possible to do it using Struts2 or what is better for it:
 
 1) User preferences: every user can configure its window and maintain its 
 configuration after save preferences and log in again. The user can select 
 options from a list and position them where he wants. ¿Maybe using 
 portlets?¿Changing css dinamically depending on logged user?¿Any other option?
 
 2) Languages: every user can access in some languages. As I've tested, the 
 language is configured with regional settings

Re: how to access new javascript struts2 templates/xhtml/validation.js

2008-07-07 Thread Musachy Barroso
few options:

* you can replace the js file inside struts-core jar(quick and dirty)
* write a filter that checks the request URL and writes your version
of the file.
* overwrite the template that imports that file, and make it import
your own file (best option IMO)

musachy

On Mon, Jul 7, 2008 at 1:21 AM, webdev2 [EMAIL PROTECTED] wrote:

 Validation.js is available in the struts core jar file.   There was a fix in
 Aug 2007 that I would like to have working.   I have the download, and I
 think I have found the patch too.  Now how do I apply the update so that my
 project uses the fix, and not the file currently in the core jar?   Thanks.
 --
 View this message in context: 
 http://www.nabble.com/how-to-access-new-javascript-struts2-templates-xhtml-validation.js-tp18310213p18310213.html
 Sent from the Struts - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





-- 
Hey you! Would you help me to carry the stone? Pink Floyd

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



how to access new javascript struts2 templates/xhtml/validation.js

2008-07-06 Thread webdev2

Validation.js is available in the struts core jar file.   There was a fix in
Aug 2007 that I would like to have working.   I have the download, and I
think I have found the patch too.  Now how do I apply the update so that my
project uses the fix, and not the file currently in the core jar?   Thanks.
-- 
View this message in context: 
http://www.nabble.com/how-to-access-new-javascript-struts2-templates-xhtml-validation.js-tp18310213p18310213.html
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]