Author Login
Post Reply
user Digest 27 Jul 2009 12:32:12 -0000 Issue 8771
Topics (messages 201099 through 201107):
Re: Struts2 portlet bug found
201099 by: Tracy12
Re: Struts vs Other competitors
201100 by: Andrey Rogov
201101 by: Martin Gainty
201104 by: Andrey Rogov
201107 by: Martin Gainty
Re: Struts1.3.10 and command chains
201102 by: Paul Benedict
Re: EJB Injection in Interceptor
201103 by: Robin Mannering
Display Doc or PDF file in JSP
201105 by: Nitesh Jain
201106 by: Pawe³ Wielgus
Administrivia:
---------------------------------------------------------------------
To post to the list, e-mail: user@(protected)
To unsubscribe, e-mail: user-digest-unsubscribe@(protected)
For additional commands, e-mail: user-digest-help@(protected)
----------------------------------------------------------------------

Attachment:
user_201099.ezm (zipped)Hi Nils-H,
Thanks for the reply, unfortunately in production we got lot of
functionalities written with #session.studentId etc, in the jsps to access
PORTLET APPLICATION SCOPE variables.
Those references are not only <s:property value= "#session.studentId"> but
<s:if test="#session."
As suggested by you if we want to fix this we need to use the portlet tag
library and introduce bit of scripting to access the raw portlet session.
This involves bit of coding, also not sure how to code <s:if
test="#session........ might have to introduce jstl if etc.......
Without doing that way, I though why not introduce a interceptor that will
put all the portlet application scope variables to the portlet session
scope. This way, there would not be any jsp code change. I tried this
approach and worked beautifully, basically introduce a interceptor ref
my-sessionScopeHandler to the bottom of the following stack.
But certainly for new developments I agree with what you stated
<interceptors>
<interceptor name="portlet-preferences"
class="
org.apache.struts2.portlet.interceptor.PortletPreferencesInterceptor"/>
<interceptor name="my-sessionScopeHandler"
class="my.SessionApplicationScopeHandleInterceptor" />
<interceptor-stack name="portletDefaultStack">
<interceptor-ref name="defaultStack"/>
<interceptor-ref name="portlet-preferences"/>
<interceptor-ref name="my-sessionScopeHandler"/>
</interceptor-stack>
</interceptors>
<default-interceptor-ref name="portletDefaultStack"/>
What is your opinion regarding this, practically I prefer this option,
Pls let me know your thoughts in terms of issues which can pop up by doing
this.
Thanks
Nils-Helge Garli wrote:
>
> Ah, sorry, I think I misunderstood....
>
> As they say in the uPortal forum, this is probably due to the older
> version of uPortal returning all session attributes regardless of
> scope. When this was fixed, you need to specify the correct scope to
> retrieve application scoped attributes, but they are still in the
> session. The "application" object is for attributes in the
> PortletContext (or ServletContext if it's a servlet). Since the
> session is represented as a Map object in Struts 2, there is no
> support for "scope" (just simple "get" and "put" operations). To
> retrieve the application scoped session attribute, you need to do as I
> suggested in the previous reply, get the raw session and access it
> directly.
>
> Nils-H
>
> On Wed, Jul 22, 2009 at 8:50 AM, Nils-Helge Garli
> Hegvik<nilsga@(protected):
>> Does it work if you access the session "raw" (get the session and do
>> session.getAttribute("studentId", PortletSession.APPLICATION_SCOPE)?
>> Have you tried deploying to a different portlet container such as
>> jboss portal or just plain pluto? I assume that the resources you're
>> sharing session between are in the same war file? Unless you're
>> calling "clear()" on the session map, Struts 2 doesn't do anything to
>> the session, so it should not just disappear like that. Considering
>> you're using the same Struts 2 version in both deployments, I'm not
>> sure what could be wrong...
>>
>> Nils-H
>>
>> On Wed, Jul 22, 2009 at 3:48 AM, Tracy12<j_lalith@(protected):
>>>
>>> Hi,
>>>
>>> We got a struts 2.0.6 portlet application with uPortal 2.5.3 ( inside
>>> Pluto 1.0.x) with no issues and running fine.
>>>
>>> Now we deployed the same struts 2.0.6 application in uPortal 3.1.1
>>> (inside
>>> pluto 1.1.7) and found following issue.
>>>
>>> in our action classes we had the following, where session is of type
>>> PortletSession.
>>>
>>> session.setAttribute("studentId","1111111",PortletSession.APPLICATION_SCOPE)
>>>
>>> We trieved the above studentId in the jsp as follows.
>>> <s:property value="#session.studentId"/>
>>>
>>> The above worked with no issues in uPortal 2.5.3 but with uPortal 3.1.1
>>> this
>>> is not working,
>>> Then I tried the following
>>> <s:property value="#application.studentId"/> but didnt work,
>>>
>>>
>>> I interacted with the uPortal forum and this is what it
>>> tells...http://www.nabble.com/Re%3A-is-this-a-bug-in-struts2-portlets-td24581733.html
>>>
>>> I thought based on that <s:property value="#application.studentId"/>
>>> should
>>> work,
>>>
>>> What else could I try, This looks to me a bug. Can't understand why it
>>> is
>>> not in the value stack.
>>>
>>> If not pls let me know how to retrieve the above
>>> PortletSession.APPLICATION_SCOPE variable in the jsp.
>>>
>>> If this has been fixed let me know which struts 2 version is that.
>>>
>>>
>>> I did try the following also with no luck
>>>
>>> <s:property value="%{#application['studentId']}"/>
>>>
>>> waiting for a quick reply
>>>
>>>
>>> Thanks
>>>
>>>
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Struts2-portlet-bug-found-tp24598748p24598748.html
>>> Sent from the Struts - User mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@(protected)
>>> For additional commands, e-mail: user-help@(protected)
>>>
>>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
>
--
Sent from the Struts - User mailing list archive at Nabble.com.

Attachment:
user_201100.ezm (zipped)Martin,
What do you think about Oracle ADF ?
-----Original Message-----
From: Martin Gainty [mailto:mgainty@(protected)]
Sent: Sunday, July 26, 2009 4:42 PM
To: Struts Users Mailing List
Subject: RE: Struts vs Other competitors
Raible rated Struts as "poor support"
support in JSF is based on implementing container: e.g. glassfish users
group or tomcat users group..
usually all questions are answered in TC but not so with GF
Struts is Front Controller based ..basically one event/one request
JSF is Page Controller n events are parsed from one Request
In Struts navigation is tied to Action
in JSF navigation is tied to Page
http://websphere.sys-con.com/node/46516
ASP.NET is specific to Microsoft platforms which means 75% of the installed
servers cannot run it
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.
> Date: Sat, 25 Jul 2009 22:31:18 -0700
> Subject: Re: Struts vs Other competitors
> From: musachy@(protected)
> To: user@(protected)
>
> dig around Matt Raible's blog/presentations, he has plenty of stuff
> related to that.
>
> musachy
>
> On Sat, Jul 25, 2009 at 10:19 PM, Ricardo
> Ramos<battery.in.your.leg@(protected):
> > Hi!
> >
> > Can you guys point me to some literature debating Struts 1 vs. Struts 2
vs.
> > Asp.NET vs. JSF vs. etc..?
> >
> > The project on which I'm working on currently uses Struts 1 (+ Spring
and
> > Hibernate). Although I don't foresee a migration happening for the
following
> > years, it would be very interesting to make an analysis of all the
> > state-of-art options. For this to happen, I really needed to find and
read
> > some high-authority text to provide me the base for this analysis.
> >
> > Any suggestions?
> >
> > Best regards,
> >
> > RR
> >
>
>
>
> --
> "Hey you! Would you help me to carry the stone?" Pink Floyd
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
_________________________________________________________________
Windows Live SkyDrive: Store, access, and share your photos. See how.
http://windowslive.com/Online/SkyDrive?ocid=TXT_TAGLM_WL_CS_SD_photos_072009

Attachment:
user_201101.ezm (zipped)
support for Toplink
support for EJB3.0
the struts plugin-extension is for Struts1 core development and UML diagramming editor
so if you want to use JDev IDE you'll only see support for Struts and not Struts2
good support for JSF-faces ..the JSF chair is a Sun Senior Fellow and since Sun was just purchased by Oracle
this describes incorporating Struts1 extension
http://www.oracle.com/technology/products/jdev/tips/mills/struts_diagram.html
what is your impression of ADF?
Martin
______________________________________________
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
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: strutsua@(protected)
> To: user@(protected)
> Subject: RE: Struts vs Other competitors
> Date: Mon, 27 Jul 2009 03:59:25 +0300
>
> Martin,
> What do you think about Oracle ADF ?
>
> -----Original Message-----
> From: Martin Gainty [mailto:mgainty@(protected)]
> Sent: Sunday, July 26, 2009 4:42 PM
> To: Struts Users Mailing List
> Subject: RE: Struts vs Other competitors
>
>
> Raible rated Struts as "poor support"
>
> support in JSF is based on implementing container: e.g. glassfish users
> group or tomcat users group..
> usually all questions are answered in TC but not so with GF
> Struts is Front Controller based ..basically one event/one request
> JSF is Page Controller n events are parsed from one Request
> In Struts navigation is tied to Action
> in JSF navigation is tied to Page
> http://websphere.sys-con.com/node/46516
>
> ASP.NET is specific to Microsoft platforms which means 75% of the installed
> servers cannot run it
>
> 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.
>
>
>
>
> > Date: Sat, 25 Jul 2009 22:31:18 -0700
> > Subject: Re: Struts vs Other competitors
> > From: musachy@(protected)
> > To: user@(protected)
> >
> > dig around Matt Raible's blog/presentations, he has plenty of stuff
> > related to that.
> >
> > musachy
> >
> > On Sat, Jul 25, 2009 at 10:19 PM, Ricardo
> > Ramos<battery.in.your.leg@(protected):
> > > Hi!
> > >
> > > Can you guys point me to some literature debating Struts 1 vs. Struts 2
> vs.
> > > Asp.NET vs. JSF vs. etc..?
> > >
> > > The project on which I'm working on currently uses Struts 1 (+ Spring
> and
> > > Hibernate). Although I don't foresee a migration happening for the
> following
> > > years, it would be very interesting to make an analysis of all the
> > > state-of-art options. For this to happen, I really needed to find and
> read
> > > some high-authority text to provide me the base for this analysis.
> > >
> > > Any suggestions?
> > >
> > > Best regards,
> > >
> > > RR
> > >
> >
> >
> >
> > --
> > "Hey you! Would you help me to carry the stone?" Pink Floyd
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@(protected)
> > For additional commands, e-mail: user-help@(protected)
> >
>
> _________________________________________________________________
> Windows Live™ SkyDrive™: Store, access, and share your photos. See how.
> http://windowslive.com/Online/SkyDrive?ocid=TXT_TAGLM_WL_CS_SD_photos_072009
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
_________________________________________________________________
Bing™ brings you maps, menus, and reviews organized in one place. Try it now.
http://www.bing.com/search?q=restaurants&form=MLOGEN&publ=WLHMTAG&crea=TXT_MLOGEN_Local_Local_Restaurants_1x1

Attachment:
user_201104.ezm (zipped)Thank you Martin,
Sooner or later we start considering programming as business.
It's critical to develop new products or new versions with parameters that
would be faster, more quality and less expensive.
I agree with Matt Rable that JSF programming based on RAD methods makes us
transition to JSF.
I think that big companies are destined to make this step to
increase the customer base and to be able to offer high quality
services. I liked ADF very much, primarily for its visual development
environment, quantity of objects, code generation and quality of
applications. Today I'm spending extra time to transition to JSF+ADF
ASAP.
-----Original Message-----
From: Martin Gainty [mailto:mgainty@(protected)]
Sent: Monday, July 27, 2009 5:01 AM
To: Struts Users Mailing List
Subject: RE: Struts vs Other competitors
support for Toplink
support for EJB3.0
the struts plugin-extension is for Struts1 core development and UML
diagramming editor
so if you want to use JDev IDE you'll only see support for Struts and not
Struts2
good support for JSF-faces ..the JSF chair is a Sun Senior Fellow and since
Sun was just purchased by Oracle
this describes incorporating Struts1 extension
http://www.oracle.com/technology/products/jdev/tips/mills/struts_diagram.htm
l
what is your impression of ADF?
Martin
______________________________________________
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
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: strutsua@(protected)
> To: user@(protected)
> Subject: RE: Struts vs Other competitors
> Date: Mon, 27 Jul 2009 03:59:25 +0300
>
> Martin,
> What do you think about Oracle ADF ?
>
> -----Original Message-----
> From: Martin Gainty [mailto:mgainty@(protected)]
> Sent: Sunday, July 26, 2009 4:42 PM
> To: Struts Users Mailing List
> Subject: RE: Struts vs Other competitors
>
>
> Raible rated Struts as "poor support"
>
> support in JSF is based on implementing container: e.g. glassfish users
> group or tomcat users group..
> usually all questions are answered in TC but not so with GF
> Struts is Front Controller based ..basically one event/one request
> JSF is Page Controller n events are parsed from one Request
> In Struts navigation is tied to Action
> in JSF navigation is tied to Page
> http://websphere.sys-con.com/node/46516
>
> ASP.NET is specific to Microsoft platforms which means 75% of the
installed
> servers cannot run it
>
> 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.
>
>
>
>
> > Date: Sat, 25 Jul 2009 22:31:18 -0700
> > Subject: Re: Struts vs Other competitors
> > From: musachy@(protected)
> > To: user@(protected)
> >
> > dig around Matt Raible's blog/presentations, he has plenty of stuff
> > related to that.
> >
> > musachy
> >
> > On Sat, Jul 25, 2009 at 10:19 PM, Ricardo
> > Ramos<battery.in.your.leg@(protected):
> > > Hi!
> > >
> > > Can you guys point me to some literature debating Struts 1 vs. Struts
2
> vs.
> > > Asp.NET vs. JSF vs. etc..?
> > >
> > > The project on which I'm working on currently uses Struts 1 (+ Spring
> and
> > > Hibernate). Although I don't foresee a migration happening for the
> following
> > > years, it would be very interesting to make an analysis of all the
> > > state-of-art options. For this to happen, I really needed to find and
> read
> > > some high-authority text to provide me the base for this analysis.
> > >
> > > Any suggestions?
> > >
> > > Best regards,
> > >
> > > RR
> > >
> >
> >
> >
> > --
> > "Hey you! Would you help me to carry the stone?" Pink Floyd
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@(protected)
> > For additional commands, e-mail: user-help@(protected)
> >
>
> _________________________________________________________________
> Windows Live SkyDrive: Store, access, and share your photos. See how.
>
http://windowslive.com/Online/SkyDrive?ocid=TXT_TAGLM_WL_CS_SD_photos_072009
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
_________________________________________________________________
Bing brings you maps, menus, and reviews organized in one place. Try it
now.
http://www.bing.com/search?q=restaurants&form=MLOGEN&publ=WLHMTAG&crea=TXT_M
LOGEN_Local_Local_Restaurants_1x1

Attachment:
user_201107.ezm (zipped)
first started using struts in 02 and have been a strong advocate of Struts implementations since
I believe the incorporation of Ajax enabled Dojo controls and interceptor call stack from freemarker pushed usability
of Struts ahead of JSF in those areas
unfortunately Struts RAD tools are not as well developed as JSF so teaching Struts to new college grads who use only IDEs is not so easy..also the addressing of bug assignments and what gets accomplished has devolved since Craig and Tad left..incorporation of IOC technologies such as Spring gravitates to Spring accomodates Struts
instead of the other way around
Oracle/Sun JDeveloper IDE seem to be gaining marketshare on Eclipse.. combined with easy WAR/EAR deploy to either Weblogic or Glassfish the details of a j2ee ejb-configuration and incorporating connection-pools and Persistence architectures are easily handled by user-friendly UI gracefully which populate deployment descriptors
In Academia Struts seems to have the lead but measuring actual business revenue JSF seems to edge iut Struts as managers prefer a Oracle or Sun backed product
support is another matter as the the 2 JSF support avenues i know of are tomcat-users-list or glassfish-users-list
where the expertise is more on tc container configurations, tweaking perm-gen, using asadmin instead of
how do i get a faces control to receive JSON formatted response back to my div tag
JSF's component based event handlers works well for folks coming from .NET but i wonder about the overhead
what do others think of jsf?
Martin Gainty
______________________________________________
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
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: strutsua@(protected)
> To: user@(protected)
> Subject: RE: Struts vs Other competitors
> Date: Mon, 27 Jul 2009 14:42:06 +0300
>
> Thank you Martin,
>
> Sooner or later we start considering programming as business.
> It's critical to develop new products or new versions with parameters that
> would be faster, more quality and less expensive.
> I agree with Matt Rable that JSF programming based on RAD methods makes us
> transition to JSF.
> I think that big companies are destined to make this step to
> increase the customer base and to be able to offer high quality
> services. I liked ADF very much, primarily for its visual development
> environment, quantity of objects, code generation and quality of
> applications. Today I'm spending extra time to transition to JSF+ADF
> ASAP.
>
>
> -----Original Message-----
> From: Martin Gainty [mailto:mgainty@(protected)]
> Sent: Monday, July 27, 2009 5:01 AM
> To: Struts Users Mailing List
> Subject: RE: Struts vs Other competitors
>
>
> support for Toplink
> support for EJB3.0
> the struts plugin-extension is for Struts1 core development and UML
> diagramming editor
> so if you want to use JDev IDE you'll only see support for Struts and not
> Struts2
> good support for JSF-faces ..the JSF chair is a Sun Senior Fellow and since
> Sun was just purchased by Oracle
>
> this describes incorporating Struts1 extension
> http://www.oracle.com/technology/products/jdev/tips/mills/struts_diagram.htm
> l
>
> what is your impression of ADF?
> Martin
> ______________________________________________
> Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
>
> 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: strutsua@(protected)
> > To: user@(protected)
> > Subject: RE: Struts vs Other competitors
> > Date: Mon, 27 Jul 2009 03:59:25 +0300
> >
> > Martin,
> > What do you think about Oracle ADF ?
> >
> > -----Original Message-----
> > From: Martin Gainty [mailto:mgainty@(protected)]
> > Sent: Sunday, July 26, 2009 4:42 PM
> > To: Struts Users Mailing List
> > Subject: RE: Struts vs Other competitors
> >
> >
> > Raible rated Struts as "poor support"
> >
> > support in JSF is based on implementing container: e.g. glassfish users
> > group or tomcat users group..
> > usually all questions are answered in TC but not so with GF
> > Struts is Front Controller based ..basically one event/one request
> > JSF is Page Controller n events are parsed from one Request
> > In Struts navigation is tied to Action
> > in JSF navigation is tied to Page
> > http://websphere.sys-con.com/node/46516
> >
> > ASP.NET is specific to Microsoft platforms which means 75% of the
> installed
> > servers cannot run it
> >
> > 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.
> >
> >
> >
> >
> > > Date: Sat, 25 Jul 2009 22:31:18 -0700
> > > Subject: Re: Struts vs Other competitors
> > > From: musachy@(protected)
> > > To: user@(protected)
> > >
> > > dig around Matt Raible's blog/presentations, he has plenty of stuff
> > > related to that.
> > >
> > > musachy
> > >
> > > On Sat, Jul 25, 2009 at 10:19 PM, Ricardo
> > > Ramos<battery.in.your.leg@(protected):
> > > > Hi!
> > > >
> > > > Can you guys point me to some literature debating Struts 1 vs. Struts
> 2
> > vs.
> > > > Asp.NET vs. JSF vs. etc..?
> > > >
> > > > The project on which I'm working on currently uses Struts 1 (+ Spring
> > and
> > > > Hibernate). Although I don't foresee a migration happening for the
> > following
> > > > years, it would be very interesting to make an analysis of all the
> > > > state-of-art options. For this to happen, I really needed to find and
> > read
> > > > some high-authority text to provide me the base for this analysis.
> > > >
> > > > Any suggestions?
> > > >
> > > > Best regards,
> > > >
> > > > RR
> > > >
> > >
> > >
> > >
> > > --
> > > "Hey you! Would you help me to carry the stone?" Pink Floyd
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: user-unsubscribe@(protected)
> > > For additional commands, e-mail: user-help@(protected)
> > >
> >
> > _________________________________________________________________
> > Windows Live™ SkyDrive™: Store, access, and share your photos. See how.
> >
> http://windowslive.com/Online/SkyDrive?ocid=TXT_TAGLM_WL_CS_SD_photos_072009
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@(protected)
> > For additional commands, e-mail: user-help@(protected)
> >
>
> _________________________________________________________________
> Bing™ brings you maps, menus, and reviews organized in one place. Try it
> now.
> http://www.bing.com/search?q=restaurants&form=MLOGEN&publ=WLHMTAG&crea=TXT_M
> LOGEN_Local_Local_Restaurants_1x1
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
_________________________________________________________________
Windows Live™ Hotmail®: Search, add, and share the web’s latest sports videos. Check it out.
http://www.windowslive.com/Online/Hotmail/Campaign/QuickAdd?ocid=TXT_TAGLM_WL_QA_HM_sports_videos_072009&cat=sports

Attachment:
user_201102.ezm (zipped)Did you ever find out your answer?
On Tue, Jul 14, 2009 at 2:03 PM, Struts Two <strutstwo@(protected):
>
> Prior to struts 1.3, If I wanted to load my catalog (say catalog.xml) file
> (which had all the business logic in chains for my app), I had to add the
> followings to my web.xml:
>
> <context-param>
> <description></description>
> <param-name>org.apache.commons.chain.CONFIG_CLASS_RESOURCE</param-name>
> <param-value>resources/catalog.xml</param-value>
> </context-param>
>
> <listener>
> <description>Chain Listener</description>
> <display-name>Chain Listener</display-name>
>
> <listener-class>
org.apache.commons.chain.web.ChainListener</listener-class>
> </listener>
>
>
>
> In struts 1.3.10 request processing cycle is rewritten using command chains
> and the jar file is part of struts apps. I was wondering if I want to load
> my own catalog [in which I have the list of all chains that runs my business
> logic], do I have to add ChainListener and CONFIG_CLASS_RESOURCE context
> parameter to my web.xml to be able to load my chain or command as follows:
>
> Catalog catalog = CatalogFactory.getInstance().getCatalog();
> Command command = catalog.getCommand("runTivoliCPUAVG");
>
>
> __________________________________________________________________
> Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your
> favourite sites. Download it now
> http://ca.toolbar.yahoo.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>

Attachment:
user_201103.ezm (zipped)Just wondering if the below thread has gone any further.
After creating another thread on the same subject at an earlier date, we
discussed using the EJB plugin here:
http://cwiki.apache.org/S2PLUGINS/ejb3-plugin.html
However, having started to use this plugin so that I can reference
stateless session beans, it seems that all EJB Session bean classes must
be defined as @Remote rather than @Local in order for the injection to
obtain the references correctly. Failure to specify them as remote
throws a javax.naming.NameNotFoundException.
However, reading from a book entitled "Pro EJB 3.0", the following
performance issues are mentioned in relation to using @Remote when
@Local is available. Hopefully this link will work for you.
http://books.google.co.uk/books?id=fVCuB_Xq3pAC&pg=PA40&lpg=PA40&dq=Making+an+interface+remote+has+consequences&source=bl&ots=Bg9DdpVAWW&sig=vxrumZhYLhjmqbt6bdMJ96hrY7s&hl=en&ei=QIdtStuLC-WhjAf34KGeCw&sa=X&oi=book_result&ct=result&resnum=
So, the problem is :
How can we obtain references to EJB 3 session beans from within Struts 2
action classes?
I'd be very interested to hear your thoughts.
Thanks
Robin
Nathan Schulte wrote:
> Wes Wannemacher <wesw <at> wantii.com> writes:
>
>> Seems to me that my idea to create an ObjectFactory based plugin ... needs to
>>
> pick up some steam.
>
>> I only have one question for the EJB users out there... Do you guys need
>>
> Spring integration as well?
>
> To answer your question, _I_ personally don't need Spring integration. I've
> never used Spring, and for this project, it was too much overhead to learn (on
> top of Java EE, the JPA, Hibernate intricacies, Struts2...), and from what I
> understand, it seemed like using it and S2 together provided duplicate
> functionality (another topic altogether...).
>
> On another note, I find it awesome that the community (or whatever group you're
> part of) is so willing to provide support. I mean, in my eyes, this is
> something that I could see myself writing to make my coding easier, it's just
> that given my situation, it's easier to use the "workaround." Admittedly, I'm
> not very familiar with JEE5. Some of this is still black magic, and I don't
> fully understand the issue, I just know enough to understand that the
> architecture permits it as an issue (and not everyone is just blowing smoke my
> way) and can leave all of the intricate details be, as they don't directly
> affect my project.
>
> -Nate
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
> ------------------------------------------------------------------------
>
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 8.5.387 / Virus Database: 270.13.20/2248 - Release Date: 07/19/09 05:57:00
>
>

Attachment:
user_201105.ezm (zipped)Hi All,
I have requirement to display a Doc or PDF file into a div
tag of the JSP. It means that JSP will display a DOC/PDF file in half of the
page and remaining space will be used to display some other information. Can
anyone guide me to achieve this with or without using the struts?
Regards,
Nitesh

Attachment:
user_201106.ezm (zipped)Hi Nitesh,
as far as i know it's impossible with DOC, but pretty easy with PDF,
just create iframe with source that will point to that pdf file.
Most browsers on computers where acrobat reader is installed will
display it as an inline document,
i don't know if it will work with div only.
Best greetings,
Paweł Wielgus.
2009/7/27 Nitesh Jain <er.niteshjain@(protected)>:
> Hi All,
>
>
>
> I have requirement to display a Doc or PDF file into a div
> tag of the JSP. It means that JSP will display a DOC/PDF file in half of the
> page and remaining space will be used to display some other information. Can
> anyone guide me to achieve this with or without using the struts?
>
>
>
> Regards,
>
>
>
> Nitesh
>
>
>
>
>
>