Apache rewrite/reverse proxy

2012-10-15 Thread Ben Mati, Abdelkader
Hello Listers, I have back end website running on Tomcat using struts with the following url http://local.domain.com/app. External user access the website through apache proxy with the following url http://www.domain.com/user1 (user1, user2, etc... It’s uri specific to each user). I want to us

Friendly URL with struts 2

2011-08-28 Thread Mohamed Rabie Hayoun Ben Maimoun
Hello, I want to implement a frindly URL mapper with struts 2 but i don't find information how i can implement it. Example: www.mydomain.com/ACTION/firstParameter/firstParameter//LastParameter is there someone who can help me or suggest me a plugin? Thnx! -- Mohamed Rabie Hayou

New Guice plugin

2011-03-30 Thread Ben McCann
Hi Everyone, Just wanted to let you all know there's a new Struts 2 plugin for Guice included in Guice 3: http://www.benmccann.com/dev-blog/guice-3-struts-2-plugin/ -Ben

Re: Strus2-tiles-plugin-2.2.1

2011-03-29 Thread Mohamed Rabie Hayoun Ben Maimoun
thanks for the advise. For next aplication i will try it. But now i have done almost 50% of the aplication, So i want to finish it. Thanks! 2011/3/29 webmeiker > I recommend you to use *Sitemesh *decorator instead of Tiles. > > > 2011/3/29 Mohamed Rabie Hayoun Ben Maimoun >

Strus2-tiles-plugin-2.2.1

2011-03-29 Thread Mohamed Rabie Hayoun Ben Maimoun
own configuration loader but that it's only with tiles no in combination with struts2-plugin. Some knows a way to do that? Thanks -- Mohamed Rabie Hayoun Ben Maimoun

Re: Why optionscollection doesn't persist the clicked value

2010-01-06 Thread Hanen Ben Rhouma
ment is changed? > > Is the second element's options based on what was selected > in the first element? > > How do you get the JSP to re-render when the first element > is changed? > > > -Original Message- > > From: Hanen Ben Rhouma [mailto:hanen...

Re: Why optionscollection doesn't persist the clicked value

2010-01-06 Thread Hanen Ben Rhouma
hat's odd. > > If you were to the actionform's property > when the page is re-rendered, what does it contain? > > > > > -----Original Message- > > From: Hanen Ben Rhouma [mailto:hanen...@gmail.com] > > Sent: Wednesday, January 06, 2010 10:54 AM

Re: Why optionscollection doesn't persist the clicked value

2010-01-06 Thread Hanen Ben Rhouma
t; > From: Kawczynski, David > > Sent: Wednesday, January 06, 2010 9:46 AM > > To: Struts Users Mailing List > > Subject: RE: Why optionscollection doesn't persist the clicked value > > > > Is the scope of the corresponding action-form "session"

Why optionscollection doesn't persist the clicked value

2010-01-06 Thread Hanen Ben Rhouma
Hello, I don't understand why optionscollection doesn't persist the clicked value. I'm using many of them: second one is filled after selecting one parameter from the first one and so on but the thing is that after each selection it reloads the jsp page without persisting the first clicked value

Re: Problem Sumitting Struts Form containing a drop down list

2009-11-10 Thread Hanen Ben Rhouma
offensive in his email. > > Paul > > On Tue, Nov 10, 2009 at 9:36 AM, Hanen Ben Rhouma > wrote: > > Thanks for your reply Davidn but please guys try to stop talking to me as > if > > I'm an idiot stubborn girl who doesn't know what she wants or even what > >

Re: Problem Sumitting Struts Form containing a drop down list

2009-11-10 Thread Hanen Ben Rhouma
ollow this approach, chances are any problem you run into will > be one that can be described in a clear and concise manner. Once you > get this working correctly, you have the building blocks to do more > advanced things like ajax interactions. But if you don't have a firm &

Re: Problem Sumitting Struts Form containing a drop down list

2009-11-10 Thread Hanen Ben Rhouma
based on the value selected in a drop-down. I also > heard something about forwarding to another jsp page. If you can > clarify your intent you may end up with a good pointer or two. > :) > > > -Original Message- > > From: Hanen Ben Rhouma [mailto:hanen...@gmail.c

Problem Sumitting Struts Form containing a drop down list

2009-11-09 Thread Hanen Ben Rhouma
Please, I need your help: I've spent more than one week on trying to figure out how to submit a struts 1 form containing a drop down list (using optionsCollection). The problem is that the items in the optionsCollection refer to the action assigned to the form while I need that same action to submi

Re: How can I get the selected value from a scroll down list ?

2009-10-23 Thread Hanen Ben Rhouma
Thanks Sandeep for this suggestion, I will digg further in this direction. On Fri, Oct 23, 2009 at 12:29 PM, Sandeep Shenvi < sandeep.she...@lntinfotech.com> wrote: > Hi, > If I understand ur problem correctly then u want to jump from > ChangesFilterAction class to some other Action class... bef

How can I get the selected value from a scroll down list ?

2009-10-23 Thread Hanen Ben Rhouma
Hello, Please, how can I get the selected value from a scroll down list (it's a collection of values extracted dynamically : and submit it to another action?? (the problem is that I can extract the value

Re: No getter method for property: "productName" of bean: "product"

2009-10-19 Thread Hanen Ben Rhouma
s and Strings has no > property nor getters for ProductName > > Is it correct? > > Alessio > > > > 2009/10/19 mlivro79 > > > > > Hi, > > > > i think that if you call property productname the getter should be > > getProductname() and not get

No getter method for property: "productName" of bean: "product"

2009-10-14 Thread Hanen Ben Rhouma
Hello, Please I have a problem to which I'm stuck since this morning: I am trying to render the product list in a jsp page included into a struts 1.3.8 application and when iterating on the product entity parameters I get this exception: No getter method for property: "productName" of bean: "prod

How to load a tree dynamically?

2009-09-23 Thread Hanen Ben Rhouma
Morning, Is it possible to load a tree dynamically with a jsp in an MVC architecture (using struts 1.3). Dynamically means I got a perforce depot which I need to retrieve its children as nodes but progressively (on clicking on any parent directory it will display its children). Till now, I've jus

Dynamic Tree construction with Struts 1.3

2009-09-09 Thread Hanen Ben Rhouma
Hello There, Can someone tell me if it's possible to code dynamic trees making some actions load their result accordingly with Struts 1.3 ? I've seen many threads related to Dojo integration into Struts2 but I need to work with Struts 1.3, are there any tutorials for such requirement? Thanks in

How to print out method result called into execute() on a JSP page

2009-09-01 Thread Hanen Ben Rhouma
<http://www.doyoubuzz.com/hanen-ben-rhouma>Hello there, I have another question which is: How can I get the result of a method called into my execute() method and which I want to print out on my JSP page (I'm using Struts1.3 and want to call usersForm.getUsersList() for example and

Re: Cannot find bean: "xxxx" in any scope

2009-08-27 Thread Hanen Ben Rhouma
24 PM, Lukasz Lenart < lukasz.len...@googlemail.com> wrote: > 2009/8/27 Hanen Ben Rhouma : > > >path="/users" > >id="users" > >scope="request" > >name="users" > &

Cannot find bean: "xxxx" in any scope

2009-08-27 Thread Hanen Ben Rhouma
Hello there, Please I have a blocking point which on which I've spent two days with no light at the end if tunnel: Actually I've declared my bean into struts-config.xml like this: after that I tried to invoke this bean's method so I wrote in my users.jsp page: when running my application i

Re: Struts 2 and Validation Testing

2007-05-17 Thread Ben Morgan
appears that the problem stems from the fact that there isn't a configured object factory for the test, which results in a NullPointerException. I've solved this using the following code : ObjectFactory.setObjectFactory( new ObjectFactory() ); Hope this helps. Ben -- V

FW: tag populating a table not in a form does not rerender on page refresh. (Struts 1.1)

2006-12-01 Thread Ben Flynn
*/ I know that the 'MSchedules' ArrayList is properly being updated because I have it write its contents to console in my ActionForm 'reset' method. Thanks! Ben

FormFile.getContentType and IE

2005-11-12 Thread Ben
known problem? How can I get around this? Thanks, Ben - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: FormFile throws Serializable exception in session scope

2005-11-10 Thread Ben
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409) Thanks, Ben On 11/11/05, Laurie Harper <[EMAIL PROTECTED]> wrote: > Ben wrote: > > Hi > > > > Could someone please let me know how t

Re: OT: Best AJAX framework

2005-11-10 Thread Ben Kim
ng. Rasmus' 30 second AJAX Tutorial http://marc.theaimsgroup.com/?l=php-general&m=112198633625636&w=2 Ben Kim Developer http://benix.tamu.edu - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Validate url

2005-11-10 Thread Ben
r urlValidator = new UrlValidator(schemes); if (urlValidator.isValid(url)) { // Valid url } else { // Invalid url } -Ben On 11/10/05, Fulgencio Comendeiro, Eduardo <[EMAIL PROTECTED]> wrote: > In the file struts-config.xml > > Do you have ?? > > > value="/WE

Validate url

2005-11-09 Thread Ben
d, it always return false, here are some of the urls I used: http://www.yahoo.com/ http://localhost/ https://www.amazon.com/exec/dsfasdf Please let me know how to use Struts url validation. Thanks, Ben - To unsubscribe, e-mail: [

FormFile throws Serializable exception in session scope

2005-11-09 Thread Ben
Hi Could someone please let me know how to make FormFile work in the session scope? It always gives me Serializable exception. I need to use FormFile in session scope. Thanks, Ben - To unsubscribe, e-mail: [EMAIL PROTECTED

ActionForm reset() and redirect.

2005-07-04 Thread Ben
other properties except the boolean ones. What I can do to fix this? If I don't set the boolean properties to false in the reset method, the form works fine. Please help, thanks. Ben - To unsubscribe, e-mail: [EMAIL PROTECTED

JSP Precompilation Errors

2005-04-06 Thread Neuman, Ben J., A&M IRM
"html" %> <%@ taglib uri="/struts-logic" prefix="logic" %> I have a suspicion that this is a classpath problem and not related to Struts directly, however, any help would be greatly appreciated. Thanks! Ben

Struts and Security

2005-03-20 Thread Ben Taylor
Hi, Does anyone know if there is a way to have the login page for container security submit to an action? At the moment it's embedded within a tile so when I sumbit the form it goes looking for some page hidden behind the web-inf folder. Any help appreciated. Thank you. ---

Re: Multibox

2005-03-19 Thread Ben Taylor
to displaying the page, populate selectedModule property of the > form with its corresponding row.id values. When is > invoked on the page, it will "recongize" the relationship and render the > checkboxes as checked. > > /robert > > Ben Taylor wrote: > > Hi, &g

Multibox

2005-03-19 Thread Ben Taylor
Hi, Can anyone let me know how to automatically check checkboxes? Below is my current code: This is one of the many ways I've tried to get it to work: {some Boolean equation} Cheers for you help!

DynaActionForm - set null for initial value

2005-03-09 Thread Ben
Hi How do I set the initial value of a form property to null (of type String)? When I do a get/getString, it always return an empty string even though I haven't set the initial property to "". Thanks Ben - To

Eliminate Setup Actions

2005-03-05 Thread Ben Taylor
Hi, Can anyone tell me if there is an easy way to put information (required to populate drop down boxes using data from a db) in to the request, without having to write a setup Action for each page as is done here: http://www.reumann.net/struts/lesson2/step9.do . Thank you for any help! ---

Remove Tiles Component

2005-03-03 Thread Ben Taylor
I know there have been a few Tiles related question recently, but having read them I still can't figure out how to solve my problem. At current I'm using: ... within a few of my JSPs. The position of this component within the document changes for each JSP file so I can not create a new layout f

Re: RequestURI (Action not JSP)

2005-02-28 Thread Ben Taylor
I must admit I'm a little unsure of how to do that within the JSP. I'm tempted to use request.getRequestURI() from within the StrutsAction and place that value into the session / request under my own variable name Obviously if a value already exists that is in scope I'd much prefer to use tha

RequestURI (Action not JSP)

2005-02-27 Thread Ben Taylor
Can anyone tell me if it is possible to extract the name of the current action from within a JSP? ie. /welcome.do, or /secure/login.do... Is there a tag that can do this - maybe within one of the additional tag libraries? Thank you in advance.

Strange Behaviour (ClassNotFoundException)

2005-02-18 Thread Ben Taylor
Hi, I'm im the middle of creating a Struts project using JBuilder, which correctly compiles all of my java files to the /classes/ directory with the correct nesting for my packages - ie. /classes/com/com_name/resource/MyClass.class. My problem is that when I run the application it seems to think

Re: Database Access

2005-02-02 Thread Ben Taylor
So you use one approach or the other? On Tue, 01 Feb 2005 18:43:41 -0600, Vic <[EMAIL PROTECTED]> wrote: > See if this helps: > > http://wiki.apache.org/struts/DaoRelated > > .V > > Ben Taylor wrote: > > >Can anyone tell me the best way to setup / manage

Database Access

2005-02-01 Thread Ben Taylor
Can anyone tell me the best way to setup / manage database connections using Struts? I've read a couple of books on Struts and they talk about using a processbean though I am unsure how this is linked with things like iBATIS (http://www.ibatis.com/), or the Struts DataSource manager (as both menti

URL validation isn't working

2005-01-13 Thread Ben
valid? Am I missing something? Thanks, Ben - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Error Messages via redirect

2004-12-19 Thread Ben
Hi What is the prefer way to handle error messages via redirect? Regards, Ben - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Session scope form and saveErrors

2004-12-17 Thread Ben
sion and extend StrutsUtils class to get the error messages from the session. The original StrutsUtils class only retrieves error messages from request. Is this the correct way to display error messages with session scope form in Velocit

Re: Nested form validation

2004-12-10 Thread Ben
d form. > > > > On Fri, 10 Dec 2004 10:41:36 +1100, Ben <[EMAIL PROTECTED]> wrote: > > If I do this, can I use Struts validators and my custom validate method? > > > > > > > > > > On Thu, 9 Dec 2004 16:08:03 -0600, Hubert Rabago <[EMAIL PROT

Re: Nested form validation

2004-12-09 Thread Ben
errors = userForm.address.validate(); // Validate the addressForm So the errors variable would contains errors in userForm and addressForm. Thanks, Ben On Thu, 09 Dec 2004 16:01:12 -0600, Matt Bathje <[EMAIL PROTECTED]> wrote: > Are you talking somet

Nested form validation

2004-12-09 Thread Ben
NormalForm and ignores my validation in the NestedForm. I hope this question makes sense to you... :) Thanks, Ben - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Best approach to implement date dropdown

2004-12-07 Thread Ben
Hi Carlos I was meant to say ValidatorForm. Cheers Ben On Tue, 7 Dec 2004 09:42:08 -0600, Carlos Cajina <[EMAIL PROTECTED]> wrote: > Good mornign Ben... > > I've settled for the quick & easy solution: there are lots of JavaScript > scripts that can handle date selec

Best approach to implement date dropdown

2004-12-07 Thread Ben
, I can call them as timeperiod.start.month, timeperiod.start.day and timeperiod.start.year, etc... My concern is how to validate the data and make sure the start date less than the end date. I am looking forward to hear from you. Thanks,

Re: ValidatorPlugin requires internet connection

2004-11-12 Thread Ben
> > I use the Validator Plugin and Tomcat with no internet connection with no > problems. > > Niall > > > > - Original Message - > From: "Ben" <[EMAIL PROTECTED]> > To: "Struts" <[EMAIL PROTECTED]> > Sent: Saturday, Nove

ValidatorPlugin requires internet connection

2004-11-12 Thread Ben
http://jakarta.apache.org/commons/dtds/validator_1_1.dtd";> Thanks Ben - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: AW: Are there Struts Applications in real life out there?

2004-11-10 Thread Ben
Sensis.com.au use Struts ... :) On Wed, 10 Nov 2004 14:02:51 -0800, Craig McClanahan <[EMAIL PROTECTED]> wrote: > On Tue, 9 Nov 2004 11:29:59 -0500, Ted Husted <[EMAIL PROTECTED]> wrote: > > The lead system architect for one of the world's largest banks told me that > > he uses the "bookstore tes

Re: vs. onclick result

2004-11-10 Thread Ben Anderson
There are times when scriplet expressions must be used (static variables), but you should try to avoid them when you can. -Ben On Wed, 10 Nov 2004 11:10:48 -0800, Cook, Lori A <[EMAIL PROTECTED]> wrote: > I am experiencing difficulty using tag libraries and the passing through > of script

Re: ImageButtonBean & LookupDispatchAction

2004-11-09 Thread Ben
executes the method accordingly. The problem is if I don't click on the image button but press "Enter" to submit the form, your DispatchUtil is unable to find the forward and thrown an Exception in the getMethodName function. Thanks, Ben On Fri, 01 Oct 2004 03:14:07 -0700, Michael

Re: PageFlow

2004-11-04 Thread Ben
That's the only link I found for PageFlow on Google and since it's in Struts CVS I thought it was reasonable to ask that here. I would like to know whether it is stable enough to use. Thanks, Ben On Thu, 4 Nov 2004 17:10:58 +0530, Y, Rajagopal <[EMAIL PROTECTED]> wrote: > Hi

PageFlow

2004-11-03 Thread Ben
Hi What is the current status of PageFlow? http://cvs.sourceforge.net/viewcvs.py/struts/pageFlow/ Thanks Ben - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Validation and data display

2004-10-28 Thread Ben Anderson
You can turn off declaritve validation. Then put the validation in your Action.execute and do whatever you want: ActionMessages am = form.validate( mapping, request ); if( am.size() != 0 ){ -Ben Quoting Tate Austin <[EMAIL PROTECTED]>: > I have a page in which I woul

Realm context in ActionForm

2004-10-26 Thread Ben
Hi How do I obtain the Realm context or get the current realm in an ActionForm? I would like to sign in the users after they have signed up using my RegistrationActionForm. Thanks, Ben - To unsubscribe, e-mail: [EMAIL PROTECTED

[OT] Re: Request parameters not making it to Actions?

2004-10-22 Thread Ben Anderson
Possibly many of you already have your own approaches for seeing what's actually transmitted over the wire, but if you don't - check out the LiveHTTPHeaders extension to Firefox - I love it! - To unsubscribe, e-mail: [EMAIL PROTEC

validateTwoFields

2004-10-06 Thread Ben Anderson
ces.getActionError(request, va, field)); return false; } } catch (Exception e) { errors.add(field.getKey(), Resources.getActionError(request, va, field)); return false; } } Thanks, Ben

Re: back button

2004-10-04 Thread Ben
andy, have you had a look at the PRG pattern? You can see a working example and access its source code here: http://www.superinterface.com/projects/prgtoolkit.htm You can view the article here: http://www.theserverside.com/articles/content/RedirectAfterGet/article.html HTH Cheers, Ben On

Search engine friendly URLs

2004-10-02 Thread Ben
Hi Is it possible to make the URLs on my site search engine friendly? I am using Tomcat and Struts. I would like to turn: http://localhost/site.do?section=books&subsection=architecture into this: http://localhost/do/site/books/architecture Regards,

Re: ImageButtonBean & LookupDispatchAction

2004-10-01 Thread Ben
Thanks Michael. I believe I have all the necessary information to move forward. Thanks again. -Ben On Fri, 01 Oct 2004 01:01:21 -0700, Michael McGrady <[EMAIL PROTECTED]> wrote: > Hi, Ben, > > If you follow the link I gave you, all the source code is available at > the demons

Re: ImageButtonBean & LookupDispatchAction

2004-10-01 Thread Ben
ache.org/struts/StrutsCatalogVariousButtonSolutions , Ben. > > > > Ben wrote: > > >Thanks everyone, especially Mike for providing me with a very > >comprehensive answer. I am evaluating the suggested solutions. > > > > > >On Thu, 30 Sep 2004 09:03:39 -0600, Carlos C

Re: ImageButtonBean & LookupDispatchAction

2004-10-01 Thread Ben
Thanks everyone, especially Mike for providing me with a very comprehensive answer. I am evaluating the suggested solutions. On Thu, 30 Sep 2004 09:03:39 -0600, Carlos Cajina - Hotmail <[EMAIL PROTECTED]> wrote: > Hi Ben. > > I see that Mike McGrady already pointed y

Forms and Building Generic logic to control focus

2004-09-30 Thread Sifuentes, Ben
Example of retrieving the configuration of the form. OutStanding questions are: 1.) Is the order of the array returned from findFormPropertyConfigs() call the order defined in the tag of the struts-config.xml file? 2.) From the server side. If one wished to determined if the fieldname was requi

ImageButtonBean & LookupDispatchAction

2004-09-29 Thread Ben
Hi Anyone knows any example on how to use ImageButtonBean in LookupDispatchAction? Or can someone give me an example implementation? Thanks. Regards, Ben - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

DynaValidatorForm question

2004-05-12 Thread Sifuentes, Ben
tions? -Ben - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

validator-rules.xml question

2004-05-12 Thread Sifuentes, Ben
Does the need to be unique? Can you have two different validators with the same name but with different class="..." definitions -Ben - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

FW: FW: multiple validators and ActionErrors

2004-05-07 Thread Sifuentes, Ben
Message- From: Sifuentes, Ben Sent: Saturday, May 08, 2004 1:06 AM To: 'Struts Users Mailing List' Subject: RE: FW: multiple validators and ActionErrors Sorry, that was a cut and past error on my behalf it really is Again sorry for the confusion... -Ben -Origin

RE: FW: multiple validators and ActionErrors

2004-05-07 Thread Sifuentes, Ben
Sorry, that was a cut and past error on my behalf it really is -Ben -Original Message- From: Susan Bradeen [mailto:[EMAIL PROTECTED] Sent: Friday, May 07, 2004 4:12 PM To: Struts Users Mailing List Subject: Re: FW: multiple validators and ActionErrors Ben, Theoretically, if

FW: multiple validators and ActionErrors

2004-05-07 Thread Sifuentes, Ben
validate(...) method within the form to do something like this to combine all the errors being generated by the validators? ActionErrors errors = validate(); Any help would be appreciated. Thanks, -Ben -Original Message- From: Sifuentes, Ben [mailto:[EMAIL PROTECTED] Sent

multiple validators and ActionErrors

2004-05-06 Thread Sifuentes, Ben
I'm using multiple validators for my form. I noticed by chance that each validator is overwriting the ActionErrors for the previous validator that was run. Can someone tell me why this is happening and how to solve the problem? Any help with the problem will be greatly appreciated. Below is the