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
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
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
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
>
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
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...
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
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"
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
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
> >
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
&
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
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
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
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
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
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
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
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
<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
24 PM, Lukasz Lenart <
lukasz.len...@googlemail.com> wrote:
> 2009/8/27 Hanen Ben Rhouma :
> > >path="/users"
> >id="users"
> >scope="request"
> >name="users"
> &
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
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
*/
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
known problem? How can I get around this?
Thanks,
Ben
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
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]
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
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: [
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
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
"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
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.
---
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
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!
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
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!
---
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
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
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.
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
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
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
valid?
Am I missing something?
Thanks,
Ben
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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]
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
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
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
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]
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
, 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,
>
> 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
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]
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
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
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
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
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]
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
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
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
ces.getActionError(request, va, field));
return false;
}
} catch (Exception e) {
errors.add(field.getKey(),
Resources.getActionError(request, va, field));
return false;
}
}
Thanks,
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
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,
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
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
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
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
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
tions?
-Ben
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
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
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
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
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
75 matches
Mail list logo