Re: When using the ExecuteAndWait interceptor, is it possible to avoid calling prepare / validate methods on reloads?

2021-10-11 Thread Lukasz Lenart
pon., 11 paź 2021 o 16:26 Burton Rhodes napisał(a): > Thanks for the reply Lukasz. I thought about doing something like that, > but this page > https://struts.apache.org/core-developers/execute-and-wait-interceptor.html > mentions the ExecuteAndWait interceptor must be at the end of the stack. I

Re: When using the ExecuteAndWait interceptor, is it possible to avoid calling prepare / validate methods on reloads?

2021-10-11 Thread Burton Rhodes
Thanks for the reply Lukasz. I thought about doing something like that, but this page https://struts.apache.org/core-developers/execute-and-wait-interceptor.html mentions the ExecuteAndWait interceptor must be at the end of the stack. I guess you're saying that is not always the case. I'll give

Re: When using the ExecuteAndWait interceptor, is it possible to avoid calling prepare / validate methods on reloads?

2021-10-10 Thread Lukasz Lenart
czw., 7 paź 2021 o 16:16 Burton Rhodes napisał(a): > > Through a recent debugging session I realized that when refreshing a "wait" > page during an ExecuteAndWait process, it calls the action's prepare() and > validate() methods each time. For some reason I thought Struts > would immediately ident

When using the ExecuteAndWait interceptor, is it possible to avoid calling prepare / validate methods on reloads?

2021-10-07 Thread Burton Rhodes
Through a recent debugging session I realized that when refreshing a "wait" page during an ExecuteAndWait process, it calls the action's prepare() and validate() methods each time. For some reason I thought Struts would immediately identify the "waiting" Action, and if it wasn't finished, it would

Re: Is it possible to redirect after a Stream result action has completed?

2011-09-24 Thread Li Ying
gt; once the download has completed. Is this possible and if so pointers as to > how I go about it would be welcome. > > Regards > > -- > View this message in context: > http://struts.1045723.n5.nabble.com/Is-it-possible-to-redirect-after-a-Stream-result-action-has-completed-

Is it possible to redirect after a Stream result action has completed?

2011-09-19 Thread roger
link is still displayed. I would like to be able to "redirect" to another page once the download has completed. Is this possible and if so pointers as to how I go about it would be welcome. Regards -- View this message in context: http://struts.1045723.n5.nabble.com/Is-it-possible-t

Re: Is it possible to add Action configuration dynamically after the struts has been loaded

2010-12-17 Thread Maurizio Cucchiara
Maybe there is a better way than orchestrating directly a low level api. What do you need exactly? Why don't you simple use wildcard mapping [1]? [1] http://struts.apache.org/2.1.8/docs/wildcard-mappings.html Maurizio Cucchiara On Dec 18, 2010 2:04 AM, "wusheng zhang" wrote: > I have some actio

Is it possible to add Action configuration dynamically after the struts has been loaded

2010-12-17 Thread wusheng zhang
I have some action definition xml fragments generated by some general-action, I just want to update the action mapping by the so called 'general-action' at run time, and let them serves the following requests. I found the org.apache.struts2.config.StrutsXmlConfigurationProvider object can be retr

Re: struts2 web app without jsp pages, is it possible?

2009-12-08 Thread Greg Lindholm
Just to ensure the point is understood JSP is not always the right choice and you can easily use Velocity, Freemarker, etc. instead. But not wanting to use JSP because the programmers/web designers can do something bad with it is simply nonsense. On Tue, Dec 8, 2009 at 11:03 PM, Shital Patil

Re: struts2 web app without jsp pages, is it possible?

2009-12-08 Thread Shital Patil
Dear All, You all are correct. Let's close the discussion. :-) I'll convince my guys to use jsps. Thanks and Regards, Shital --- On Tue, 8/12/09, Musachy Barroso wrote: From: Musachy Barroso Subject: Re: struts2 web app without jsp pages, is it possible? To: "Struts Use

Re: struts2 web app without jsp pages, is it possible?

2009-12-08 Thread Musachy Barroso
> Fire the PM? you beat me to it :) On Tue, Dec 8, 2009 at 6:34 AM, Wes Wannemacher wrote: > On Tue, Dec 8, 2009 at 9:21 AM, Shital Patil wrote: >> Dear All, >> >> Thanks for your valuable suggestions. >> Actually I am failed to convince my PM for using JSP pages in web app. >> He said, there a

Re: struts2 web app without jsp pages, is it possible?

2009-12-08 Thread Wes Wannemacher
On Tue, Dec 8, 2009 at 9:21 AM, Shital Patil wrote: > Dear All, > > Thanks for your valuable suggestions. > Actually I am failed to convince my PM for using JSP pages in web app. > He said, there are some serious problems with JSP. > e.g JSP = presentation + code. > A JSP developer can easily read

Re: struts2 web app without jsp pages, is it possible?

2009-12-08 Thread Greg Lindholm
say, /etc/passwd, and > throw it to the client. How to avoid this problem? > > > Regards, > Shital > > --- On Tue, 8/12/09, Halil Ağın wrote: > > From: Halil Ağın > Subject: Re: struts2 web app without jsp pages, is it possible? > To: "Struts Users Mailing

Re: struts2 web app without jsp pages, is it possible?

2009-12-08 Thread Nils-Helge Garli Hegvik
il Ağın wrote: > > From: Halil Ağın > Subject: Re: struts2 web app without jsp pages, is it possible? > To: "Struts Users Mailing List" > Date: Tuesday, 8 December, 2009, 12:56 PM > > html+freemarker+json > > On Tue, Dec 8, 2009 at 2:12 PM, Saeed Iqbal w

Re: struts2 web app without jsp pages, is it possible?

2009-12-08 Thread stanlick
tml extension for your web page and use sitemesh for > > templating > > > > On Tue, Dec 8, 2009 at 5:08 PM, Shital Patil > >wrote: > > > > > Dear All, > > > > > > I want to develop web application in struts2 framework but without jsp > >

Re: struts2 web app without jsp pages, is it possible?

2009-12-08 Thread Saeed Iqbal
JSP = presentation + code. > A JSP developer can easily read some imp file on disk say, /etc/passwd, and > throw it to the client. How to avoid this problem? > > > Regards, > Shital > > --- On Tue, 8/12/09, Halil Ağın wrote: > > From: Halil Ağın > Subject: Re: stru

Re: struts2 web app without jsp pages, is it possible?

2009-12-08 Thread Shital Patil
client. How to avoid this problem? Regards, Shital --- On Tue, 8/12/09, Halil Ağın wrote: From: Halil Ağın Subject: Re: struts2 web app without jsp pages, is it possible? To: "Struts Users Mailing List" Date: Tuesday, 8 December, 2009, 12:56 PM html+freemarker+json On Tue, Dec 8,

Re: struts2 web app without jsp pages, is it possible?

2009-12-08 Thread Halil Ağın
o develop web application in struts2 framework but without jsp > > pages. > > We are going to use HTML template engine for view. > > Is it possible to develop web application in struts2 without jsp pages? > > Is this a good idea? > > > > > > Regards, > &g

Re: struts2 web app without jsp pages, is it possible?

2009-12-08 Thread Saeed Iqbal
You can easily have html extension for your web page and use sitemesh for templating On Tue, Dec 8, 2009 at 5:08 PM, Shital Patil wrote: > Dear All, > > I want to develop web application in struts2 framework but without jsp > pages. > We are going to use HTML template engine fo

Re: struts2 web app without jsp pages, is it possible?

2009-12-08 Thread Frans Thamura
can u just change the result to velocity, chart, jasper, json, xml ;) On Tue, Dec 8, 2009 at 7:08 PM, Shital Patil wrote: > Dear All, > > I want to develop web application in struts2 framework but without jsp > pages. > We are going to use HTML template engine for view. >

struts2 web app without jsp pages, is it possible?

2009-12-08 Thread Shital Patil
Dear All, I want to develop web application in struts2 framework but without jsp pages. We are going to use HTML template engine for view. Is it possible to develop web application in struts2 without jsp pages? Is this a good idea? Regards, Shital The INTERNET now has a personality

Re: Is it possible not to use DOJO plugin?

2008-07-28 Thread Jeromy Evans
holod wrote: As I understood, I have to use dojo plugin (additional jar). Please, tell me, is it possible to avoid usage of dojo plugin? Seems like my problem can be solved: if would not send request automatically, when page is loaded, but only on user mouse click, I would be happy using it

Is it possible not to use DOJO plugin?

2008-07-28 Thread holod
0 you'll need to look at the docs at: >http://struts.apache.org/2.0.11/docs/dojo-anchor.html >because of the way the wiki works. >Dave As I understood, I have to use dojo plugin (additional jar). Please, tell me, is it possible to avoid usage of dojo plugin? Seems like my

Re: S2: /action/* - is it possible?

2008-07-16 Thread Becky . L . O'Sullivan
It's possible - we're doing it: (Struts.xml) ... ... We also noticed Struts accepts web.action or just web, so our URLs look like this http://ourdomain.com/web/path/to/an/xml/file <-- web action is invoked -B I've done *.do or /do/* in S1. Is it possible

S2: /action/* - is it possible?

2008-07-16 Thread Paul Benedict
I've done *.do or /do/* in S1. Is it possible in S2 to map a URI fragment (not extension) to invoke the action? Can someone show me an example how? Paul

Re: Is it possible to make a pop up window using Struts?

2008-04-17 Thread Randy Burgess
tring should get populated in the form. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: ryan webb <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Thu, 17 Apr 2008 09:35:34 +0800 > To: Struts Users Mailing List > Subject: Re

Re: Is it possible to make a pop up window using Struts?

2008-04-16 Thread ryan webb
Dear Randy, Thank you very much for your kind reply..your method is very good. I will note your reply. =) Is it possible to transfer query string using this method? although i am not quite sure yet that this will work. I will get parameter in my action class using * request.getParameter

Re: Is it possible to make a pop up window using Struts?

2008-04-16 Thread Randy Burgess
; To: Struts Users Mailing List > Subject: Re: Is it possible to make a pop up window using Struts? > > Antonio, > >> 1) What Struts? Struts 1.2.9 (Netbeans bundle) >> 2) You can still do it in Javascript. I see.. I just want to know if you do > it with struts. > &

Re: Is it possible to make a pop up window using Struts?

2008-04-16 Thread Antonio Petrelli
2008/4/16, ryan webb <[EMAIL PROTECTED]>: > > I am having trouble with it..I created a pop up window using javascript > and > i cant pass query string on new window. > when i clicked a I pass a paramId and paramProperty and I cant > make it appear to new window. > > I have an action class that has

Re: Is it possible to make a pop up window using Struts?

2008-04-16 Thread ryan webb
s only displays the word NULL I am new to struts.. Ryan On Wed, Apr 16, 2008 at 4:22 PM, Antonio Petrelli < [EMAIL PROTECTED]> wrote: > 2008/4/16, ryan webb <[EMAIL PROTECTED]>: > > Is it possible to make a window pop up using struts? > > usually this can be done in Ja

Re: Is it possible to make a pop up window using Struts?

2008-04-16 Thread Antonio Petrelli
2008/4/16, ryan webb <[EMAIL PROTECTED]>: > Is it possible to make a window pop up using struts? > usually this can be done in Javascript.. 1) What Struts? 2) You can still do it in Javascript Antonio - To unsubsc

Is it possible to make a pop up window using Struts?

2008-04-16 Thread ryan webb
Hi, Is it possible to make a window pop up using struts? usually this can be done in Javascript.. God bless, Ryan Webb

Re: [eclipse] is it possible to debug jsp in eclipse ?

2008-02-21 Thread hardik_982
there is one another filter called spark plugin for eclipse i dont know it is useful or not just googling that -- View this message in context: http://www.nabble.com/-eclipse--is-it-possible-to-debug-jsp-in-eclipse---tp15618926p15628953.html Sent from the Struts - User mailing list archive at

Re: [eclipse] is it possible to debug jsp in eclipse ?

2008-02-21 Thread ravi_eze
debugger plugin for eclipse ? > miro > > > - > Never miss a thing. Make Yahoo your homepage. > -- View this message in context: http://www.nabble.com/-eclipse--is-it-possible-to-debug-jsp-in-eclipse---tp15618926p15627666.html Sent f

Re: [OT] Re: [eclipse] is it possible to debug jsp in eclipse ?

2008-02-21 Thread bhaarat Sharma
so does Netbeans but apparently it doesnt work when you create a \'web project with existing sources\' Or I just have missed some configuration. x2 on the forum recommendation. On 2/21/08, Dave Newton <[EMAIL PROTECTED]> wrote: --- temp temp <[EMAIL PROTECTED]> wrote: > > Is there any free jsp

[OT] Re: [eclipse] is it possible to debug jsp in eclipse ?

2008-02-21 Thread Dave Newton
--- temp temp <[EMAIL PROTECTED]> wrote: > Is there any free jsp debugger plugin for eclipse ? AFAIK it has that ability out-of-the-box with the web tools stuff [1]. This should be asked on an Eclipse-oriented list or forum, though. Dave [1] http://www.eclipse.org/webtools/ ---

[eclipse] is it possible to debug jsp in eclipse ?

2008-02-21 Thread temp temp
Is there any free jsp debugger plugin for eclipse ? miro - Never miss a thing. Make Yahoo your homepage.

Re: is it possible to pass a parameter to an interceptor from the xml file?

2008-01-25 Thread xianwinwin
THANK YOU nuwan !!! this is exactly what i was looking for -- View this message in context: http://www.nabble.com/is-it-possible-to-pass-a-parameter--to-an-interceptor-from-the-xml-file--tp15074977p15090339.html Sent from the Struts - User mailing list archive at Nabble.com

Re: is it possible to pass a parameter to an interceptor from the xml file?

2008-01-24 Thread ravi_eze
} >> >> >> thanks for any input >> >> > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- Vie

Re: is it possible to pass a parameter to an interceptor from the xml file?

2008-01-24 Thread Nuwan Chandrasoma
Hi, yes it is possible., just implement a setter and getter method for the parameter you have in the struts.xml file. and it will be available to you in the intercept method. eg:- // in the intercept class.. private String httpPort; public String getHttpPort() { return httpPort;

RE: Urgent: Is it possible to define superclass form name in jsp file

2007-09-21 Thread Arunkumar Balasubramanian
pache.org> Subject: Re: Urgent: Is it possible to define > superclass form name in jsp file> > 2007/9/21, Arunkumar Balasubramanian > <[EMAIL PROTECTED]>:> >> > scope="request"/>> >> > With this piece of code, you are putting:> - the bean &g

RE: Urgent: Is it possible to define superclass form name in jsp file

2007-09-21 Thread Arunkumar Balasubramanian
Thanks for your response. by having in a Tile.Where Bformname is super class. If I have this piece of code, the page after Date: Fri, 21 Sep 2007 09:10:21 +0200> From: [EMAIL PROTECTED]> To: > user@struts.apache.org> Subject: Re: Urgent: Is it possible to define > supercla

Re: Urgent: Is it possible to define superclass form name in jsp file

2007-09-21 Thread Antonio Petrelli
2007/9/21, Arunkumar Balasubramanian <[EMAIL PROTECTED]>: > > > With this piece of code, you are putting: - the bean registered with the "Bformname" attribute name in thr "request" scope - in the page scope (that it is the default) with the attribute name "name". Is it really what you want? Ant

Urgent: Is it possible to define superclass form name in jsp file

2007-09-20 Thread Arunkumar Balasubramanian
Hi I would like to know whether it is possible to define super class name in JSP file. Here is what my problem is: Aformname is a form which extends Bformname (super class). A tile was created with property names in Bformname (super class). For defining id using in Tilepage.jsp

Re: [s2] Is it possible to have seperate validtion files for each method without using wildcards.

2007-09-13 Thread Zoran Avtarovski
We use conditional validation by placing a method string our model and using that as a conditional check during validation. Z. > Is it possible to have seperate validtion files for each method. > > Bascially it would be very nice to be able to have > > > &

[s2] Is it possible to have seperate validtion files for each method without using wildcards.

2007-09-12 Thread David Harland
Is it possible to have seperate validtion files for each method. Bascially it would be very nice to be able to have and be able to have seperate validations for both methods instead of using the alias. This approach seems to be a more elegant way of

Is it possible to set focus (cursor) on a field that has actionError

2007-09-06 Thread Johan.Pettersson
Is it possible to set focus (cursor) on a field that has actionError using standard Struts2 tools? Best Regards Johan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: html:input Is it possible to create a group/collection

2007-08-21 Thread Paul Benedict
inputed into text fields all on one > jsp page. > Is it possible to create a collection of input text fields similar to the > html:multibox that will gather the rates entered into the text fields into > a > list or array of some sort? > > I am using a struts action form w

html:input Is it possible to create a group/collection

2007-08-21 Thread nfuser
Hi, I have an application that gathers rates from the user. There are up on 500 rates to collect. These rates will be inputed into text fields all on one jsp page. Is it possible to create a collection of input text fields similar to the html:multibox that will gather the rates entered into the

Is it possible to use Zero Configuration in a JUnit Test?

2007-08-20 Thread mraible
Is it possible to use Zero Configuration in a JUnit test? It works great when running my Actions in a container, but I'd like to have a similar feature when running tests - just "new" an Action and it'll be autowired with dependencies. Thanks, Matt -- View this messa

Re: [s2] Is it possible to replace/supplement i18n resolution logic?

2007-08-06 Thread Ray Clough
n essence, a TO. For other view layers, I produce other Exporters, a PDFExporter, a SpreadSheetExporter, etc. - Ray Clough [EMAIL PROTECTED] > - Original Message - > From: mraible <[EMAIL PROTECTED]> > To: user@struts.apache.org > Subject: Re: [s2] Is it possible to repla

Re: [s2] Is it possible to replace/supplement i18n resolution logic?

2007-08-06 Thread mraible
, using JSTL since I'm more familiar with it: messages.properties: page.message=Welcome to My Cool App *{0}*! page.jsp: renders: Welcome to My Cool App *Matt*! I want it to render: Welcome to My Cool App Matt! Thanks, Matt -- View this message in context: http://www.nabble.com/-s2-

Re: [s2] Is it possible to replace/supplement i18n resolution logic?

2007-08-06 Thread mraible
e a list of specific issues you've seen with the JSF Plugin? It'd be nice to get these documented so 1) users can be aware of them and 2) developers/contributors can fix them. Also, if you believe getters and setters are evil, what's the solu

Re: Is it possible to pass a dynamic parameter to a redirectAction?

2007-08-05 Thread Joe Lam
he user > session ... but I am sure there is a cleaner way of doing this ;) > > Piero > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- V

Re: [s2] Is it possible to replace/supplement i18n resolution logic?

2007-08-05 Thread Ray Clough
ted data items is an ideal compromise for me. We just treat the components as a super-powerful tag set. Again, I apologize for the earlier rant. - Ray Clough [EMAIL PROTECTED] > - Original Message - > From: "Ted Husted" <[EMAIL PROTECTED]> > To: "Stru

Re: [s2] Is it possible to replace/supplement i18n resolution logic?

2007-08-05 Thread Ted Husted
On 8/4/07, Ray Clough <[EMAIL PROTECTED]> wrote: > Sorry for the rant, but I do like many of the S2 features well enough that I > continue to use > it Feel free to start a Struts 3 roadmap on the wiki that identifies some of the "features" we might subtract, as well as those that we might add. -

Re: [s2] Is it possible to replace/supplement i18n resolution logic?

2007-08-04 Thread Zarar Siddiqi
> Well, if your Action class implements TextProvider (as does > ActionSupport), then you can resolve keys any way you'd like. As for > plugging/altering the existing lookup that is used by ActionSupport, > it really isn't possible right now, and I've love to see a patch > making that more flexible

Re: [s2] Is it possible to replace/supplement i18n resolution logic?

2007-08-04 Thread Ray Clough
ot read, or did not comprehend, or did not believe, the central theme of "Why Getters and Setters are Evil"). Sorry for the rant, but I do like many of the S2 features well enough that I continue to use it, and the S2 architecture is definitely better than S1 (death to ActionForm!)

Re: [s2] Is it possible to replace/supplement i18n resolution logic?

2007-08-03 Thread Don Brown
; Matt > -- > View this message in context: > http://www.nabble.com/-s2--Is-it-possible-to-replace-supplement-i18n-resolution-logic--tf4214304.html#a11989382 > Sent from the Struts - User mailing list archive at Nabble.com. > > > --

Re: Is it possible to pass a dynamic parameter to a redirectAction?

2007-08-03 Thread Laurie Harper
Piero Sartini wrote: I have the following situation: a searchfield is on top of a table presenting results. if there is only one result, the user should be redirected without the need of clicking on the list.. now my problem is how to redirect to an action and passing a parameter from within

[s2] Is it possible to replace/supplement i18n resolution logic?

2007-08-03 Thread mraible
://www.nabble.com/-s2--Is-it-possible-to-replace-supplement-i18n-resolution-logic--tf4214304.html#a11989382 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Is it possible to pass a dynamic parameter to a redirectAction?

2007-08-02 Thread Dale Newfield
Piero Sartini wrote: I have the following situation: a searchfield is on top of a table presenting results. if there is only one result, the user should be redirected without the need of clicking on the list.. If you just want them to see the list for X seconds, then the link to be followed,

Is it possible to pass a dynamic parameter to a redirectAction?

2007-08-02 Thread Piero Sartini
I have the following situation: a searchfield is on top of a table presenting results. if there is only one result, the user should be redirected without the need of clicking on the list.. now my problem is how to redirect to an action and passing a parameter from within my original action.. I

[s2] Is it possible to pre-compile JSPs and evaluate expressions?

2007-07-30 Thread mraible
Is it possible to pre-compile JSPs with Struts 2, as well as compile/evaluate OGNL expressions? I found the following on compiling OGNL expressions, but it's a little more low-level than what I'm looking for. http://cwiki.apache.org/WW/ognl-expression-compilation.html I'

Re: Is it possible to unit test validatiors in xml?

2007-05-09 Thread Gunnar Boström
Date: Mon, 7 May 2007 12:52:40 +0200 > Subject: Is it possible to unit test validatiors in xml? > > Hi, > > Is it possible to unit test validations created in xml? I.e. like this: > > > > > myPurchaseCode > 10 >

Re: Is it possible to unit test validatiors in xml?

2007-05-07 Thread Martin Gilday
possible to unit test validatiors in xml? Hi, Is it possible to unit test validations created in xml? I.e. like this: myPurchaseCode 10 10 true Your purchase code needs to be 10 characters long

Is it possible to unit test validatiors in xml?

2007-05-07 Thread Gunnar.Bostrom
Hi, Is it possible to unit test validations created in xml? I.e. like this: myPurchaseCode 10 10 true Your purchase code needs to be 10 characters long 10

Re: Is it possible to tell if secure sockets in use froma Struts Action?

2007-03-27 Thread Larry Meadors
...or request.isSecure() Larry On 3/27/07, Christopher Schultz <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Adam, Adam Lipscombe wrote: > From a Struts Action is it possible to tell if SSL is in use? > > I tried httpServletRequest.getPathInfo()

Re: Is it possible to tell if secure sockets in use froma Struts Action?

2007-03-27 Thread Adam Lipscombe
>> You gave up just before you found it: you are looking for ServletRequest.getScheme(): Silly me :-) Many thanks all... Adam Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Adam, Adam Lipscombe wrote: From a Struts Action is it possible to tell if SSL

Re: Is it possible to tell if secure sockets in use froma Struts Action?

2007-03-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Adam, Adam Lipscombe wrote: > From a Struts Action is it possible to tell if SSL is in use? > > I tried httpServletRequest.getPathInfo(), getRequestURL() and > getAuthType(), but none of these seem to return anything that indicates >

RE: Is it possible to tell if secure sockets in use froma Struts Action?

2007-03-27 Thread muralidharan.c
Lipscombe [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 27, 2007 5:58 PM To: Struts Users Mailing List Subject: Is it possible to tell if secure sockets in use froma Struts Action? Hi My app is using Struts 1.3.8. It is sometimes deployed with SSL, and sometimes without. From a Struts Action is

Re: Is it possible to tell if secure sockets in use froma Struts Action?

2007-03-27 Thread Dave Newton
--- Adam Lipscombe <[EMAIL PROTECTED]> wrote: > I tried httpServletRequest.getPathInfo(), > getRequestURL() and getAuthType(), but none of these > seem to return anything that indicates if the request > started with "http:" or "https:". > > Any ideas if this is possible? How? getScheme() d.

Is it possible to tell if secure sockets in use froma Struts Action?

2007-03-27 Thread Adam Lipscombe
Hi My app is using Struts 1.3.8. It is sometimes deployed with SSL, and sometimes without. From a Struts Action is it possible to tell if SSL is in use? I tried httpServletRequest.getPathInfo(), getRequestURL() and getAuthType(), but none of these seem to return anything that indicates if

Re: Is it possible to get Struts' FilterDispatcher to serve up static files

2007-03-15 Thread Felipe Rodrigues
l >> >> for >> >> the FilterDispatcher filter). When specifying additional static >> content, >> >> you >> >> should be careful not to expose sensitive configuration information ( >> i.e. >> >> database password)." >> >>

Is it possible to mix pages that use tiles with those that do not?

2007-03-12 Thread Joe Yuen
I am trying to build an application which some pages use tiles that have a header, body and footer. I've managed to get the pages with those three tiles working but now whenever I want to forward to a page that doesn't have any tiles that page always appears in the body. Could someone explain to

Re: [S2] Is it possible to get Struts' FilterDispatcher to serve up static files

2007-02-28 Thread Musachy Barroso
ose sensitive configuration information ( i.e. >> database password)." >> //I haven't used it myself :) >> musachy >> >> On 2/27/07, mraible < [EMAIL PROTECTED]> wrote: >> > >> > >> > I'm using *.html as my default extensio

Re: [S2] Is it possible to get Struts' FilterDispatcher to serve up static files

2007-02-28 Thread Tim Azzopardi
ing *.html as my default extension, which causes a whole host of >> > issues >> > with Dojo. Regardless, I want to fight through it and see if I can >> come >> > up >> > with a solution. >> > >> > I noticed that FilterDispatcher allows you t

Re: [S2] Is it possible to get Struts' FilterDispatcher to serve up static files

2007-02-27 Thread mraible
plates/Editor2/Dialog" > extends="base"> > > type="plainhtml">/WEB-INF/widgets/Editor2/Dialog/{1}.html > > > > > It seems convoluted, but it's working. The other dojo files (css, js, etc) > are > working fine from within the struts jar. > > Cheers, > >

Re: Is it possible to get Struts' FilterDispatcher to serve up static files

2007-02-27 Thread Stuart Piltch
mraible raibledesigns.com> writes: > I'm using *.html as my default extension, which causes a whole host of issues > with Dojo. Regardless, I want to fight through it and see if I can come up > with a solution. Hi Matt, I'm not sure about your specific FilterDispatcher question, but we also use

Re: [S2] Is it possible to get Struts' FilterDispatcher to serve up static files

2007-02-27 Thread mraible
t;> I'm using *.html as my default extension, which causes a whole host of >> issues >> with Dojo. Regardless, I want to fight through it and see if I can come >> up >> with a solution. >> >> I noticed that FilterDispatcher allows you to serve up static f

Re: Is it possible to get Struts' FilterDispatcher to serve up static files

2007-02-27 Thread Musachy Barroso
e if I can come > up > with a solution. > > I noticed that FilterDispatcher allows you to serve up static files from > the > classpath. Is it possible to configure this same filter so it can serve > up > static .html files from a "static" directory in my webapp root

Re: Is it possible to get Struts' FilterDispatcher to serve up static files

2007-02-27 Thread Musachy Barroso
t;[EMAIL PROTECTED]> wrote: I'm using *.html as my default extension, which causes a whole host of issues with Dojo. Regardless, I want to fight through it and see if I can come up with a solution. I noticed that FilterDispatcher allows you to serve up static files from the classpath. Is

Is it possible to get Struts' FilterDispatcher to serve up static files

2007-02-27 Thread mraible
I'm using *.html as my default extension, which causes a whole host of issues with Dojo. Regardless, I want to fight through it and see if I can come up with a solution. I noticed that FilterDispatcher allows you to serve up static files from the classpath. Is it possible to configure

Re: Is it possible to paramterize calls to form bean getters?

2007-02-06 Thread Adam Lipscombe
OK thanks. This was my original approach, except now I am having trouble with the bean:write + formatKey approach - please see my other post entitled "formatting money values with bean:write". So summarise: It seems that whenever the formatKey specification results in a lookup of a format Stri

Re: Is it possible to paramterize calls to form bean getters?

2007-02-05 Thread Laurie Harper
Adam Lipscombe wrote: Folks I need to internationalize an app - returning Locale specific formats for currency and date. One way to do that is to add getLocalised() and setLocalised() to the formbeans for each affected property. These methods will then apply whatever formatting is needed.

Is it possible to paramterize calls to form bean getters?

2007-02-01 Thread Adam Lipscombe
Folks I need to internationalize an app - returning Locale specific formats for currency and date. One way to do that is to add getLocalised() and setLocalised() to the formbeans for each affected property. These methods will then apply whatever formatting is needed. But, for the tag to wo

RE: Is it possible to join Struts Team?

2007-01-30 Thread Adrian_Rios
MAIL PROTECTED] Sent: Tuesday, January 30, 2007 1:01 AM To: user@struts.apache.org Subject: Is it possible to join Struts Team? Hi, I just want to know if it is possible to join Struts2 Team. If (possible) { how(); }else if( !possible){ willItBePoss

Re: Is it possible to join Struts Team?

2007-01-30 Thread Tim Williams
On 1/30/07, Struts2 Fan <[EMAIL PROTECTED]> wrote: Hi, I just want to know if it is possible to join Struts2 Team. If (possible) { how(); }else if( !possible){ willItBePossible(); } These should be helpful: http://struts.apache.org/helping.html http://apache.org/foundation/how-it-wo

Is it possible to join Struts Team?

2007-01-30 Thread Struts2 Fan
Hi, I just want to know if it is possible to join Struts2 Team. If (possible) { how(); }else if( !possible){ willItBePossible(); }

Re: form bean with composition, is it possible?

2006-10-25 Thread Yujun Liang
e following classes: AccountInformation ( fname, lname...) CreditCard (number, type...) I would like to know if I can create a form (registration) that is composed from AccountInformation and CreditCard??? I don't want to retype all properties again (doesn't sound right) my question is this:

form bean with composition, is it possible?

2006-10-24 Thread xianwinwin
n and CreditCard??? I don't want to retype all properties again (doesn't sound right) my question is this: 1. is it possible to do that? 2. if yes, how would the registration.jsp page will look like? If it was a regular form, it

RE: Is it Possible!

2005-11-16 Thread Garner, Shawn
apache.org Subject: Is it Possible!   hi, I want to access myMessegeResources.properties.However, if i try to access it this way it throws an exception of FileNotFound.However if i give Disk absolute path then it accesses that myMessegeResources.properties file. How to access the relative file in

Re: Is it Possible!

2005-11-16 Thread Martin Gainty
ECTED]> To: "Struts Users Mailing List" Sent: Tuesday, November 15, 2005 11:54 PM Subject: RE: Is it Possible! try using (className.class).getResource("NameOfResourceInFolder"); it returns a URL get path from String path = URLName.getPath(); and then, add your relative path

RE: Is it Possible!

2005-11-15 Thread Raghavendra
OTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 16, 2005 11:49 AM To: Struts Users Mailing List Subject: Re: Is it Possible! I believe if you try to access from main it is not possible to access the file without giving the absolute path. However, if you try to access it fro

Re: Is it Possible!

2005-11-15 Thread basudeb . acharya
harya Tata Consultancy Services Limited Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com "Shailesh Barde" <[EMAIL PROTECTED]> 11/16/2005 09:51 AM Please respond to "Struts Users Mailing List" To user@struts.apache.org cc Subject Is it Pos

RE: Is it Possible!

2005-11-15 Thread Vishal Dalal
16, 2005 9:51 AM To: user@struts.apache.org Subject: Is it Possible!   hi, I want to access myMessegeResources.properties.However, if i try to access it this way it throws an exception of FileNotFound.However if i give Disk absolute path then it accesses that myMessegeResources.properties file

RE: Is it Possible!

2005-11-15 Thread Vishal Dalal
hi, sorry. forgot to mention that you would have to take path.lastIndexOf("/") and then add your relative path -Original Message- From: Vishal Dalal Sent: Wednesday, November 16, 2005 10:17 AM To: 'Struts Users Mailing List' Subject: RE: Is it Possible! try us

Is it Possible!

2005-11-15 Thread Shailesh Barde
ipse/workspace/shail/myProjectcontext/WEB-INF/classes/myMessegeResources.properties"); BufferedReader br=new BufferedReader(fr); String s; while((s=br.readLine())!= null){ System.out.println(s);} fr.close(); } } Is it Possible to how to access th

Re: [JSF] Is it possible to submit to different URL/page?

2005-10-11 Thread Craig McClanahan
On 10/11/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > > So, is it possible to submit a form to another page, either with > submit button or with a link? There is no such attribute on the or components, because in HTML that is not what determines where the submit goes -- i

[JSF] Is it possible to submit to different URL/page?

2005-10-11 Thread Michael Jouravlev
So, is it possible to submit a form to another page, either with submit button or with a link? OutputLink does not seem to submit a form. Michael. -- Forwarded message -- I looked up for an attribute of h:commandButton which would allow to submit to another URL, and I could not

  1   2   >