Hi again
I have created multipart form
html:form action=/upload enctype=multipart/form-data
html:file property=theFile styleClass=form2/
html:submit/
/html:form
When I submit it, I receive following exception:
java.lang.ArrayIndexOutOfBoundsException
at
Hallo,
Firstly I would like to thank Ted Husted for all his help with me getting a
better understanding of Struts, as I am a new to this area a lot of the
information that I have found is great but not detailed enough to understand some
of the process as what Ted has mentioned is perfect, thanks
Hi All,
Could anybody help me to unsubscribe from your mailing list.
I have tried atleast 3-4 times from http://jakarta.apache.org/struts but am
still getting tons of mail.
Thanks in advance.
Regards
Rohit
-Original Message-
From: Rodney Smith [mailto:[EMAIL PROTECTED]]
Sent:
In particular, in order to remove yourself from struts mailing list, send an
empty email to the following address
[EMAIL PROTECTED]
- Original Message -
From: Rohit Dewangan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, August 06, 2001 3:34 PM
Subject: A small Favour
Hi All,
Thanks
-Original Message-
From: Pham Thanh Quan [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 06, 2001 4:51 PM
To: [EMAIL PROTECTED]
Subject: Re: A small Favour
In particular, in order to remove yourself from struts mailing list, send
an
empty email to the following
Hi Guys,
I have the following scenarios and to design for and wanted to know how you
approached the following problems:
1. I have a page that will have dynamically generated menus populated with
entries from a database. My first question is how do you stage the pages? -
can you use the action
can anyone please help explain why i get this error? (maximize window to see
error)
java.io.IOException: The filename, directory name, or volume label syntax
is incorrectat java.io.File.getCanonicalPath(File.java:437) at
org.apache.tomcat.util.FileUtil.safePath(FileUtil.java:184)
Hello all,
I these two lists:
td
bean:define name=erfassungForm id=names property=allProjektNamen /
html:select property=projektname
html:options collection=names property=value
labelProperty=label /
/html:select
/td
td
bean:define
Kurt,
Thanks for the info. I'll look ito DbForm.
Will
Jean,
Thanks for the info. I'll take a look!
Will
Sign me up for the course! Where might I read about these
points: ??
- preloading form
- reset() method gotcha
- special issues
- cleaning up context variables
- Back button sorrow
- indexed properties and iterators
If I
If you wanted to slim this down, and your goal is just to
bring them up to speed on Struts, I'd hazard to say that
there's much that a Struts developer doesn't ~really~ need
to know about Web application development.
Not sure I agree with this. My experience with Struts indicates
that it is
Hello all,
I did not find an example of the use of this ActionError method. If someone
could point me to a good example or reply with one I would appreciate it. I
just wasn't clear how the Object part of the method works. What object(s)
can you use? How are they structured so they can
hi,
How can i validate a form?
I tried :
public ActionErrors validate(ActionMapping mapping, HttpServletRequest req)
{
ActionErrors errors= new ActionErrors();
if(! getSqlQuery().startsWith(select)){
ActionError error = new ActionError(error.requete);
WebLogic includes a JAXP 1.0 implementation in its weblogic.jar file. The
startup script puts weblogic.jar in the CLASSPATH ahead of anything in your
WEB-INF/lib directory. So you will need to modify the startup script to put
a JAXP 1.1 implementation ahead of weblogic.jar.
-Original
Hi,
the following fragment does not work:
html:form action=addMedication.action
td
html:text property=doseAsInteger size=3/
/td
td
html:select property=dayCategory
logic:iterate
Did you enable validate=true in struts-config.xml for that action?
Regards -- Tobias
DUPRAT Alexandre [EMAIL PROTECTED]
06.08.2001 15:28
Bitte antworten an struts-user
An:'[EMAIL PROTECTED]' [EMAIL PROTECTED]
Kopie:
Thema:Validation a form
hi,
How can i
i have this int parameter in web.xml for ActionServlet :
init-param
param-namevalidate/param-name
param-valuetrue/param-value
/init-param
it seem to work cause i can debug the method in visula age for java.
I enter the method but i've an error 500 as response from my web server.
Have a look in the WEB-INF/struts-config.xml. Look for your action element and in particluar for the validate attribute.
Regr
action path=/editRegistration
type=org.apache.struts.webapp.example.EditRegistrationAction
name=registrationForm
scope=request
We just upgraded our versions of WebLogic and Struts.
WebLogic : 6.0 sp 2 == 6.1.
Struts: 1.0 nightly build Feb ? 2001 == 1.0
Most things worked without a hitch, however we are experiencing a problem
that I am having difficulty resolving.
We have the following entries
I am using the indexed tags (cheers, made my life a lot easier!) but I am
having a problem.
When submitting a form the data in the form is not updated. I have got
updates working elsewhere, but I can't get this working.
Is it because I use a nested property in the iterate tag i.e.
I agree with Devon's concerns about this. Struts assumes a pretty robust
understanding of the general principles of servlet and JSP programming
(including the intricacies of a web application archive file).
The good news for developers is that all of this level of knowledge is
transferrable,
On Mon, 6 Aug 2001, Rohit Dewangan wrote:
Hi All,
Could anybody help me to unsubscribe from your mailing list.
I have tried atleast 3-4 times from http://jakarta.apache.org/struts but am
still getting tons of mail.
I'd like to help ... but there's a slight problem. There is no
On Mon, 6 Aug 2001, Rodney Smith wrote:
Hallo,
Firstly I would like to thank Ted Husted for all his help with me
getting a better understanding of Struts, as I am a new to this area a
lot of the information that I have found is great but not detailed
enough to understand some of the
On Mon, 6 Aug 2001, Stefan Faist wrote:
Hello all,
I these two lists:
td
bean:define name=erfassungForm id=names property=allProjektNamen /
html:select property=projektname
html:options collection=names property=value
labelProperty=label /
/html:select
On Mon, 6 Aug 2001, DUPRAT Alexandre wrote:
hi,
How can i validate a form?
I tried :
public ActionErrors validate(ActionMapping mapping, HttpServletRequest req)
{
ActionErrors errors= new ActionErrors();
if(! getSqlQuery().startsWith(select)){
ActionError
i have a base action class in which i declare a variable of type
ServletContext:
public abstract class BaseAction extends Action
{
protected ServletContext ctx = servlet.getServletContext();
...
}
yet i always get a NullPointerException on this line when struts tries to
instantiate a
Hi,
I am using Struts on Weblogic 5.1 with SP9. Initially I developed my app on
Tomcat. Here, I am forwarding control to another action object. So, in my
config.xml, I have:
forward name=next path=/detcontrol.do redirect=true/
I start my app on Tomcat through URL:
i've had some success unit testing struts actions using cactus.
here's what i did:
0) replicate your approot in the test webapp, including struts-config.xml
1) in the web.xml (or webapp file for websphere test environment), add
struts initialization parameters to the cactus ServletRedirector
I have learned alot about MVC (and M2C) from this list and its authors and
in general agree that the Struts model is a *better* way to do things (in
lieu of the JSP and/or Servlet and Bean design).
On the otherhand I have been uncomfortable adopting the BEAN|JSP|ACTION
paradigm because of JSP
Hi all...
I have a webapp that uses Struts templates. I have a place in my
template where I plug in the current user's username and basic info. I can
sucessfully do a session.invalidate(), but then when I link back to my
loginpage, their info still shows up on the template. How do they
I just downloaded STRUTS and am hoping to use it with the ServletExec
JSP/Servlet server. I noticed in the install file that there is no
reference to Servlet Exec, and am wondering if it's compatible with STRUTS
and if there are any additional steps I need to take in setting it up
(besides
You do know there's a typo in your example, don't you? You're trying to pair
a logic:notPresent with a /logic:present (note the missing not). Maybe
it's only in your email, but it has bitten me IRL.
Marcel
-Oorspronkelijk bericht-
Van: Greg Maletic [mailto:[EMAIL PROTECTED]]
On Mon, 6 Aug 2001, Jon Crater wrote:
i have a base action class in which i declare a variable of type
ServletContext:
public abstract class BaseAction extends Action
{
protected ServletContext ctx = servlet.getServletContext();
...
}
yet i always get a NullPointerException
On Mon, 6 Aug 2001, Steven Elliott wrote:
I have learned alot about MVC (and M2C) from this list and its authors and
in general agree that the Struts model is a *better* way to do things (in
lieu of the JSP and/or Servlet and Bean design).
On the otherhand I have been uncomfortable
Thanks; it's a typo in my e-mail. The solution that Craig posted
earlier--store the form name in a variable and evaluate it with %= %
tags--works great.
-Original Message-
From: Marcel Maré [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 06, 2001 12:10 PM
To: [EMAIL PROTECTED]; [EMAIL
Which xml parser do you use ?
Tiles, like Struts1.1-dev use commons.Digester package, which requires Jaxp1.1 to
run.
Cedric
BinhMinh Nguyen wrote:
Hi,
When copied the titles-doc.WAR into Tomcat 's webapps
and run. The following error-message display.
Can you spot out the error
Tiles tutorial is now merged in tiles-doc, under tiles-doc/tutorial. Also,
Tiles require a Jaxp1.1 compliant XML parser.
Cedric
BinhMinh Nguyen wrote:
Hi,
I am a big fan of your Components, it woks very
pretty. But since you rename Component to Tiles
things are not pretty any
Hello Vince,
I'm currently using Struts 1.0 with ServletExec 4.0 ISAPI for Microsoft IIS
on Win2000 and have not had any problems. It was pretty simple. If you use
.war file, you can do as you mentioned already and put it in the
[SEversion]/webapps/default directory. When SE starts up, then it
Hi,
I think it will be very useful if struts can have IF statement in
struts-config.xml to control the foward/ action.
I am thinking of building a purely configurable system using struts
framework. A system whose actions can be reassembled and chained to make new
functionalities. IF
Hmmm, I'm not sure I see the value in this (at least actually IN the XML
file) - could you explain in more detail what you intend to do?
Chris
-Original Message-
From: Yi-Xiong Zhou [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 06, 2001 5:02 PM
To: '[EMAIL PROTECTED]'
Subject: IF
Please see comments below
If you don't want processPopulate() to be called, just omit the form bean
from your action element.
The underlying problem is that if I prefill my form, all the values are
overwritten by the Request objects current parameter values.
I this something that
Hello,
The mappings that are set up in the struts-config.xml can be
modified programmatically. So, if you want to reconfigure a forward,
you would not need an if statement in the struts config, but I believe
you can do it in your program that references the forward.
For example:
for a struts form, html:form action=/html:form,
how to create a submit button with my own image?
I have tried to use javascript to do
onclick=javascript:window.document.form.submit(),
but it did not work, because the struts form do not
have a name for the form.
Thanks
Long
Try putting it into the file web.xml in Web-inf directory
Quan
- Original Message -
From: Upadhye, Sujit (GEAE, Foreign National) [EMAIL PROTECTED]
To: Craig R. McClanahan [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, August 07, 2001 12:40 AM
Subject: Question: Struts on
Hi all
This may be an off topic discussion. Craig mentioned about the need to make
session attributes thread safe.
What are the factors to look out for in order to make session attributes
thread safe?
Thanks in advance
Regards
Michael Mok
-Original Message-
From: Craig R.
On Tue, 7 Aug 2001, Michael Mok wrote:
Hi all
This may be an off topic discussion. Craig mentioned about the need to make
session attributes thread safe.
Thought that might catch someone's attention ... :-)
What are the factors to look out for in order to make session attributes
I have previously been populating my options form elements from
ArrayLists I have stored in the application scope. I am now
implementing a more robust caching mechanism for this information and am
trying to find the best way to access these collections now. For
example to get to one of my
_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
The name of the form is in the file struts-config.xml.
action path=...
...
name=this_is_the_form_name_you_want
/action
Quan
- Original Message -
From: Long Zhao [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 07, 2001 5:21 AM
Subject: how to create a submit button with
You may use this
html:form
...
input type=image src=your_image
/html:form
Quan
- Original Message -
From: Long Zhao [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 07, 2001 5:21 AM
Subject: how to create a submit button with my own image
for a struts form, html:form
51 matches
Mail list logo