Hi list,
I am currently working on an application to generate database queries.
This creation dialog is distributed over several pages ... From the 2nd
page on I want to display a back-nutton and until the last but one
page I want a next-button to be displayed.
The first thing is not so
Hi,
I think you can define two names for one form.
form-bean name=form1 type=test.CFormClass /
form-bean name=form2 type=test.CFormClass /
So you can use different validations.
Regards,
Frank
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Gesendet:
Hi list,
first of all sorry for the double-post, I had forgotten to put the
subject of my first post in English as well - as you should have noticed.
I am currently working on an application to generate database queries.
This creation dialog is distributed over several pages ... From the 2nd
Hello,
I apologise if I've missed something obvious somewhere, but I'm trying
to use a property of my form bean in a core tag, and I'm just missing
how to refer to the form bean easily, since the constant name has full
stops in it which I presume will muck up the el expression.
I've been looking
Hi,
you can do this in this way:
bean:define id=step
bean:write name=STANDARDQUERY property=step/
/bean:define
logic:greaterThan name=STANDARDQUERY property=currentStep value=%=step%
html:submit property=submit.stepBackward bean:message
Tomcat (5.0.19) comes together with commons-pool-1.1.jar, which
is under CALINA_HOME/common/lib. This directory is both seen
by container and you web applications. So, I guess the problem is not
cause by the lack of commons-pool-1.1.jar. Am I missing anything here?
Xuemin
- Original Message
Well,
I use Eclipse, and Jbuilder as my primary IDEs.
Both are nice and I was consedring them the best IDEs out there.
But when JDeveloper10g released, I think I have changed my mind.
Top reasons that I liked Jdeveloper are:
* performance + the look and feel.
* Completeness ( including UML
I've a problem with dbcp but it was different: I was declaring my ds in
a tomcat config file but the
.jar file (which contains the jdbc driver) was available only for my
application (in WEB-INF/lib) and not for
the Tomcat itself :-(
Is your driver available in WEB-INF/lib ?
Xuemin Guan wrote:
Marco Mistroni [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
Yes I was not meaning because of dispatchaction..
I guess this happens with Action in general, due to the reason
That you mentioned...
Actually I have read (from struts in action I believe) that bean
Properties are
Hi,
I m facing this problem i.e
while using html .tld the results are not reflected in netscape for
example
OnKeyPressEvent of a text box doesn't call a javascript method in
netscape but the same thing goes fine for IE
any one who knows abt this please help me out.
Thanks in advance.
Hello,
i am working on a struts application and i use JBoss 3.2.3.
My application works fine, but i tryed something that realy confused me:
I wanted to deploy my application with 2 diffrent names on 1 JBossserver.
That means:
ApplicationLIFE
and
ApplicationTEST
I want to show my customers
Lukas -- IIRC, you can use the name of the form as specified in the
action mapping.
Suppose you have a mapping of:
action path=/Foo name=FooForm .../
Then you can use JSTL on the forwared to by the action:
c:out value=${FooForm.bar}/
Lukas Hazlehurst wrote:
Hello,
I apologise if I've missed
The Servlet spec does not support 2 web.xml files. You should only have
one -- located under the /WEB-INF folder. You can have multiple struts
configuration files by specifying them in the Action Servlet
configuration in web.xml:
servlet
servlet-nameaction/servlet-name
--- Johannes Wolfgang Woger [EMAIL PROTECTED]
escreveu:
Daniel Henrique Alves Lima wrote:
I've a problem with dbcp but it was different: I
was declaring my ds
in a tomcat config file but the
.jar file (which contains the jdbc driver) was
available only for my
application (in
I am trying to run the example file upload code in BEA
WebLogic 8.1.2, but am getting an error.
All is fine until I try to return from the upload
action class. I do this:
return mapping.findForward(Success);
Which should send it back through struts to where this
is present:
forward
At 8:35 AM +0200 4/20/04, Otto, Frank wrote:
Hi,
I think you can define two names for one form.
form-bean name=form1 type=test.CFormClass /
form-bean name=form2 type=test.CFormClass /
This is true if you are coding your own form bean classes. If you
are using dynaforms and validation, you can
Are you sure that you've removed all old JARs? Did you recompile
your code against the new libraries?
The error you report might happen if you have two versions of the
Struts JAR in your WEB-INF/lib
Joe
At 2:05 PM +0200 4/20/04, [EMAIL PROTECTED] wrote:
Hi,
I have upgrade of my project from
--- Joe Germuska [EMAIL PROTECTED] wrote:
Let's try a quick poll -- are these better names?
NameDynaValidatorForm for DynaValidatorForm
PathDynaValidatorForm for DynaValidatorActionForm
If so, we could deprecate the old names and put in new ones.
If these aren't good, people are
Here is a prebuilt filter that will do just what you are looking for ..
http://www.anassina.com/struts/i18n/i18n.html
Nathan
On Apr 20, 2004, at 6:00 AM, brelagad the ent wrote:
I cannot pass Turkish characters to the action servlet
from a form. I read that I should use filters. I am
wondering,
At 7:06 PM +0530 4/20/04, Jignesh Patel wrote:
Hi All,
Can anybody guide me how to integrate quartz scheduler with tomcat?
I am trying to develop email scheduling through quartz.
You may want to have a look at the quartz tools that one of my
colleagues developed:
For those who are as ignorant as I about XSL, there is
something called EXSLT:
http://exslt.org/
It is an open source initiative which provides common functions
for processing numbers, strings, etc...
Here are some links which I found helpful when learning and pushing
the boundries of XSL:
For one, it looks like you are using the wrong schedule method if you
want it to repeat. Also, the delay is in millis. So, you have it set
for 1 second.
If you want it to repeat, you have to use the 3 arg method.
timer.schedule(new SessionTrack(), 0, 6);
I am having problems configuring my security-constraints
specifically the url-pattern
What should this be set to?
I have a jsp which displays a tree type menu in which the leaves
call different .do's. I want some of these to be secure and require
logins but not all.
My question is: What do I put
I am having problems configuring my security-constraints
specifically the url-pattern
What should this be set to?
I have a jsp which displays a tree type menu in which the leaves
call different .do's. I want some of these to be secure and require
logins but not all.
My question is: What do I put
Hello my friends,
I am currently accessing a value for output by using the following EL
syntax:
c:out value=${sessionScope.USER_CONTAINER.account.userName} /
USER_CONTAINER is the key I use to store my UserContainer object in the
session.
I have created a global variable to
Here is a short tutorial on how to integrate Quartz
http://www.theserverside.com/blogs/showblog.tss?id=QuartzSchedulerInJ2EE
Wiebe
-Original Message-
From: Jignesh Patel [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 20, 2004 6:36 AM
To: [EMAIL PROTECTED]
Subject: quartz scheduling
Hi
Hi,
I have a page that logically subdivides into 3 independent HTML forms and I've
subsequently planned on using 3 different ValidatorForms for each. There seems to be
no problem in configuring validations for each form's fields and having those
validations trigger from the server side.
The EL only references scoped variables, not scriptlet variables.
Read the JSTL specification for a good summary of what you can do with
it.
If you have a small number of constants, then put your constants
directly into a scoped variable (application-scoped, most likely). So,
if you define a
http://issues.apache.org/bugzilla/show_bug.cgi?id=17667
try the latest nightly build.
Niall
- Original Message -
From: Berke, Wayne [IT] [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, April 20, 2004 5:26 PM
Subject: Multiple ActionForms on a page - client side validation
Beer? What is Beer? Is that some kind of developer performance enchancement
tool? Product?
Can someone direct me to the documentation for this?
TIA,
Paul
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]
Sent: Monday, April 19, 2004 8:29 PM
To: Struts Users Mailing List
Howdy all
I'm using html:error to put an error message next to a form field that
must not be blank. But the message is rendered with quotation marks
around it. I don't want quotation marks. Am I doing something I
shouldn't, or is there any way to turn this behavior off?
My JSP looks like
Thank you David.
Josh Holtzman
American Data Company
[EMAIL PROTECTED]
Voice: (310) 470-1257
Fax:(310) 362-8454
Sun Microsystems iForce Partner
-Original Message-
From: Karr, David [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 20, 2004 9:43 AM
To: Struts Users Mailing
Here is some info on URL patterns that can be used in configuring
security contstraints:
There are four types of patterns that are searched in the following order:
1. Explicit mappings (no wildcards are used) for example /add.jsp or
/admin/remove.do.
2. Path prefix mappings contains a /, then
Beer (Built-in Embedded Enhanced Runtime) is the coolest new tool
overtaking both Java and .NET in popularity. Groovy is passe' -- Hash
is hushed -- Beer provides an environment where all can get the most out
of development.
If you want to start developing with Beer you will want to get the
I thought ValidatorActionForm was going to be deprecated because the new
form configuration functionality allows validation form inheritance and
therefore makes the 'definition by action' redundant, since it becomes
totally simple to define new forms without repeated heaps of fields.
On
just a thought?
Can we submit two forms at a time? I thought html can handle only one form at a
time.I think we can have any no of forms but can submit only one at a time.
Thank-you,
Manoj Mathew
GIS-Systems
(515-362-0539)
-Original Message-
From: as as [mailto:[EMAIL PROTECTED]
I have one web module with many struts modules.
I am wondering if there is a way to get a hold
of the list of modules? I have 1 shared action
servlet and I want to get the list of modules in
the init() method.
Thanks,
Dan
-
To
Henrique VIECILI wrote:
have you tried changing your ApplicationResources to
err.name.required=The {0} field is required (whitout the quotes') ?
Sorry Henrique...it was my own stupidity all along. My app was using an
old Application.properties file that had my message enclosed in
quotation
Well obviously in that particular example it won't help you, you are
always going to have to declare the different validations somewhere, but
it at least allows you to define the common fields only once.
You define the common validations, and inherit them into 2 seperate
definitions to call
I've seen cases where a user accidentally double-clicks on the submit
button and submits the form twice in quick succession.
Struts' transaction token handling can prevent multiple submissions from
being processed. However, I think this would happen after the
ActionForm has been populated, so
So Birendar,
What was your problem? I never saw a post about you resolving it. (and,
curiosity killed the cat)
Regards,
David
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Sunday, April 18, 2004 3:16 AM
To: Struts Users Mailing List
Subject: RE:
You are using something like
SomeClass someClass = java.io.SomeClass();
See whats wrong with that? You are missing the new..
If its not that.. Well.. When you forget the new compiler puts out that kind
of errors.
Btw.. You classpath will be happy with
.;c:\Drivers\classes111.zip;
Provided
Hi All!
Is it possible to determine the name of the tiles definition being processed
from within a JSP page?
I am attempting to have an XML menu with IDs exactly the same as the name of
the tile definition.
Then I would do some XSLT, and id matching and fetch the appropriate XML
fragment.
Hey Neil!
Can you update me on the Struts' transaction token handling?
What exactly is Struts' transaction token handling?
TIA,
Kunal
-Original Message-
From: Neil Erdwien [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 21 April 2004 06:59
To: Struts Users Mailing List
Subject: Re:
Hey all -
Using the Struts expression library (struts-html-el.tld) and trying to get
my form action to be dynamically populated -
Can anyone see where I have gone wrong?
--
%@ taglib uri=/WEB-INF/struts-html-el.tld prefix=html %
%@ taglib uri=/WEB-INF/c.tld prefix=c %
html:xhtml/
Sorry all -
Ignore me, missed putting in the tiles tag tld..
I'll go back under my rock
Mark
-Original Message-
From: Mark Mandel [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 21 April 2004 12:39 PM
To: [EMAIL PROTECTED]
Subject: using expressions in htm:form action (el library)
Hey
Dhaliwal,
Birendar never seemed to post anthing after our answers and I was curious if
the problem was solved. I was trying to be helpful and follow-up, not ask
you for a rehash of the previously stated answers. Also, you shouldn't
underestimate the classpath 8.3 issue on Windows XP.
Thanks
This is the problem with being a solitary developer who doesn't have
other developers to bounce his ideas off of. I'm using you all.
I'm finding myself gradually creating a generic two-way form bean.
That is to say, a number of my actions boil down to showing lists of
objects that need to be
Hi,
Im very sorry and apologize to all for
not telling the about the resolving problem,
Actually my problem is resolved
but i dont have the concrete solution for that , thats why i didnt
wrote it.
The probelm occured suddenly one
day i was deleting folders from my macheine to free my disk space
49 matches
Mail list logo