Author Login
Post Reply
user Digest 19 Mar 2008 10:19:39 -0000 Issue 7934
Topics (messages 184412 through 184441):
Re: authentication question
184412 by: mojoRising
Newbie question
184413 by: maitre
184414 by: Mike Jennings
184415 by: Alex Choi
184418 by: Griffith, Michael *
184419 by: maitre
184420 by: Alex Choi
184421 by: Griffith, Michael *
184422 by: maitre
184423 by: Griffith, Michael *
184426 by: maitre
Using token-session with IE
184416 by: Chamara Gunaratne
Re: Strtus 2.0.11 AJAX TabbedPanel with Remote tabs: How to load the result page in another tab
184417 by: manisha5
184433 by: Jeromy Evans
184434 by: CarloSilva
Re: Can validation be evaluated ahead of time to paint JQuery validation rules?
184424 by: matt.payne
Re: Multiple Actions for a single page. Is this possible
184425 by: matt.payne
Opinions of "Struts 2 Design and Programming: A Tutorial" (2nd edition)?
184427 by: Karr, David
184428 by: Nils-Helge Garli Hegvik
184430 by: Jeff Miller
Re: More WebLogic troubles.
184429 by: Randy Burgess
[S2] Upload file cannot be read
184431 by: Allen, Daniel
184432 by: Dave Newton
About ActionErrors.GLOBAL_ERROR
184435 by: Chen Chunwei
184436 by: David Chapman
184437 by: Chen Chunwei
184438 by: Lukasz Lenart
184439 by: Chen Chunwei
184440 by: Antonio Petrelli
File Upload problem
184441 by: udaykumar
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_184412.ezm (zipped)
Thanks. That's interesting. I am using Weblogic9.2, and I seem to have no
problem using the request object in the jsp( for getParameter at least). I
am wondering what type of request object manipulation, as you are referring
to, may cause issues?
Jeromy Evans - Blue Sky Minds wrote:
>
>
> The only issue I've experienced is when (bad) scriptets within the JSP
> manipulate the request object directly, which is assumed to use the
> /xxx.jsp URI but is actually /WEB-INF/results/xxx.jsp.
>
> Many would argue that best practice is to not use JSPs at all. Another
> group would argue that Acegi should be used rather than rolling your own
> filter.
>
> Hope that helps.
>
> mojoRising wrote:
>> Is this considered the Best Practice: Keeping all JSP's under the WEB-INF
>> directory? We have not done that on my project, I am curious if there are
>> plus' and minus' to this?
>>
>> Thanks,
>> John
>>
>>
>>
>> The easiest way is to always have the user call an action to get a JSP,
>> even if it is a simple page. You then also ensure that all data
>> necessary for that page has been obtained. The, by placing the JSP's in
>> the WEB-INF directory you will prevent access directly from a browser
>> (only from the s2 dispatcher).
>>
>> Otherwise, I would suggest a servlet filter or header code for all JSPs
>> that make the necessary checks.
>>
>> /Ian
>>
>>
>
>
> ---------------------------------------------------------------------
> 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_184413.ezm (zipped)
Hi,
I'm trying to find a decent hosting company that supports STRUTS 2. Are
there any recommendations?
Thanks,
Ed
--
Sent from the Struts - User mailing list archive at Nabble.com.

Attachment:
user_184414.ezm (zipped)I like KGBInternet.com. They are affordable and will provide you with
the services that you need.
maitre wrote:
> Hi,
>
> I'm trying to find a decent hosting company that supports STRUTS 2. Are
> there any recommendations?
>
> Thanks,
>
> Ed

Attachment:
user_184415.ezm (zipped)I think you need to rephrase your question. Apache Struts 2 is a specific
Java Web Application framework technology and Java Web Application is the
more general and generic term I think you meant to say. In terms of Web
Hosting, you would be interested in Web Hosting Providers that allows
deployment of Java Web Applications.
I hope that helps you to narrow your search.
On 18/03/2008, maitre <em@(protected):
>
>
> Hi,
>
> I'm trying to find a decent hosting company that supports STRUTS 2. Are
> there any recommendations?
>
> Thanks,
>
> Ed
>
> --
> View this message in context:
> http://www.nabble.com/Newbie-question-tp16125218p16125218.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)
>
>

Attachment:
user_184418.ezm (zipped)Agreed. Look for a provider that offers the correct JDK and API specs.
MG
-----Original Message-----
From: Alex Choi [mailto:ayo.choi@(protected)]
Sent: Tuesday, March 18, 2008 12:55 PM
To: Struts Users Mailing List
Subject: Re: Newbie question
I think you need to rephrase your question. Apache Struts 2 is a
specific
Java Web Application framework technology and Java Web Application is
the
more general and generic term I think you meant to say. In terms of Web
Hosting, you would be interested in Web Hosting Providers that allows
deployment of Java Web Applications.
I hope that helps you to narrow your search.
On 18/03/2008, maitre <em@(protected):
>
>
> Hi,
>
> I'm trying to find a decent hosting company that supports STRUTS 2.
Are
> there any recommendations?
>
> Thanks,
>
> Ed
>
> --
> View this message in context:
> http://www.nabble.com/Newbie-question-tp16125218p16125218.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)
>
>

Attachment:
user_184419.ezm (zipped)
Thanks, y'all.
Where can I find the correct JDK and API specs so I can ask my hosting
company?
Ed
Griffith, Michael * wrote:
>
> Agreed. Look for a provider that offers the correct JDK and API specs.
>
> MG
>
> -----Original Message-----
> From: Alex Choi [mailto:ayo.choi@(protected)]
> Sent: Tuesday, March 18, 2008 12:55 PM
> To: Struts Users Mailing List
> Subject: Re: Newbie question
>
> I think you need to rephrase your question. Apache Struts 2 is a
> specific
> Java Web Application framework technology and Java Web Application is
> the
> more general and generic term I think you meant to say. In terms of Web
> Hosting, you would be interested in Web Hosting Providers that allows
> deployment of Java Web Applications.
>
> I hope that helps you to narrow your search.
>
> On 18/03/2008, maitre <em@(protected):
>>
>>
>> Hi,
>>
>> I'm trying to find a decent hosting company that supports STRUTS 2.
> Are
>> there any recommendations?
>>
>> Thanks,
>>
>> Ed
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Newbie-question-tp16125218p16125218.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_184420.ezm (zipped)A Java Web Application that uses Apache Struts 2 framework can be written or
developed using JDK version 1.5. It is possible to use JDK 1.4 but your
Java Software Developers must use the backward compatible Apache Struts 2
jars for JDK 1.4 for Struts 2 development
Here are the details you are interested:
http://struts.apache.org/2.x/docs/building-the-framework-from-source.html
On 18/03/2008, maitre <em@(protected):
>
>
> Thanks, y'all.
>
> Where can I find the correct JDK and API specs so I can ask my hosting
> company?
>
> Ed
>
>
>
> Griffith, Michael * wrote:
> >
> > Agreed. Look for a provider that offers the correct JDK and API specs.
> >
> > MG
> >
> > -----Original Message-----
> > From: Alex Choi [mailto:ayo.choi@(protected)]
> > Sent: Tuesday, March 18, 2008 12:55 PM
> > To: Struts Users Mailing List
> > Subject: Re: Newbie question
> >
> > I think you need to rephrase your question. Apache Struts 2 is a
> > specific
> > Java Web Application framework technology and Java Web Application is
> > the
> > more general and generic term I think you meant to say. In terms of Web
> > Hosting, you would be interested in Web Hosting Providers that allows
> > deployment of Java Web Applications.
> >
> > I hope that helps you to narrow your search.
> >
> > On 18/03/2008, maitre <em@(protected):
> >>
> >>
> >> Hi,
> >>
> >> I'm trying to find a decent hosting company that supports STRUTS 2.
> > Are
> >> there any recommendations?
> >>
> >> Thanks,
> >>
> >> Ed
> >>
> >> --
> >> View this message in context:
> >> http://www.nabble.com/Newbie-question-tp16125218p16125218.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)
> >
> >
> >
>
>
> --
> View this message in context:
> http://www.nabble.com/Newbie-question-tp16125218p16127371.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)
>
>

Attachment:
user_184421.ezm (zipped)Ed,
Additional information here: http://struts.apache.org/primer.html
MG
-----Original Message-----
From: Alex Choi [mailto:ayo.choi@(protected)]
Sent: Tuesday, March 18, 2008 1:27 PM
To: Struts Users Mailing List
Subject: Re: Newbie question
A Java Web Application that uses Apache Struts 2 framework can be
written or
developed using JDK version 1.5. It is possible to use JDK 1.4 but your
Java Software Developers must use the backward compatible Apache Struts
2
jars for JDK 1.4 for Struts 2 development
Here are the details you are interested:
http://struts.apache.org/2.x/docs/building-the-framework-from-source.htm
l
On 18/03/2008, maitre <em@(protected):
>
>
> Thanks, y'all.
>
> Where can I find the correct JDK and API specs so I can ask my hosting
> company?
>
> Ed
>
>
>
> Griffith, Michael * wrote:
> >
> > Agreed. Look for a provider that offers the correct JDK and API
specs.
> >
> > MG
> >
> > -----Original Message-----
> > From: Alex Choi [mailto:ayo.choi@(protected)]
> > Sent: Tuesday, March 18, 2008 12:55 PM
> > To: Struts Users Mailing List
> > Subject: Re: Newbie question
> >
> > I think you need to rephrase your question. Apache Struts 2 is a
> > specific
> > Java Web Application framework technology and Java Web Application
is
> > the
> > more general and generic term I think you meant to say. In terms of
Web
> > Hosting, you would be interested in Web Hosting Providers that
allows
> > deployment of Java Web Applications.
> >
> > I hope that helps you to narrow your search.
> >
> > On 18/03/2008, maitre <em@(protected):
> >>
> >>
> >> Hi,
> >>
> >> I'm trying to find a decent hosting company that supports STRUTS 2.
> > Are
> >> there any recommendations?
> >>
> >> Thanks,
> >>
> >> Ed
> >>
> >> --
> >> View this message in context:
> >> http://www.nabble.com/Newbie-question-tp16125218p16125218.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)
> >
> >
> >
>
>
> --
> View this message in context:
> http://www.nabble.com/Newbie-question-tp16125218p16127371.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)
>
>

Attachment:
user_184422.ezm (zipped)
I don't want to build the framework from scratch, I just want to use the
distribution package and customize it if that's possible.
Ed
Alex Choi wrote:
>
> A Java Web Application that uses Apache Struts 2 framework can be written
> or
> developed using JDK version 1.5. It is possible to use JDK 1.4 but your
> Java Software Developers must use the backward compatible Apache Struts 2
> jars for JDK 1.4 for Struts 2 development
>
> Here are the details you are interested:
>
> http://struts.apache.org/2.x/docs/building-the-framework-from-source.html
>
>
> On 18/03/2008, maitre <em@(protected):
>>
>>
>> Thanks, y'all.
>>
>> Where can I find the correct JDK and API specs so I can ask my hosting
>> company?
>>
>> Ed
>>
>>
>>
>> Griffith, Michael * wrote:
>> >
>> > Agreed. Look for a provider that offers the correct JDK and API specs.
>> >
>> > MG
>> >
>> > -----Original Message-----
>> > From: Alex Choi [mailto:ayo.choi@(protected)]
>> > Sent: Tuesday, March 18, 2008 12:55 PM
>> > To: Struts Users Mailing List
>> > Subject: Re: Newbie question
>> >
>> > I think you need to rephrase your question. Apache Struts 2 is a
>> > specific
>> > Java Web Application framework technology and Java Web Application is
>> > the
>> > more general and generic term I think you meant to say. In terms of Web
>> > Hosting, you would be interested in Web Hosting Providers that allows
>> > deployment of Java Web Applications.
>> >
>> > I hope that helps you to narrow your search.
>> >
>> > On 18/03/2008, maitre <em@(protected):
>> >>
>> >>
>> >> Hi,
>> >>
>> >> I'm trying to find a decent hosting company that supports STRUTS 2.
>> > Are
>> >> there any recommendations?
>> >>
>> >> Thanks,
>> >>
>> >> Ed
>> >>
>> >> --
>> >> View this message in context:
>> >> http://www.nabble.com/Newbie-question-tp16125218p16125218.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)
>> >
>> >
>> >
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Newbie-question-tp16125218p16127371.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)
>>
>>
>
>
--
Sent from the Struts - User mailing list archive at Nabble.com.

Attachment:
user_184423.ezm (zipped)Ed,
Last updated Mar 02 2006 -- so this might not be the best list...
http://struts.sourceforge.net/community/hosts.html
This is current...
http://struts.apache.org/2.x/docs/application-servers.html
MG
-----Original Message-----
From: maitre [mailto:em@(protected)]
Sent: Tuesday, March 18, 2008 1:42 PM
To: user@(protected)
Subject: Re: Newbie question
I don't want to build the framework from scratch, I just want to use the
distribution package and customize it if that's possible.
Ed
Alex Choi wrote:
>
> A Java Web Application that uses Apache Struts 2 framework can be
written
> or
> developed using JDK version 1.5. It is possible to use JDK 1.4 but
your
> Java Software Developers must use the backward compatible Apache
Struts 2
> jars for JDK 1.4 for Struts 2 development
>
> Here are the details you are interested:
>
>
http://struts.apache.org/2.x/docs/building-the-framework-from-source.htm
l
>
>
> On 18/03/2008, maitre <em@(protected):
>>
>>
>> Thanks, y'all.
>>
>> Where can I find the correct JDK and API specs so I can ask my
hosting
>> company?
>>
>> Ed
>>
>>
>>
>> Griffith, Michael * wrote:
>> >
>> > Agreed. Look for a provider that offers the correct JDK and API
specs.
>> >
>> > MG
>> >
>> > -----Original Message-----
>> > From: Alex Choi [mailto:ayo.choi@(protected)]
>> > Sent: Tuesday, March 18, 2008 12:55 PM
>> > To: Struts Users Mailing List
>> > Subject: Re: Newbie question
>> >
>> > I think you need to rephrase your question. Apache Struts 2 is a
>> > specific
>> > Java Web Application framework technology and Java Web Application
is
>> > the
>> > more general and generic term I think you meant to say. In terms of
Web
>> > Hosting, you would be interested in Web Hosting Providers that
allows
>> > deployment of Java Web Applications.
>> >
>> > I hope that helps you to narrow your search.
>> >
>> > On 18/03/2008, maitre <em@(protected):
>> >>
>> >>
>> >> Hi,
>> >>
>> >> I'm trying to find a decent hosting company that supports STRUTS
2.
>> > Are
>> >> there any recommendations?
>> >>
>> >> Thanks,
>> >>
>> >> Ed
>> >>
>> >> --
>> >> View this message in context:
>> >> http://www.nabble.com/Newbie-question-tp16125218p16125218.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)
>> >
>> >
>> >
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Newbie-question-tp16125218p16127371.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)
>>
>>
>
>
--
http://www.nabble.com/Newbie-question-tp16125218p16127983.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)

Attachment:
user_184426.ezm (zipped)
MG,
Thanks a lot.
Ed
Griffith, Michael * wrote:
>
> Ed,
>
> Last updated Mar 02 2006 -- so this might not be the best list...
> http://struts.sourceforge.net/community/hosts.html
>
> This is current...
> http://struts.apache.org/2.x/docs/application-servers.html
>
> MG
> -----Original Message-----
> From: maitre [mailto:em@(protected)]
> Sent: Tuesday, March 18, 2008 1:42 PM
> To: user@(protected)
> Subject: Re: Newbie question
>
>
> I don't want to build the framework from scratch, I just want to use the
> distribution package and customize it if that's possible.
>
> Ed
>
>
> Alex Choi wrote:
>>
>> A Java Web Application that uses Apache Struts 2 framework can be
> written
>> or
>> developed using JDK version 1.5. It is possible to use JDK 1.4 but
> your
>> Java Software Developers must use the backward compatible Apache
> Struts 2
>> jars for JDK 1.4 for Struts 2 development
>>
>> Here are the details you are interested:
>>
>>
> http://struts.apache.org/2.x/docs/building-the-framework-from-source.htm
> l
>>
>>
>> On 18/03/2008, maitre <em@(protected):
>>>
>>>
>>> Thanks, y'all.
>>>
>>> Where can I find the correct JDK and API specs so I can ask my
> hosting
>>> company?
>>>
>>> Ed
>>>
>>>
>>>
>>> Griffith, Michael * wrote:
>>> >
>>> > Agreed. Look for a provider that offers the correct JDK and API
> specs.
>>> >
>>> > MG
>>> >
>>> > -----Original Message-----
>>> > From: Alex Choi [mailto:ayo.choi@(protected)]
>>> > Sent: Tuesday, March 18, 2008 12:55 PM
>>> > To: Struts Users Mailing List
>>> > Subject: Re: Newbie question
>>> >
>>> > I think you need to rephrase your question. Apache Struts 2 is a
>>> > specific
>>> > Java Web Application framework technology and Java Web Application
> is
>>> > the
>>> > more general and generic term I think you meant to say. In terms of
> Web
>>> > Hosting, you would be interested in Web Hosting Providers that
> allows
>>> > deployment of Java Web Applications.
>>> >
>>> > I hope that helps you to narrow your search.
>>> >
>>> > On 18/03/2008, maitre <em@(protected):
>>> >>
>>> >>
>>> >> Hi,
>>> >>
>>> >> I'm trying to find a decent hosting company that supports STRUTS
> 2.
>>> > Are
>>> >> there any recommendations?
>>> >>
>>> >> Thanks,
>>> >>
>>> >> Ed
>>> >>
>>> >> --
>>> >> View this message in context:
>>> >> http://www.nabble.com/Newbie-question-tp16125218p16125218.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)
>>> >
>>> >
>>> >
>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Newbie-question-tp16125218p16127371.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)
>>>
>>>
>>
>>
>
> --
> View this message in context:
> http://www.nabble.com/Newbie-question-tp16125218p16127983.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_184416.ezm (zipped)Hi,
I have a rather strange problem. I am using token-session interceptor to
deal with the multiple requests problem. The relevant part of the struts.xml
file is appended below.
This works fine in Firefox (2 and 3 beta) but fails in IE7. When the form
(which contains the s:token tag) submit button is clicked rapidly several
times, a blank screen is displayed and the URL shown is the URL of the
action. This is probably something to do with IE, and I would really
appreciate any advice on how to solve this ... Thanks!
<-- struts.xml snip -->
<constant name="struts.devMode" value="true" />
<package name="lwbc3-default" namespace="/applications"
extends="struts-default">
<action name="ApplicationSubmitAction.do"
class="test.action.ApplicationAction">
<interceptor-ref name="defaultStack"/>
<interceptor-ref name="token-session"/>
<result name="success" type="redirect">thanks.html</result>
<result name="input">/applications/application.jsp</result>
<result name="invalid.token">thanks.html</result>
</action>

Attachment:
user_184417.ezm (zipped)
Hi Jeromy,
That did not work. It still posting as a new page.
One more thing is the tabbedPanel is already inside another tabbedpanel (2nd
level nested).
Will that cause this problem?
thx
Jeromy Evans - Blue Sky Minds wrote:
>
> Put a div inside tab2 and make that inner div the target.
>
> If you target the tab you're trying overwrite the markup for the tab
> widget. By targeting a div inside the tab you can replace just the
> content of tab.
>
> You may also prefer to make the inner div a remote div and the tab
> non-ajax because you get better control.
>
> ie. in the jsp below, the target is a div inside the second tab
>
> <s:tabbedPanel id="incorpContainer">
> <s:div theme="ajax" id="dInc1" label="Company" href="%{incUrl1}"
> executeScripts="true"></s:div>
> <s:div id="dInc2" label="Employee">
> <s:div theme="ajax" id="theTarget" href="%{incUrl2}"
> executeScripts="true"></div>
> </s:div>
>
>
>
>
>
>
--
Sent from the Struts - User mailing list archive at Nabble.com.

Attachment:
user_184433.ezm (zipped)That means the form is not being submitted via ajax. The problem is not
with the target, but rather the div that contains the form..
Make sure it was loaded with with separateSripts=false and
executeScripts=true (and parseContent=true if in 2.1).
You can definitely have one tab inside another and and nest as far as
you like, but it seems to be a common problem that the scripts are not
executed or the markup is not parsed by dojo.
manisha5 wrote:
> Hi Jeromy,
> That did not work. It still posting as a new page.
> One more thing is the tabbedPanel is already inside another tabbedpanel (2nd
> level nested).
> Will that cause this problem?
>
> thx
>
>
> Jeromy Evans - Blue Sky Minds wrote:
>
>> Put a div inside tab2 and make that inner div the target.
>>
>> If you target the tab you're trying overwrite the markup for the tab
>> widget. By targeting a div inside the tab you can replace just the
>> content of tab.
>>
>> You may also prefer to make the inner div a remote div and the tab
>> non-ajax because you get better control.
>>
>> ie. in the jsp below, the target is a div inside the second tab
>>
>> <s:tabbedPanel id="incorpContainer">
>> <s:div theme="ajax" id="dInc1" label="Company" href="%{incUrl1}"
>> executeScripts="true"></s:div>
>> <s:div id="dInc2" label="Employee">
>> <s:div theme="ajax" id="theTarget" href="%{incUrl2}"
>> executeScripts="true"></div>
>> </s:div>
>>
>>
>>
>>
>>
>>
>>
>
>

Attachment:
user_184434.ezm (zipped)Hi manisha5!..
look this:
----------------------------------------------------------------
<s:tabbedPanel id="TabsEdit" doLayout="true" name="TabsEdit"
required="true" theme="ajax" disabled="false" selectedTab="%{pgNome}"
cssStyle="height: 290px; font-family: Verdana; font-weight:bold; width:85%;
align: rigth">
<s:div id="first" label="---" theme = "ajax" cssStyle="display:none;
font-weight: normal; padding: 10px; text-align: left; overflow:scroll;"
></s:div>
<s:div id="second" label="Pessoa" theme = "ajax" href="edit_People.action"
refreshOnShow="true" cssStyle="display:none;
font-weight: normal; padding: 10px; text-align: left;
overflow:scroll;"></s:div>
<s:div id="three" label="Setor" theme = "ajax" href="edit_Setor.action"
refreshOnShow="true" cssStyle="display:none;
font-weight: normal; padding: 1px; text-align: left;
overflow:scroll;"></s:div>
</s:tabbedPanel>
1 - create a id different for each div. (here it is: first, second and
three)
2 - in <s:tabbedPanel line, use selectedTab tag: selectedTab="%{pgName}"
3 - in active action bean, create a variable pgName, with get and set
methods.
4 - when you wish load first div, set pgName with "first" and put in
session:
For first div:
String pgName = "first";
session.setAtribute("pgName", pgName);
return "myDiv";
For second div:
String pgName = "second";
session.setAtribute("pgName", pgName);
return "myDiv";
For three div:
String pgName = "three";
session.setAtribute("pgName", pgName);
return "myDiv";
in struts.xml action:
<result name="myDiv">path for tabbedPanel' page</result>
I hope help you.
----- Original Message -----
From: "manisha5" <manisha_d@(protected)>
To: <user@(protected)>
Sent: Tuesday, March 18, 2008 4:32 AM
Subject: Strtus 2.0.11 AJAX TabbedPanel with Remote tabs: How to load the
result page in another tab
> Hi,
> I just started working on Struts 2 + Ajax. I am stuck on one problem. Can
> somebody help me?
>
> I have main page which has tabbedPanel with 3 remote tabs.
> When i click submit in remote page in tab1, i want to load result page in
> tab2.
>
> I gave tab2 div id as target for the submit but the page does not load
> inside tabbedPanel.
>
>
> Struts.xml snippet:
>
> <action name="continue" class="com.foo.action.ContinueAction">
> <result name="success">/load_content.jsp</result>
> </action>
>
> Sample code:
>
> index.jsp:
>
> <s:url id="incUrl4" value="/corpinfo_content.jsp"/>
> <s:url id="incUrl2" value="/AjaxTest.action" />
> <s:url id="incUrl1" value="/main_content.jsp" />
>
>
> <s:tabbedPanel id="incorpContainer">
> <s:div theme="ajax" id="dInc1" label="Company" href="%{incUrl1}"
> executeScripts="true"></s:div>
> <s:div theme="ajax" id="dInc2" label="Employee" href="%{incUrl2}"
> executeScripts="true"></s:div>
> <s:div theme="ajax" id="dInc4" label="Corporate Info"
> href="%{incUrl4}" executeScripts="true"/>
> </s:tabbedPanel>
>
> main_content.jsp:
>
> <s:url id="continueAct" value="Continue.action"></s:url>
> <s:a href="%{continueAct}" targets="dInc2" >
> images/Continue.jpg </s:a>
>
>
> Any help or suggestion is appreciated.
> Thanks
> Manisha
> --
> View this message in context:
> http://www.nabble.com/Strtus-2.0.11-AJAX-TabbedPanel-with-Remote-tabs%3A-How-to-load-the-result-page-in-another-tab-tp16115694p16115694.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)
>
>
>
> __________ Informação do NOD32 IMON 2954 (20080318) __________
>
> Esta mensagem foi verificada pelo NOD32 sistema antivírus
> http://www.eset.com.br
>
>

Attachment:
user_184424.ezm (zipped)
I am using freemarker, but I do not think there would be an advantage to
using JSP in this case.
What I am looking for in and object graph of validation rules so I can
"paint" my jquery validation rules from the the backend validation.
Matt
Laurie Harper wrote:
>
> matt.payne wrote:
>> I really like the treatment the JQuery
>> http://jquery.bassistance.de/validate/demo/ validation plugin (not struts
>> plugin), gives for a user experience. I would really like the rules to
>> come
>> from back end rules and decorate the form fields the same way if the back
>> end bounces a validation error.
>>
>> Is there anyway to evaluate the validation config ahead of time, so
>> jquery
>> rules can be written?
>
> I don't know what you mean by 'evaluate the validation config ahead of
> time,' but depending on what JQuery code you need to generate I would
> imaging you could do it either in the JSP or, perhaps a more general
> solution, by re-writing the client-side validation Javascript (assuming
> you want to use JQuery to perform client-side validation, not just to
> render errors from server-side validation).
>
> L.
>
>
> ---------------------------------------------------------------------
> 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_184425.ezm (zipped)
By chaining several actions together. All of the getters inside those
actions are availible to the resulting .jsp/vm/or ftl.
I have used chain in cases where I had a more generic action that supplied
values for picklists and I needed those values supplied to several pages.
The action definitions were configured to include that more generic action
for the picklists. That is just one use case though. The above could be
solved via inheritance as well, that has its own side effects.
In the end are you trying to do a more wizard multi/step solution?
Matt
ravi_eze wrote:
>
> hi,
>
> We have a form in c.jsp which by some event makes an ajax call fetching
> b.jsp, a.jsp and rendering it. Now the requirement is that
>
> (1) i want to get this b.jsp by calling some other action class.
> (2) Once its rendered and i submit the page c.jsp the consecutive action
> class should be able to get all the entries made even in the b.jsp & a.jsp
> (obtained by ajax call)
>
> i am not sure how action chanining/ s:action can help me.
>
> any hlep / pointers?
>
> regards,
> ravi
>
--
Sent from the Struts - User mailing list archive at Nabble.com.

Attachment:
user_184427.ezm (zipped)I'm looking for the best and up-to-date Struts2 books. I see that
"Struts 2 in Action" is coming out a little later this year, but I also
noticed "Struts 2 Design and Programming: A Tutorial", which came out
with a second edition in January. Has anyone here looked at this,
outside of reading the Amazon reviews?

Attachment:
user_184428.ezm (zipped)I haven't read it myself, but I think I saw a review over at
theserverside.com
Nils-H
On 18. mars. 2008, at 20.59, "Karr, David" <david.karr@(protected):
> I'm looking for the best and up-to-date Struts2 books. I see that
> "Struts 2 in Action" is coming out a little later this year, but I
> also
> noticed "Struts 2 Design and Programming: A Tutorial", which came out
> with a second edition in January. Has anyone here looked at this,
> outside of reading the Amazon reviews?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>

Attachment:
user_184430.ezm (zipped)I've had this book for about a week now. I bought it because I'm new to S2 and wanted something that could give more detail and examples than the S2 documentation wiki and the "in action" book isn't available until May-ish. S2 Design and Programming serves the purpose but not with the depth I had hoped for. I'll probably also buy the "in action" book when it comes out. I don't regret the purchase though because I do find S2 Design and Programming useful.
If you have more specific questions about the book perhaps I could answer.
On 3/18/08 3:59 PM, "Karr, David" <david.karr@(protected):
I'm looking for the best and up-to-date Struts2 books. I see that
"Struts 2 in Action" is coming out a little later this year, but I also
noticed "Struts 2 Design and Programming: A Tutorial", which came out
with a second edition in January. Has anyone here looked at this,
outside of reading the Amazon reviews?
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

Attachment:
user_184429.ezm (zipped)On 9.2.1 and 9.2.2 I use
<param-value>classpath:applicationContext.xml
/WEB-INF/spring/otherAppContext.xml</param-value>
That is a space between the context file names. I don't use wildcards
because I have contexts that I don't want loaded in WL.
Regards,
Randy Burgess
Sr. Web Applications Developer
Nuvox Communications
> From: Alex Shneyderman <a.shneyderman@(protected)>
> Reply-To: Struts Users Mailing List <user@(protected)>
> Date: Tue, 18 Mar 2008 12:58:13 +0100
> To: Struts Users Mailing List <user@(protected)>
> Subject: Re: More WebLogic troubles.
>
> Well upon further investigation ... the following does not work on WL
> but works on jetty
>
> <!-- Listeners -->
> <context-param>
> <param-name>contextConfigLocation</param-name>
> <param-value>classpath*:applicationContext*.xml</param-value>
> </context-param>
> <listener>
>
> <listener-class>
org.springframework.web.context.ContextLoaderListener</listene
> r-class>
> </listener>
>
> WL becomes happy if this is specified:
>
> <!-- Listeners -->
> <context-param>
> <param-name>contextConfigLocation</param-name>
> <param-value>/WEB-INF/applicationContext.xml</param-value>
> </context-param>
> <listener>
>
> <listener-class>
org.springframework.web.context.ContextLoaderListener</listene
> r-class>
> </listener>
>
> The first is the sample from archetype. So, does anyone know why WL is
> this retarded and how to make it load ctx from the classpath ?
>
> Alex.
>
> On Tue, Mar 18, 2008 at 12:05 PM, Alex Shneyderman
> <a.shneyderman@(protected):
>> It seems that anything I do today with WL and struts 2 does not seem
>> to be working :-(
>>
>> So, now I have an interceptor (S2 interceptor). I would like to wire a
>> spring managed service on it. So, I use spring plugin + autowire by
>> name convention. There is nothing fancy really just a declaration.
>> but when I run the application in my local jetty setup everything
>> works normally. I deploy to local WLS (but I do not think this would
>> be anything different if I deployed remotely) The service does not get
>> autowired.
>>
>> Anyone has a clue as to what's wrong with this?
>>
>> I setup my WL server to prefer classes and libs in WEB-INF so the
>> classloading issues that might be should not be a problem. There is
>> something that WL does that seems unconventional I wonder if anyone
>> had similar experiences and what you guys were doing to tame the beast
>> ?
>>
>> Thanks,
>> Alex.
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
This email and any attachments ("Message") may contain legally privileged and/or confidential information. If you are not the addressee, or if this Message has been addressed to you in error, you are not authorized to read, copy, or distribute it, and we ask that you please delete it (including all copies) and notify the sender by return email. Delivery of this Message to any person other than the intended recipient(s) shall not be deemed a waiver of confidentiality and/or a privilege.

Attachment:
user_184431.ezm (zipped)Can anyone tell me where I can get some more in-depth details on the way
the file upload interceptor works? Is there any documentation between
the levels of "how to use it" and the source code?
I'm trying to take an uploaded document and then transfer it to a
backend in a different thread. But when I try to access the file in the
other thread, I get a FileNotFoundException.
My suspicion is that I've transgressed beyond the bounds of the "temp"
in "temp file." Whether that's in terms of time (because the thread
might not start until after the action has run to completion) or just
that one thread cannot access another's temp files, I'm not sure, but
considering the difficulty with reliably reproducing thread timing
issues, I was really hoping there's documentation around.
Thanks for any links/advice.
~Dan Allen
--
This message may contain confidential, proprietary, or legally privileged information. No confidentiality or privilege is waived by any transmission to an unintended recipient. If you are not an intended recipient, please notify the sender and delete this message immediately. Any views expressed in this message are those of the sender, not those of any entity within the KBC Financial Products group of companies (together referred to as "KBC FP").
This message does not create any obligation, contractual or otherwise, on the part of KBC FP. It is not an offer (or solicitation of an offer) of, or a recommendation to buy or sell, any financial product. Any prices or other values included in this message are indicative only, and do not necessarily represent current market prices, prices at which KBC FP would enter into a transaction, or prices at which similar transactions may be carried on KBC FP's own books. The information contained in this message is provided "as is", without representations or warranties, express or implied, of any kind. Past performance is not indicative of future returns.

Attachment:
user_184432.ezm (zipped)--- "Allen, Daniel" <Daniel.Allen@(protected):
> Can anyone tell me where I can get some more in-depth details on the way
> the file upload interceptor works? Is there any documentation between
> the levels of "how to use it" and the source code?
Not that I'm aware of. The source code, however, is very short.
> I'm trying to take an uploaded document and then transfer it to a
> backend in a different thread. But when I try to access the file in the
> other thread, I get a FileNotFoundException.
The file upload interceptor deletes the temporary file after the action
executes (more or less).
If you need other behavior then you can either copy the file to somewhere
else (which could just as well be in the same temporary directory) and use
the copy. You could also use the existing file upload interceptor as a
template and create your own that doesn't delete the file.
Dave

Attachment:
user_184435.ezm (zipped)Hi all,
Can anyone tell me that the real value of constant ActionErrors.GLOBAL_ERROR? Or where to find it?
Actually, I want to use the tag <html:errors /> to only display the error defined with ActionErrors.GLOBAL_ERROR.
I have the struts javadoc api, but I cannot access the Internet.
Thanks.

Attachment:
user_184436.ezm (zipped)My first reply to mailing list. Be gentle :) *
ActionErrors.GLOBAL_ERROR* is deprecated.
Use *ActionMessages.GLOBAL_MESSAGE* instead.
From ActionMessages.java ...
*public static final String GLOBAL_MESSAGE =
"org.apache.struts.action.GLOBAL_MESSAGE";**
*
djc
On Tue, Mar 18, 2008 at 8:06 PM, Chen Chunwei <
out-chenchunwei@(protected):
> Hi all,
>
> Can anyone tell me that the real value of constant
> ActionErrors.GLOBAL_ERROR? Or where to find it?
> Actually, I want to use the tag <html:errors /> to only display the error
> defined with ActionErrors.GLOBAL_ERROR.
>
> I have the struts javadoc api, but I cannot access the Internet.
>
> Thanks.

Attachment:
user_184437.ezm (zipped)Thanks David
But I still don't know which value should I set for name property of <html:errors />, that is, which value should I fill xxx in <html:errors name="xxx" /> ?
Talos
----- Original Message -----
From: "David Chapman" <richhillsoftware@(protected)>
To: "Struts Users Mailing List" <user@(protected)>
Sent: Wednesday, March 19, 2008 11:36 AM
Subject: Re: About ActionErrors.GLOBAL_ERROR
My first reply to mailing list. Be gentle :) *
ActionErrors.GLOBAL_ERROR* is deprecated.
Use *ActionMessages.GLOBAL_MESSAGE* instead.
From ActionMessages.java ...
*public static final String GLOBAL_MESSAGE =
"org.apache.struts.action.GLOBAL_MESSAGE";**
*
djc
On Tue, Mar 18, 2008 at 8:06 PM, Chen Chunwei <
out-chenchunwei@(protected):
> Hi all,
>
> Can anyone tell me that the real value of constant
> ActionErrors.GLOBAL_ERROR? Or where to find it?
> Actually, I want to use the tag <html:errors /> to only display the error
> defined with ActionErrors.GLOBAL_ERROR.
>
> I have the struts javadoc api, but I cannot access the Internet.
>
> Thanks.

Attachment:
user_184438.ezm (zipped)Hi,
Maybe something like this:
<logic:messagesPresent name="<%=Globals.ERROR_KEY%>">
<table width="480" id="ErrorsTableId" class="ErrorsTable">
<html:messages id="error" name="<%=Globals.ERROR_KEY%>">
<tr>
<td><bean:write name="error" /></td>
</tr>
</html:messages>
</table>
</logic:messagesPresent>
<logic:messagesPresent name="<%=Globals.MESSAGE_KEY%>">
<table width="480" id="MessagesTableId" class="MessagesTable">
<html:messages id="message" message="true">
<tr>
<td><bean:write name="message" /></td>
</tr>
</html:messages>
</table>
</logic:messagesPresent>
<logic:present name="<%=Globals.EXCEPTION_KEY%>">
<table width="480" id="ExceptionTableId" style="display: none"
class="ExceptionTable">
<html:messages id="exception" name="<%=Globals.EXCEPTION_KEY%>">
<tr>
<td>
<bean:write name="exception" />
</td>
</tr>
</html:messages>
</table>
</logic:present>
Regards
--
Lukasz
http://www.linkedin.com/in/lukaszlenart

Attachment:
user_184439.ezm (zipped)Thanks all.
I found the problem.
Actually, the tag <html:errors /> can display any ActionError found. But I confused my ApplicationResources.properties file, that is, the error I want to display was not defined in that file. So it will never be displayed until being defined.
Further more, I don't need to know the actual value of ActionErrors.GLOBAL_ERROR. Because I can just use it also in my jsp file. To do this, just add a line with <jsp:directive.page import="
org.apache.struts.action.ActionErrors"/> in the header of the jsp file. Then I can use the expression <%=ActionErrors.GLOBAL_ERROR %> to get the value of ActionErrors.GLOBAL_ERROR.
I knew this is simple but I'm new to both JSP and STRUTS.
Talos
----- Original Message -----
From: "Lukasz Lenart" <lukasz.lenart@(protected)>
To: "Struts Users Mailing List" <user@(protected)>
Sent: Wednesday, March 19, 2008 3:16 PM
Subject: Re: About ActionErrors.GLOBAL_ERROR
Hi,
Maybe something like this:
<logic:messagesPresent name="<%=Globals.ERROR_KEY%>">
<table width="480" id="ErrorsTableId" class="ErrorsTable">
<html:messages id="error" name="<%=Globals.ERROR_KEY%>">
<tr>
<td><bean:write name="error" /></td>
</tr>
</html:messages>
</table>
</logic:messagesPresent>
<logic:messagesPresent name="<%=Globals.MESSAGE_KEY%>">
<table width="480" id="MessagesTableId" class="MessagesTable">
<html:messages id="message" message="true">
<tr>
<td><bean:write name="message" /></td>
</tr>
</html:messages>
</table>
</logic:messagesPresent>
<logic:present name="<%=Globals.EXCEPTION_KEY%>">
<table width="480" id="ExceptionTableId" style="display: none"
class="ExceptionTable">
<html:messages id="exception" name="<%=Globals.EXCEPTION_KEY%>">
<tr>
<td>
<bean:write name="exception" />
</td>
</tr>
</html:messages>
</table>
</logic:present>
Regards
--
Lukasz
http://www.linkedin.com/in/lukaszlenart
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

Attachment:
user_184440.ezm (zipped)2008/3/19, Chen Chunwei <out-chenchunwei@(protected)>:
> Hi all,
>
> Can anyone tell me that the real value of constant ActionErrors.GLOBAL_ERROR? Or where to find it?
> Actually, I want to use the tag <html:errors /> to only display the error defined with ActionErrors.GLOBAL_ERROR.
You don't need it! Read the taglibdoc:
http://struts.apache.org/1.3.8/struts-taglib/tlddoc/html/errors.html
At the "name" attribute, it says:
Name of the bean (in any scope) under which our error messages have
been stored. If not present, the name specified by the
Globals.ERROR_KEY constant string will be used.
HTH
Antonio

Attachment:
user_184441.ezm (zipped)
I am using struts and have an upload.jsp and its associated UploadForm.java
and UploadAction.java. The jsp's form has an enctype=multipart/form-data and
contains an html:file field to upload a file as well as a bunch of text
fields for metadata associated with the file. If an error occurs during
validation, the struts controller servlet forwards to the jsp with error
messages. The problem is that the filepath the user specified is no longer
present. Is there a way to restore this value so the user doesn't have to
complete this field again (the other text fields remain filled in). Thanks
in advance
--
Sent from the Struts - User mailing list archive at Nabble.com.