You cannot have two properties with the same name in a form.
Try:
html:hidden property=creator_1/
input type=text name=creator vlaue=bean:write name=beanName
property=creator_1/ size=82 maxlength=25 tabindex=1/
cheers
Koni
Caroline Jen wrote:
My JSP #2 receives a hidden field passed from JSP #1
http://cvs.apache.org/builds/jakarta-struts/nightly/
Ruben Orta Magan wrote:
- Original Message -
From: Marc Dugger [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
The new validwhen validation rule, which will be included into the Struts
release immediately after the
As far as I know you can simply configure Struts (web.xml) to use a .jsp
extension instead of the .do extension.
http://marc.theaimsgroup.com/?t=10648445023r=1w=2
Koni
Roland Carlsson wrote:
Hi!
I don't think i missed a line in my question. The only requests that is
going to tomcat from
Maybe you will find a solution here...
http://marc.theaimsgroup.com/?l=struts-userw=2r=1s=dreamweaverq=b
Just a guess.
Koni
Tim Smal wrote:
We're using Adobe Golive for designing purposes. No problems with
viewing the struts tags. In Dreamweaver I have no idea how you can
enable them
/javascripttoolbox.zip
Koni
Otto, Frank wrote:
Hello,
I search a good solution for displaying a calendar.
I use struts and have an input field for date value and I want to display a calendar (maybe popup) for choose the date.
Is there a good implentation for using with struts?
Regards
#3
Mainguy, Mike wrote:
Here's my weekly(ish) question:
For the purposes of this discussion, ActionForms also mean DynaActionForms
and the like...
Where does everyone cast their (String) request parameters to the 'proper'
datatype?
#1 My ActionForms only have Strings, I manually cast stuff
See commons-validation which comes with struts. The 'required' attribute
does it for you.
form name=myForm
field property=pull-down-property depends=required
arg0 key=prompt.choose.gold.or.platinum/
/field
/form
Cheers
Koni
Mick Knutson wrote:
I have a pull-down menu with 3 values
Hi Gaurav
Download and install Struts 1.1 and study the example.
http://www.apache.org/dist/jakarta/struts/binaries/jakarta-struts-1.1.zip
Additionally I recommend buying a book:
http://jakarta.apache.org/struts/resources/books.html
Have fun
Koni
Gaurav Vaish wrote:
Hi,
I am new to struts
Try to find a tool which fits your needs at
http://jakarta.apache.org/struts/resources/tools.html
I've never worked with tools that generate code visually. Generated code
tends be difficult and uncomfortable to maintain.
Good luck.
Koni
Gaurav Vaish wrote:
Hi Koni,
Thanks for the starter
Cheers
Koni
Reynardine wrote:
Hello,
I've got Java HTTP servlets running under Tomcat. Now I want to convert them to run under Struts.
1) Does Struts work with Tomcat Standalone or must I use Tomcat/Apache with a connector? I would prefer to use just Tomcat and Struts. Must I connect to Apache
If I understand you correct, it's easy like this:
input type=hidden name=myKey value=bean:message key=msg.key/
Greets
Koni
muzammil shahbaz wrote:
Hello!
For example;
I have a key defined in ApplicationResources.properties file as
msg.key. This can be accessed on jsp as
bean:message key
.
???%ç*/???
Please let me know if you find a solution.
Koni
Parthasarathy Kesavaraj wrote:
Hai
I am using Tomcat 4.1.27 and struts 1.1.When i call a .do from my browser i
am getting the following error
HTTP Status 503 - Servlet action is currently unavailable
type Status report
message Servlet action
#2 DynaActionForm
I don't think custom validation is difficult. We use commons validation
together with custom validation and it works fine.
Koni
Mainguy, Mike wrote:
Next in my series of struts-user polls (please complain if this gets old).
What sort of ActionForms does everyone use?
#1
Have a look at the Example witch comes with struts.
http://www.apache.org/dist/jakarta/struts/binaries/jakarta-struts-1.1.zip
and/or study the UserGuide
http://jakarta.apache.org/struts/userGuide/
general_question.equals(general_answer);
have_fun;
khabot zakaria wrote:
Hi,
How to create a bean
();
...
OutputStream bos = new FileOutputStream(filePath + fileName);
...
/snip
See also:
http://jakarta.apache.org/commons/fileupload/apidocs/org/apache/commons/fileupload/package-summary.html#package_description
Hope it helps
Koni
Kannan wrote:
Hi All!
I'm using struts 1.1 , i'm creating a application
://jakarta.apache.org/struts/userGuide/dev_validator.html
Good luck
Koni
basebeans wrote:
Yes, the ActionErrors() is in the Action class.
I attached the following Action class for your references, tq!
package com.ilium.eapps.intmsg.controller;
import java.util.*;
import
Your error is: Cannot find bean 'error' in any scope!
Where and how do you define 'error'? Do you have something like this in
you Action:
ActionErrors error = new ActionErrors();
...
error = ...
...
saveErrors(request, error);
return new ActionForward(mapping.getInput());
...
Koni
basebeans
I have similar (strange) errors when my database isn't up and running.
Is your database connection on the production server up and running and
can you connect your DB properly?
Just a guess...
Cheers
Koni
michel Van Asten wrote:
Hi,
I got errors when I try to run my application
to test it
with the application...
-Message d'origine-
De : Koni Roth [mailto:[EMAIL PROTECTED]
Envoyé : mardi 9 septembre 2003 13:20
À : Struts Users Mailing List
Objet : Re: deployement issue
I have similar (strange) errors when my database isn't up and running.
Is your database
Paste the faulty part of your validation.xml file maybe we can see some
strange things. I had a similar problem and it was only an error in
writing...
Yuan, Saul (TOR-ML) wrote:
Hi,
I am using Struts Validator for validating a multi page form, some how
the Validator cannot find the messages
Looks good to me. If you are properly closing the /formset and the
/form I can not see any problem, sorry.
Koni
Yuan, Saul (TOR-ML) wrote:
Here is what's in the validation.xml file:
formset
form name=messageForm
field property=messageName depends
This link seems funny but my anti virus tells me something different!
WARNING TROJAN HORSE FOUND IN NETSCAPE CACHE - Office.js
it's funny but be careful ...
Raj Naboti wrote:
I find this IDE most rewarding. Compared to crowd it shines with highest
regard!
Understands language you speak to
up.
How can I reset a form in my Action? I tryed the method form.reset() but
it still shows the old values.
Any Ideas to show the new values? Has someone similar problems?
Thanks
Koni
-
To unsubscribe, e-mail: [EMAIL PROTECTED
You could use logic:equal or logic:notEqual tags:
logic:equal name=myForm property=method scope=request value=update
html:text disabled=true property=username size=30/
/logic:equal
Koni
deepaksawdekar wrote:
Hi All,
I need to disable the html:text component based on some property of bean. Any
())
{
saveErrors(request, errors);
return new ActionForward(mapping.getInput());
}
And be sure that your Class extends DynaValidatorForm.
Hope this helps
Koni
thomas Sontheimer wrote:
I'm attempting to use the validator with a DynaValidatorForm and it
returns a blank page if I
://jakarta.apache.org/struts/index.html
Koni
Raju BSN wrote:
Hi,
I'm a new bee to struts. I have tried some examples and now I'm able to understand a
bit abt the framework, but still not sure of the complete steps needed to develop a
web application using struts. It will be a great help for me
recommend buying a book:
http://jakarta.apache.org/struts/resources/books.html
Koni
Raju BSN wrote:
Hi,
I'm a new bee to struts. I have tried some examples and now I'm able to understand a
bit abt the framework, but still not sure of the complete steps needed to develop a
web application using struts
Hi Filip
See example on the really cool page of Matt Kruse:
http://www.mattkruse.com/javascript/checkboxgroup/
Koni
Filip Polsakiewicz wrote:
Hi,
I have the following problem:
I have a list of 71 Checkboxes and want to have one checkbox to select all
of them at once. This works fine but I cannot
=106068603102209w=2
hope this helps
Koni
Original Message
Subject: Displaying a single error message for multiple properties
Date: Mon, 18 Aug 2003 11:41:30 +1000
From: James JKE95 Kerridge [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED
Try struts 1.1 final version. Here it works ;-)
Johan Wasserman - CPX Mngd Services wrote:
Hi.
I'm running struts 1.1-rc2 and get a 404 when entering an unrecognized
username password on the logon page for struts-example (Mailreader
demo). It goes to localhost/sruts-example/logon.do but with a
I recommend buying a book. See
http://jakarta.apache.org/struts/resources/books.html
- 'Struts in Action' is very helpful.
or read the User Guide at:
http://jakarta.apache.org/struts/userGuide/index.html
Koni
Arindam Bhattacharjee wrote:
Hi All,
I am a newbie in Struts. Can some one give some
://jakarta.apache.org/commons/logging/api/org/apache/commons/logging/Log.html
have fun
Koni
Duan Qiang wrote:
Hi,
I want to have fine-grained configure of logging in my struts application,
for example, for class A, it allows info level logging, for class B, it
allows trace level logging. I surfed the net
://jakarta.apache.org/commons/logging/api/org/apache/commons/logging/Log.html
have fun
Koni
Duan Qiang wrote:
Hi,
I want to have fine-grained configure of logging in my struts application,
for example, for class A, it allows info level logging, for class B, it
allows trace level logging. I surfed
As far as I know there is not really an easy way to keep the session if
you close the browser. If you really want to keep it persistent you
would have to save it somehow in a file or in a database. Search at
google for more information.
Koni
Billy Ng wrote:
Hi folks,
This is really a tomcat
If the browser does not accept cookies it is stored in the URL. If the
browser accepts cookies it is stored in the memory (session).
Koni
Billy Ng wrote:
Hi folks;
Anybody knows where is the JSESSIONID cookie is? I search the whole Cookies folder, I can't find it.
Billy Ng
/report/Search.do?parameterXY=bean:write name=searchForm
property=searchStuff /','myWindow','toolbar=none')
Good night ;-)
Koni
-- Original-Message --
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
From: Au-Yeung, Stella H [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED
will help.
Koni
Original Message
Subject: RE: Pop-up a window on Submit
Date: Tue, 12 Aug 2003 10:39:42 -0400
From: Au-Yeung, Stella H [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Hi Koni:
I must have
to System.err.
-
Because my application runs on JRE 1.4, it uses automatic the
Jdk14Logger. I cannot use SimpleLog on JDK 1.4! Therefore I will use
Jdk14Logger and not Log4J.
Thank you, Koni
Kris Schneider wrote:
Try actually putting it in WEB-INF/classes, not WEB-INF/classes/myclass.
Quoting
-logging.properties file?
Any further help with examples would be appreciated.
Thanx, Koni
Kris Schneider wrote:
Is the commons-logging.properties file located in your app's WEB-INF/classes dir?
Quoting Koni Roth [EMAIL PROTECTED]:
No answer until now! It looks like nobody is using commons-logging
.
Koni
Au-Yeung, Stella H wrote:
Hi:
The bottom of my Search.jsp has two buttons. They are for displaying
different report (a Main report and a Procedure Summary):
html:submit property=mainReportbean:message
key=button.mainReport//html:submit
html:submit property
?
Koni
Anurag Garg wrote:
Hi All,
I have a scenario in which the property of my text box will be set at run
time. In my action form I have declared all the property names that will be
available in my jsp.
The jsp text box will have property name as txtField1 , txtField2 ,
txtField3.
The action
Thanks Craig
Since I have my commons-logging.properties file in WEB-INF/classes and
*not* in a subdirectory everything works fine! I didn't get this out of
the documentation.
Cheers
Koni
Craig R. McClanahan wrote:
On Fri, 8 Aug 2003, Koni Roth wrote:
Date: Fri, 08 Aug 2003 18:47:41 +0200
application the Log should use the 'SimpleLog', as defined
in 'commons-logging.properties'. BUT it uses the default logger for my environment
org.apache.commons.logging.impl.Jdk14Logger
How can I configure logging to use 'SimpleLog'?? Any examples??
Thanks
Koni
No answer until now! It looks like nobody is using commons-logging!
Very frustrating to be the only one using it...
Is there really no useful example or documentation?
Cheers and enjoy the Friday Beer.
Koni
Original Message
Subject: How to configure commons-logging on JDK1.4
I had the same problem. When I wrote 'errors' it worked for me.
Try html:messages id=errors and bean:write name=errors/!
Hope it helps.
Koni
Swaroop George wrote:
Why don't u use html:errors instead??
Just give /html:errors
-Original Message-
From: Altug B. Altintas [mailto:[EMAIL
in LogonAction.java ? Do I
have to call a validate() method or what ??
Thanks for any suggestions and examples.
Koni
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
release, is designed to handle these cases.
...
Is the validator with 'validwhen' sowhere available or do we have to wait
for the next Struts release?
Thanks
Koni
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
After a few direct questions about how I solved the problem, here the
answer:
The database for my application was missing eg. not started. The error
(NullPointerException) shown in the browser was more than strange but
now it works fine...
Koni
Koni Roth wrote:
Hello
I'm running Netbeans 3.5
, close the browser and restart the application again,
it all works fine!!?!!
Has anyone similar experience? What can I do?
Thanks
Koni
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
/action-mappings is missing!
Gopalakrishnan, Jyothikumar wrote:
Hi All,
While migrating from Struts 1.0.2 to Struts 1.1 (on Weblogic 6.1SP3,
Solaris 6), I am stuck with this problem. This mailing list is now my
last resort.
Here is my struts-config.xml
?xml version=1.0
50 matches
Mail list logo