Hi Néstor Boscán,
You can use multiple struts-config.xml files.
for that you have modify web.xml file
steps
1. in ActionServlet init params u can pass all the struts-config.xml
file(s) as a values.
action
org.apache.struts.action.A
I have there only these examples:
* Taglib Test Pages
* Upload examples
* Validator and Localization examples
there is nothing about authentication...
Peter
Thursday, April 14, 2005, 4:43:42 PM, you wrote:
> There are examples in the Struts shipment.
> On 4/14/05, Peter L
The "modification" clause is why many businesses do not use GPL
software. They can't modify the source, even for internal use, without
their own work being encumbered by the GPL.
The GPL only kicks in when you are distributing. You can freely modify
GPL'd software for your own use, even in a busi
Hello again,
The main reason I wanted to use WEB-INF at first was to protect jsp/xml
but this would lead to module contents i two places, static content
(images etc) in /modulename and pages in WEB-INF/pages/modulename.
After trying some things I have decided, for now, to place each module
with
Hi all,
I got a problem, again :)
when I input special characters like japanese or vietnamese character into
, automatically encodes that characters Decimal NCRs
before mapping to bean property.
Example 1:
or
...
I input japanese characters: ããã
Before it is mapped to bean property myPro:
Hello Guys,
I need to access a file from inside an actions class. I will use its
content as email contents.
Regards
Richard
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Whether it extends ActionForm or ValidatorActionForm doesn't matter.
You can still access the validation functionality as normal. I was
just clarifying the inheritence. The most current version of jpetstore
that you can download from ibatis.com extends ActionForm. The version
in SVN has the same ar
FYI
--
James Mitchell
Software Engineer / Open Source Evangelist
Consulting / Mentoring / Freelance
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
Yahoo: jmitchtx
MSN: [EMAIL PROTECTED]
- Original Message -
From: "Pierre Delisle" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>;
<[EMAIL PROTE
Hi Brandon,
As you mean, I must code new BaseBean, which extends from
ValidatorActionForm more than using default BaseBean of iBatis which extends
from ActionForm?
If so, thank you very much ... may be my problem is solved by you :")
again, thank you!
Pham
- Original Message -
From: "Br
Thanks Ted. Yes, I dig the BSD-style license, and I sure am glad Apache
is aligned that way. Too bad there doesn't seem to be a database on par
with MySQL under a BSD-style license, but PostgreSQL is at least
something I think I can work with. The GPL style license is just as
important to have
temp temp wrote:
I am implementing pagination for most of my jsp's so I
created a pagination bean
with properties corresponding to pagination and this
bean extends to ActionForm .
All my formbeans extend to the pagination bean class.
In all my action classes I am repeating code to set
values co
I am implementing pagination for most of my jsp's so I
created a pagination bean
with properties corresponding to pagination and this
bean extends to ActionForm .
All my formbeans extend to the pagination bean class.
In all my action classes I am repeating code to set
values corresponding to pa
Done: http://issues.apache.org/bugzilla/show_bug.cgi?id=34460
K.C.
Joe Germuska wrote:
At 11:19 AM -0700 4/14/05, K.C. Baltz wrote:
I stand corrected and informed. Now that you mention it, I remember
looking into this before. I wish the Struts Users Guide HTML tag API
made the difference a litt
At 3:24 PM -0400 4/14/05, Les Dunaway wrote:
Joe,
Thanks for looking at it. Yes, I am saving the errors - I cut it
too short here's all the code
if(!ud.isUserExist(username)){
errors.add(ActionMessages.GLOBAL_MESSAGE,
new ActionMessage("error.logon.
Thank you.
This is something I havent gotten to yet (trying to talk the client
ouf ot if given the time contraints, of course) but thank you. I will
no doubt make use of it!!
On 4/14/05, David Johnson <[EMAIL PROTECTED]> wrote:
> -- Forwarded message --
> From: Fogleson, Allen <[E
Joe,
Thanks for looking at it. Yes, I am saving the errors - I cut it too
short here's all the code
if(!ud.isUserExist(username)){
errors.add(ActionMessages.GLOBAL_MESSAGE,
new ActionMessage("error.logon.invalid.user"));
log.debug("Inval
Vic Cekvenich (NETSQL) wrote:
Craig McClanahan wrote:
Did you check your .cvsignore files in to the repository? If you do,
they get respected on future transactions.
OK, that works for "new" files, but if x.class is already there, it will
sync, so I had to rm *.
.V
--
At 11:19 AM -0700 4/14/05, K.C. Baltz wrote:
I stand corrected and informed. Now that you mention it, I remember
looking into this before. I wish the Struts Users Guide HTML tag
API made the difference a little more obvious in the description.
I'm not saying the documentation is incorrect, jus
Craig McClanahan wrote:
Did you check your .cvsignore files in to the repository? If you do,
they get respected on future transactions.
Yes. The on next cycle I compile and it wants to sync class files.
Of course this is Eclipse 3.1. I wonder if I should try some CVS gui
tool to double check.
Design Question - this is not strictly a struts question but relates to the
data structure underpinning the application and the mechanisms for accessing
that data so I hope I will be forgiven.
First, an explanation of (some of) the issues:
The project has both GUI (Swing) and Browser (Struts) int
Design Question - this is not strictly a struts question but relates to the
data structure underpinning the application and the mechanisms for accessing
that data so I hope I will be forgiven.
First, an explanation of (some of) the issues:
The project has both GUI (Swing) and Browser (Struts) int
Did you check your .cvsignore files in to the repository? If you do,
they get respected on future transactions.
Craig
On 4/14/05, Vic Cekvenich (NETSQL) <[EMAIL PROTECTED]> wrote:
> so I create .cvsignore and cvsignore all over place, including CVSROOT
> for *.class and... it still syncs classes
I stand corrected and informed. Now that you mention it, I remember
looking into this before. I wish the Struts Users Guide HTML tag API
made the difference a little more obvious in the description. I'm not
saying the documentation is incorrect, just that the quick skim I did
before I sent m
The error is suggesting that it can't find an entry for "status" in the
page scope of your page. Do you still have the in there?
If you have the scope attribute, make sure it's set to page. Otherwise
you'll have to replace pageContext with request, or session depending on
your choice of sc
Umh... I am now getting this error: Attribute addTableRow( has now value.
I have downloaded the Struts 1.2.4 and noticed that there is a lib
directory and then there is a contrib/lib.
What is necessary to use the Struts-EL tags?
I think that with RT the attribute is all expression or no express
The taglib documentation for the bean and logic tag libraries both
start with the following note:
"Note: - Many of the features in this taglib are also available in the
JavaServer Pages Standard Tag Library (JSTL). The Struts team
encourages the use of the standard tags over the Struts specific ta
I think that with RT the attribute is all expression or no expression.
so try :
">
I'm not sure if i parsed your intention correctly, but the idea is that
the attribute should be all expression. a simpler example:
wrong ->
right -> ">
dave
On Thu, 2005-04-14 at 12:42, [EMAIL PROTECTED] wrote
Hi
i desire to work with tags, i have been researching about Struts tags and
JSTL, ¿what do you suggest me?,
thanks
--
Ing Milson Fredy Cardona E
At 8:55 AM -0700 4/14/05, K.C. Baltz wrote:
Perhaps you should be using to display your error
messages instead of
I think it depends on if you use saveErrors or saveMessages in your Action.
This is NOT true.
The differences between the h:errors tag and the h:messages tag are
functional, but bo
Okay...
I tried the following:
')">
and I get this error:
Error 500: /WEB-INF/personal/timeAndAttendance/cWWHistory.jsp(215,129)
Attribute status has no value
I'd really like to get this working, I will then spend some time looking
into upgrading to a later version of Struts ti use the E
[EMAIL PROTECTED] wrote the following on 4/14/2005 12:03 PM:
Okay... I am not using the Struts EL taglibs.
Should I be using them?
I think you should. Makes the code a lot cleaner. Remember if you are
using a JSP2.0 container (ie Tomcat 5), just use the regular html tags
(not the el ones). (Then
Absolutely and of course. I based this validator on the TwoFields
validator floating around. I never changed that property. I think
laterDate would be my pick. dateBefore is a good choice as well.
Thanks for the feedback,
K.C.
Dave Newton wrote:
If this is going to get into the distro could
I think Dave's got it. Use the struts-el tags if you want to have EL
expressions instead of RT expressions (<%= ... %>)
If you want/have to stick with RT, then you'd need this instead of
${status.index}
<%= ((javax.servlet.jsp.jstl.core.LoopTagStatus)
pageContext.getAttribute("status")).getIn
Okay... I am not using the Struts EL taglibs.
Should I be using them?
You choose to use the struts EL tags by a) using the struts EL tld (like
struts-html-el.tld) and b) by having the struts-el tag JAR file. I don't
know if they come by default with the latest release or not; you'd have
to che
Perhaps you should be using to display your error messages
instead of
I think it depends on if you use saveErrors or saveMessages in your Action.
K.C.
Les Dunaway wrote:
I am having problems with Struts 1.2.4 ActionMessage / ActionError.
I'm using a setup like recommended on the wiki
Acti
Hi Scott,
Firstly - changing the subject breaks the threading in many mailreaders!
Securing your application is completely independant of Struts. Neither needs
to know anything about the other - that is why it is such a nice & easy
solution.
Yes - I'm implying exactly what you say I am.
Here's
If this is going to get into the distro could we call
secondProperty
endDate
"secondProperty" to 'laterDate' or 'endDate' or whatever to
Don't feel bad Vic my .cvsignore ignores everything except my .project
and .classpath files :) it just grates on me to see the little > in
eclipse when I know it is just the stupid project and classpath files.
Worse is the fact that because of that I always have to check to make
sure I haven't miss
[EMAIL PROTECTED] wrote:
How can I tell which version of the struts tags?
You choose to use the struts EL tags by a) using the struts EL tld (like
struts-html-el.tld) and b) by having the struts-el tag JAR file. I don't
know if they come by default with the latest release or not; you'd have
t
so I create .cvsignore and cvsignore all over place, including CVSROOT
for *.class and... it still syncs classes.
anyone know?
I guess sign up for the cvsmail list.
.V
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional co
Scott Purcell wrote:
Thank you very much for your comments on this topic Paul.
Now, I understand the basics of using a filter, extending the base class and configuration in the web.xml file. But how can I use a filter in unison with Struts.
I am not seeing how I would use the filter. Are you impl
Sure. I had figured to bring it to the -users list before anything -dev
related so I could get it reviewed. But I'm happy to put in an
enhancement.
Done. http://issues.apache.org/bugzilla/show_bug.cgi?id=34454
K.C. Baltz
James Mitchell wrote:
Thanks for your contribution. Any chance I could
"Right, like Mark said, I'm following JPetStoreExample, Rick :), when you use
DAO, ur Bean must extends from Basebean of DAO pattern."
Pham, the way you are explaining this doesn't seem quite right. The
inheritence of the Presentation bean goes as such:
AccountBean <- AbstractBean <- BaseBean <-
How can I tell which version of the struts tags?
Dave Newton <[EMAIL PROTECTED]>
14/04/2005 10:53 AM
Please respond to "Struts Users Mailing List"
To: Struts Users Mailing List
cc: (bcc: Glenn Deschenes/NAT/CMHC-SCHL/CA)
Subject:Re: JSTL simply love
Thank you very much for your comments on this topic Paul.
Now, I understand the basics of using a filter, extending the base class and
configuration in the web.xml file. But how can I use a filter in unison with
Struts.
I am not seeing how I would use the filter. Are you implying that I should
[EMAIL PROTECTED] wrote:
Niether solution works...
The expression is never evaluated. The output is:
Are you using the EL version of the struts tags?
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-
Niether solution works...
The expression is never evaluated. The output is:
"Abdullah Jibaly" <[EMAIL PROTECTED]>
14/04/2005 10:06 AM
Please respond to "Struts Users Mailing List"
To: "Struts Users Mailing List"
cc: (bcc: Glenn Deschenes/NAT/CMHC-SCHL/CA)
There are examples in the Struts shipment.
On 4/14/05, Peter Laufer <[EMAIL PROTECTED]> wrote:
> Hi theere.
> I'm newbie to struts.
> I need some simple example how to do FORM AUTHENTICATION with struts.
> can you help me? (send it to: [EMAIL PROTECTED]).
>
> thank you very much.
>
> Best Regard
Scott:
I'm kind of confused by a couple of things you wrote. Can you clarify?
Now don't get me wrong this works, but by extending the Action class
I kind of screwed myself by not being able to use a
RequestDispatcher because now the signature of the "subclassed
action" was not the same as what
+1 on Paul's comments. Doing this with the RequestProcessor is
putting a relatively minor detail into the core of your application.
Filters are good. I also think attaching a User.java object to your
HttpSession is a very good idea. I actually have a number of things I
like to attach with the u
Hi Scott,
I can't remeber if it was your question I replied to regarding
authentication where I recommended using a filter to do this, rather than
modifying the request processor. If it wasn't your question then I'd
recommend a serach of the archives. If it was you - I still think modifying
the re
Hi theere.
I'm newbie to struts.
I need some simple example how to do FORM AUTHENTICATION with struts.
can you help me? (send it to: [EMAIL PROTECTED]).
thank you very much.
Best Regards,
Peter
-
To unsubscribe, e-mail: [EMAIL
At 8:03 AM -0400 4/14/05, Les Dunaway wrote:
What am I messing up?
In the code you included in your email, you were not saving the
errors. If that's not just a copy/paste mistake, then there's your
problem.
Joe
I am having problems with Struts 1.2.4 ActionMessage / ActionError.
I'm using a set
Maybe Mallik should use a filter that would clear thread locals after
the request has been processed.
On 4/14/05, Jeff Beal <[EMAIL PROTECTED]> wrote:
> I'm not sure that web containers are required to create a new thread
> at the beginning of each request. Weblogic, for example, seems to
> keep
I think ${status.index} in place of s_SOMETHING_HERE would work fine.
Otherwise, try setting onChange="${addTableRow}" with addTableRow prior defined
as:
addTableRow('historyTable','')
-Abdullah
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 1
Hello,
I hope I have not beaten this to death on this list, but I have never gotten an
answer that has served my interest. So I rethought the question and I am
reposting it now.
The application I created, is a web-app in which a login is required of a
"username" and "password". Pretty standar
I'm not sure that web containers are required to create a new thread
at the beginning of each request. Weblogic, for example, seems to
keep a pool of available threads, and uses one of these threads to
process each request. Using ThreadLocal with this type of app server
would mean that whatever y
All of our application state (including the user) is kept in a
separate "session" object in the business layer. (We use a stateful
session EJB, but you could easily write your own POJO for this.) The
web session, then, only has a reference to this session object (and a
few other view-specific var
Hi all,
getting the above error while running oracle 9ias 9.0.3 (Java Servlet 2.3 and
JavaServer Pages 1.2) but works fine with oracle 10g(Java Servlet 2.4 and
JavaServer Pages 2.0). The page uses JSTL and a lot of tags. Anyone
have experience on this?
Exception:
java.lang.VerifyError: (class:
Thanks much - this is what I was looking to find out.
Dave
|-+-->
| | "Niall Pemberton" |
| | <[EMAIL PROTECTED]|
| | nder.co.uk>|
| | |
|
I have started to use JSTL this week. I simply love it !!!
However, I have one small problem that I cannot seem to get working.
Here is a snippet of code that works fine:
What I need to do is add an onChange event for
I haven't done this before, but try this:
1. Use the forwardPattern attribute of and give it the
same value you're giving pagePattern now.
2. Set up a custom ForwardAction. The existing ForwardAction sets
contextRelative which skips the use of forwardPattern. For your
custom version, copy the
I am having problems with Struts 1.2.4 ActionMessage / ActionError.
I'm using a setup like recommended on the wiki
ActionMessages am = new ActionMessages();
am.add( ActionMessages.GLOBAL_MESSAGE,
new ActionMessage( "not.authorized.for.account" ) );
saveErrors( request, am );
On 4/13/05, Erik Weber <[EMAIL PROTECTED]> wrote:
> I get the feeling that the GPL restrictions (at least in MySQL's case)
> are meant for those who are taking the database and specializing it for
> their business (by altering or extending the source code) not just
> merely using it to power the da
Corey Probst wrote:
> Take a look at ThreadLocal, I've never used it but it should do what
> you want.
> Someone correct me if this is not a good idea or won't work
It works fine.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Fo
-Original Message-
From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 14, 2005 2:46 AM
To: user@struts.apache.org
Subject: [OT]find available language property files in a web application
Hi
How to find out which language property files are
availble in a web project, for
-Original Message-
Just in case you don't know this, Ashish, which you probably do, if
the user's browser is in a language and you have that language
available, the language will be shown automatically without the user
having to see if it is available. Having choices is valuable only
where
thanks so much :)
--
Rafael Taboada
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello, We are currently refactoring our Web applications into one
application using Struts modules so that we can share common resources
more easily between the different modules.
Now to the problem, we are currently placing all our jsps in
/WEB-INF/pages/ but when introducing modules I get 404
69 matches
Mail list logo