In LoginForm class itself, I have placed the get and set methods. What
should be contained specifically in LoginValueBean class ? I am sort of
confused.
On 9/30/06, Tom Jerry <[EMAIL PROTECTED]> wrote:
I want an example in terms of coding please.
On 9/29/06, Eddie Bush <[EMAIL PROTECTED]>
Hi All,
I get the below mentioned Exception on console whenever i try to open my
application from browser. But, I dont have any problems in accessing the
application from front end, my application works well. For each menu item i
try to open, i get this Exception. Can anyone plz tel me
Another approach is to use urlrewrite filter
(http://tuckey.org/urlrewrite/) and configure an outbound rule to get
rid of the jsessionid=XYZ part:
remove outbound jsessionid
^(.*);jsessionid=[^\?]*(.*)$
$1$2
Hansen
-Original Message-
From: Paul Benedict
red phoenix wrote:
I want to get a value from a JSP in Action,like follows:
/*jsp*/
<%@ page contentType="text/html;charset=gb2312" %>
.
And I input a Chinese Word in ex area,then I get the ex value from a
Action,like follows:
/*Action*/
public ActionForward execute(ActionMapping mapping,Ac
Or, more simply, you could take advantage of the Role-based access
control features provided by Struts and Tiles.
Struts supports a 'role' attribute on an action mapping which prevents
that action from being invoked unless the user has the required role. It
also includes some taglib support, s
Strachan, Paul wrote:
Hi All,
(Struts 1.2.4, Validator 1.1.3)
I have a DispatchAction which forwards to 3 possible Jsps (populated by
a single DynaForm)
Next, I added validations for each of the 3 JSP pages but now each
validation is different, it seems I need to clone the forms ???
But, also
Manually constructing Dyna* forms is a little involved and is generally
not something you want to do. You're going to be using indexed
properties either way, so I would suggest you go with the second option
or, alternatively, take a look at the LazyDynaForm variants and/or the
FormDef project.
J. Patrick Bedell wrote:
Hello,
Sorry for what is surely a FAQ from a struts newbie...
I'm trying to make a complex object available to my JSP so that
code in the JSP can access subobjects within the original object (it's
an Amazon Item object generated with XMLBeans). What is the right way
Hello,
This is driving me crazy. I hope someone can enlighten me. I am
using struts-faces and when I navigate to manageWFCollections.faces I
get the following error: Cannot find action 'saveWFCollection.do'
configuration. For some reason struts cannot find what I specify in the
"
http://ja
I do not understand what you had changed: You had listed a "success" mapping
which uses the path "/GroupRulesManager/Global/returnToPrev.do" which
matches your page error. You also listed a "back" mapping which goes to
"GroupRulesManager/returnToPrev.do". Both of them perform redirects. So
have
I'm pretty sure you can't. Is there a reason that can't be a tile? The
whole purpose of tiles is to be a way more efficient and flexible version of
JSP Includes. If you incorporated the contents of that include in a tile,
there's a good chance that you won't have to worry about trying to figure
Hi Chris,
I am still not able to make it work. Which is my
outermost tile? I think, my tiles are not embedded
into each other. Also, can I use the JSP variable
declared in printable.jsp into another tile like = "somepage.jsp">This is link
Thanks for your time.
Thanks
Vinod
--- Chris Pratt
Hello!
I posed this question a few weeks ago and I have not
received an answer to resolve this problem.
I would appreciate any help/suggestions to resolve
this.
Thanks,
SS
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection
Hello Ted. Thanks for your response. Is there a design pattern that
incorporates these helper classes? Would it be sufficient for me to
call this class an action helper? The concept of a business delegate does
not apply in this case since the code in question is not related to a
business object
In Struts 1, we do try to push as much logic as possible into helper
classes or business delegates, so that the logic can be tested outside
of the container. A good tipping point is whether the logic would make
any sense at all outside of the Struts API. If so, then it makes
sense to push it into
HI,
Try http://www.roseindia.net/struts
Regards
Deepak Kumar
-Original Message-
From: news [mailto:[EMAIL PROTECTED] Behalf Of maya
Sent: Wednesday, October 04, 2006 9:13 PM
To: user@struts.apache.org
Subject: tomcat/struts...
I'm just starting to learn struts.. have been doing JSP/se
If you are using the validation framework, you can use the tag to do that.
(*Chris*)
On 10/5/06, Patil, Sheetal <[EMAIL PROTECTED]> wrote:
U cant enter client side validation for file present or empty rather u
can restrict to enter data manually typing (offcource in javascript).
like
Better
At 11:16 AM -0500 10/5/06, Paul Benedict wrote:
I use Spring 2.0 with Struts 1.3.5, and employ
the legacy RequestProcessor because Spring
supports auto-wiring action classes with it.
That's an invaluable feature to me.
So, then (as expected), Paul's experience
demonstrates that it "works" --
I want to get a value from a JSP in Action,like follows:
/*jsp*/
<%@ page contentType="text/html;charset=gb2312" %>
And I input a Chinese Word in ex area,then I get the ex value from a
Action,like follows:
/*Action*/
public ActionForward execute(ActionMapping mapping,ActionForm
form,HttpSer
I use Spring 2.0 with Struts 1.3.5, and employ the legacy
RequestProcessor because Spring supports auto-wiring action classes with
it. That's an invaluable feature to me.
Paul
Bruno Melloni wrote:
I decided to use Spring 2.0 with Struts for my next project. But I
can't find info on the highe
On 10/5/06 10:59 AM, "Bruno Melloni" <[EMAIL PROTECTED]> wrote:
> So, although I suspect that the answer is yes, I am afraid that the
> question remains: Are Struts 2.0 and Spring 2.0 compatible?
I'm using Spring 2 and Struts 2 currently. They seem to work together fine.
The Spring team has work
I've tried Spring 2.0 with Struts 2.0 as well, and can say it works
fine, thanks to the great backwards-compatibility work done by the
Spring time. As Joe said, Spring has code to support Struts 1.x, but
Struts 2.0 has code to support Spring, interestingly enough.
As for not having a GA release,
You may consider to use the Business Rules Engine
-CJen
--- Aftab Vhora <[EMAIL PROTECTED]> wrote:
> Hi Frnds,
>
> I m developing one application using struts, in that
> I want to set the
> access level.
>
> Like Admin shd hv access to all the links, some A
> group should hv access
> to cert
I've used webwork 2.2.2 (the predecessor to s2) with Spring 2.0 without
issues. Hence, I will take the plunge and say that s2 and spring 2.0
are compatible.
/Ian
Bruno Melloni wrote:
Thanks, I just downloaded and looked at Struts 2. Seems like a nice
version, but I noticed it is not liste
A MVC OO approach beats CGI scripting ANY DAY
Just my 2 cents
M-
*
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If
Thanks, I just downloaded and looked at Struts 2. Seems like a nice
version, but I noticed it is not listed yet as a General Availability
release (just for early adopters). Also, according to its dependencies
documentation (struts-2.0.0/docs/dependencies.html), it is designed for
Spring 1.2.8 not
I have not spent much time with Spring 2.0, but I
doubt that the issues at hand are substantially
different than with Spring 1.x.
Struts 1.3.x is backwards compatible with Struts
1.2.x in most important ways (there's a Wiki page
detailing issues.) However, depending on what
parts of Spring'
On 10/5/06 10:20 AM, "Bruno Melloni" <[EMAIL PROTECTED]> wrote:
> - Struts 2.0 is out, but from what I read it is quite different from
> 1.x, and makes me doubt that it would be compatible with something that
> was built for 1.2.9. I also heard that it still has a few bugs...
> normal for a softw
I decided to use Spring 2.0 with Struts for my next project. But I
can't find info on the highest version of Struts that I can use with it.
This is what I found:
- Spring 2.0 comes with some parts of Struts 1.2.9, so it would be the
"safe bet".
- The latest Struts 1.x is 1.3.5. It seems to ha
Or they did not realize the volume of emails. :)
>>> [EMAIL PROTECTED] 10/5/2006 7:46:30 AM >>>
aye or lots of people starting to hate Struts ? :)
2006/10/5, Antonio Petrelli <[EMAIL PROTECTED]>:
>
> BABJIVALI SHAIK ha scritto:
> >
> >
>
> It must be a virus :-D
>
>
aye or lots of people starting to hate Struts ? :)
2006/10/5, Antonio Petrelli <[EMAIL PROTECTED]>:
BABJIVALI SHAIK ha scritto:
>
>
It must be a virus :-D
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
chamal desilva ha scritto:
Thanks Antonio Petrelli,
But I can't define a forward, since the forward url
and id are not static. URL can be any page and id can
be any number. Is there a way to do it without
forwards.
Did you read this line?
* return new ActionForward("page.jsp?id=10");
Comp
Thanks Antonio Petrelli,
But I can't define a forward, since the forward url
and id are not static. URL can be any page and id can
be any number. Is there a way to do it without
forwards.
Chamal.
--- Antonio Petrelli <[EMAIL PROTECTED]> wrote:
> chamal desilva ha scritto:
> > Hi,
> >
> > Is it
U cant enter client side validation for file present or empty rather u
can restrict to enter data manually typing (offcource in javascript).
like
Better to put validation on server side apart from this
-Original Message-
From: Pankaj Gupta [mailto:[EMAIL PROTECTED]
Sent: Thursday, October
BABJIVALI SHAIK ha scritto:
It must be a virus :-D
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
Find out what India is talking about on - Yahoo! Answers India
Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it
NOW
Hi,
I want to do client side validation for file upload such that if the file
does not exist or the field is left blank it should show an error. Please
suggest how I can do that.
regards,
Pankaj
37 matches
Mail list logo