ou change (or delete) the "expectedToken" attribute and process
the request. If they do not match, you return a meaningful error to the
user.
There is no way in standard HTTP / Servlets to distinguish between a
refresh and an original request.
Jeff Beal
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
button of the form?
Is it possible there is a form validation error occurring on submit?
That would return control to content.jsp and cause the error you are
seeing, I think.
-- Jeff Beal
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Caroline Jen wrote:
Q1. How come I do not see validation warning messages?
I have prepared validation.xml and put it together
with the validator-rules.xml in the AppName/WEB-INF
directory. I have also prepared the warning messages
in the
AppName/WEB-INF/classes/resources/application.properties
marc wrote:
I have a jsp page with 3 html:link tags on it. I what all these links to
point to the same action, but each of them need to go to there own jsp
site. So I need to set/pass on a string with each link, so that I can
send the request the right place.
How do I do that??
This is explaine
a and example on have it works, and have I read the
string in my action class again.
Thanks
Jeff Beal wrote:
marc wrote:
I have a jsp page with 3 html:link tags on it. I what all these links
to point to the same action, but each of them need to go to there own
jsp site. So I need to set/pass on a
rent forms. The last 3
need to point to 3 other jsp page.
And i would like to use the same action for all 9 of them.
Got at clearer picture of what I what?
Jeff Beal wrote:
text
generates the same thing as
text
text
generates the same thing as
text
text
works similarly, but it loops through the ma
ill handle the rest.
-- Jeff
marc wrote:
Yeah is't the Action code that I got problems with.
Can't figure out have to read the html link in my action.
Jeff Beal wrote:
Maybe, but I'm still not sure exactly where you're having problems.
Are you having problems writing the Acti
Caroline Jen wrote:
I am submitteing a form. This form provides check
boxes for multiple selections. I am not using the
validation.xml to validate if "none" is selected.
Instead, I am going to use the validate().
1. Do I write this validate() in the form class that
extends the ActionForm?
Yes
logic:messagesPresent and/or logic:messagesNotPresent
[EMAIL PROTECTED] wrote:
Hi all,
Is someone know if it's possible to (simply) condition displaying JSP code
according to the presence or not of errors ?
I have a form that mustn't be displayed entirely if some ActionError are
present in my page.
When you say 'redirected' do you mean 'redirected'? If so, that's the
problem. Redirecting creates a new request, and the errors are saved in
the request scope, so they would be gone.
I don't see anything else that jumps out at me.
Toby Saville wrote:
The browser is then correctly redirected t
I had something worked up on a former project that allowed me to add
extra header information on a page-by-page basis to Tiles. I don't have
access to the source code any more, but it looked something like this:
Tiles definition file:
I don't think that I used the ex
The tag inserts the token as a hidden field.
umamaheswara rao wrote:
Hi ,
Your help is apprciated.
How do I set a token it to JSP ? do I need to have
to set
the token to the form bean(form.setToken("value from
session with saveToken method")) in the action class
which calls saveToken(req
When redirect is "true" a message is sent to the browser to get the new
resource. This means that the browser is aware of the path of your
error.jsp. When redirect is false, the browser is not aware of the
location of the JSP that is actually displaying the results. To get
around the problem
correctly shown.
toby
-----Original Message-
From: Jeff Beal [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 14, 2004 10:25 PM
To: [EMAIL PROTECTED]
Subject: Re: No ActionErrors from Action class
When you say 'redirected' do you mean 'redirected'? If so, that's the
pro
You should be using action="login" not forward="login" in your
html:link. The forward attribute uses a global forward to direct the
request. (And I forget if the forward slash is required or not.)
-- Jeff
PC Leung wrote:
My Main.jsp content layout (Welcome page):
...
...
My struts-config.x
Anything's possible. You'll have to re-write the processPopulate method
in a custom RequestProcessor to enforce the order of properties that you
want. That doesn't mean it's a good idea. I would **strongly** suggest
re-writing your ActionForm so that it doesn't need to behave that way.
-- Je
Rudi Doku wrote:
Hello,
I'm new to struts. I have added the following string
to teh ApplicationResources.propertiesfile :
topic.label=Topic
I am trying to display this label on the page without
very much success. My page looks like this:
<%@ page contentType="text/html;charset=UTF-8"
language="java
s (and they are only guidelines)
is that any operation that modifies a server-side resource should use
POST instead of GET.
-- Jeff Beal
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Shabada, Gnaneshwer wrote:
Hi.
Is there any way in Struts I could determine dynamically what
JSP/screen/action am coming from when I am in a certain screen. I have a
scenario where I can delete users from a result list page or a member
details page. I want to use one action to do both. But to code
Dan Allen wrote:
Does anyone know if there are plans for (or if an existing library is
floating around) that allows inline conditional expressions in the
POSIX style? An example would look something like the following:
I realize it is possible to use c:choose tags for such a condition,
but often
Nadia Kunkov wrote:
Hi,
I'm wondering if I should use validate() method of ActionForm instead of JavaScript to validate the form. I can see the advantage of validate() when you have an internationalized application, but otherwise why would I have an overhead of going back to the server when I can
boukovska wrote:
Hi all
I have a problem with setting the values on a hierarchy of nested
properties.
I have an ActionForm which has a property A of type HashMap. A is
keyed
on
Strings, and each value of A is a Collection (ArrayList). This
collection
contains objects of type B.
I am trying to itera
Peng, Meimin wrote:
Hi,
Please help.
I want to use strut's validation to validate a form field called number.
This field allows to input text, number and -.
The code bellows right now is only to validate text and number without
space.
How can I make it work with '-'?
Thanks.
Peng, Meimin wrote:
Thanks.
I just make it work by doing this.
^[0-9a-zA-Z-\-]*$
I couldn't find info on any strut books. But, here is the original
validation package. Cheers!
http://jakarta.apache.org/regexp/apidocs/org/apache/regexp/RE.html
That will allow any number of '-' signs to be valid:
'--
jean kon-sun-tack wrote:
In my "companyList" screen I have a cancel button (/companyList/cancel.do).
In moduleA-struts.xml, why can't I have something like :
I want my page flow configured in my xml config files, not in my JSPs by doing :
Is there another way to do that ?
Thanks.
Jean.
http
andy wix wrote:
Hi,
I have the following on the view page so I don't think I'm seeing the
cached version of the page:
response.setHeader("Cache-Control","no-cache"); // HTTP 1.1
response.setHeader("Pragma","no-cache"); // HTTP 1.0
response.setDateHeader ("Expires", -1); // Prevents caching at a p
andy wix wrote:
Hi,
Thanks, that explains why I see the deleted name. Is there a standard
way to overcome this - some way to override the back button's
functionality?
Regards,
Andy
_
It's fast, it's easy and it's free. Get MSN Mess
so qualify that the application I'm working on does
disable the back button using the methods that I mentioned in the second
bullet point of my original post. As a general rule, I don't think
that's a good idea, but there are always exceptions.
-- Jeff
Jeff Beal wrote:
andy wix wr
You *can* call a JSP directly in this way, but it is not generally
considered to be the best approach. It's better to always link to an
Action class. Even if you use the Struts ForwardAction
(http://struts.apache.org/api/org/apache/struts/actions/ForwardAction.html),
which doesn't do anything
Robin Mannering wrote:
Hi,
Platorm is : Tomcat 5, Struts 1.1
Context: HTML Form submissions and validation.
I'm trying to conditionally test for the existince of error messages by their
keys. And I'd then like to show the error with HTML formatting around it.
Basically, using tags, I'd like to do
andy wix wrote:
Hi,
As usual I think I must be missing something fundamental!
It would be pretty serious to leave the back functionality - someone
could delete a contact, then press back and see the name again. If they
subsequently do another delete, there's trouble!
I'm thinking this problem i
Robin Mannering wrote:
Thanks for all the help received on this one..
As pointed out by Joe, the tag is conditional, and when supplying the
"parameter" atribute I get exactly what I need.
For reference, it looks like this:
<%-- Display error message keyed under 'usernameError' if it
http://struts.apache.org/faqs/newbie.html#multiple talks briefly about
doing this. It doesn't discuss the issue of arrays vs. ArrayList, but
the example is using arrays, so I assume that's the recommended approach.
Also, and just an FYI, the HTML you've included is invalid. INPUT
elements are
Peter Werno wrote:
This is how it works:
- struts-config.xml --
...
more
...
- end -
this is how it does NOT work:
- index-config.xml --
...
Have you read
http://struts.apache.org/userGuide/configuration.html#module_config-switching?
It explains how to use contextRelative forwards in Module A to forward
to pages in Module B.
If that's not what you need, you could define all of your
application-global forwards in an XML external en
Try using the nested taglib or the indexed property of html:text
Phani wrote:
I came across this problem of displaying the string
elements in an Arraylist into Textfields.
How can I display them into the textfileds & capture
them back into the ArrayList. (Using Struts 1.0)
style="BORDER-COLLAPSE:
For this to work, 'b' would have to be the name of a java.util.Map
object; instead, it is a BolgeDTO. Use the second method discussed in
the documentation:
"Specify both name and property attributes - The specified property
getter method will be called on the bean identified by the name
CSS2 includes page-break-before and page-break-after properties.
Specifying position:fixed will cause a box to repeat on every page. I
am not sure if this is supported in any browser, but that's where I
would start.
See http://www.w3.org/TR/CSS2/page.html for details on paged media with CSS.
-
I'd just use .
Wendy Smoak wrote:
I have what must be the world's simplest form... it has a text field and a
button:
:
It works great if the user clicks the button... not so great if he presses
enter, which submits the form without the value of nextStep coming through.
list.add(bolge);
}
if (list.size() > 0)
request.getSession().setAttribute("bolgeler", list);
On Thu, 07 Oct 2004 08:35:37 -0400, Jeff Beal <[EMAIL PROTECTED]> wrote:
For this to work, 'b'
Have you tried
?
-- Jeff
Laurent Duperval wrote:
Hello,
In my jsp, I have code like this:
...
...
...
...
...
...
This generates:
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I think you're also missing one of href, action, page, or forward. See
http://struts.apache.org/userGuide/struts-html.html#link for details.
While I'm at it, I'm not sure about the use of a JavaScript onclick
handler with the html:link tag. I don't think that will do what you
want it to do.
Oops! Forgot the paramId attribute on html:link; include
paramId="filename".
View
Jeff Beal wrote:
View
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
You need to use html:hidden to create an invisible control that will be
submitted along with the form and then use html:text to display that
value to the user.
Leandro Melo wrote:
Actually, i just would like to use a label inside one
form, instead of a readonly field.
But if i don't use the html
The first thing to remember is that a Forward is just a Java object.
You can create them and manipulate them in any way that you want.
For instance, in our application we didn't want the users to use the
"Back" button on their browser. We hid the toolbar, disabled the
necessary shortcuts, and
Read http://www.lifl.fr/~dumoulin/tiles/doc/tutorial.html#_Toc521292381.
It describes how to move your Tiles definitions (the part in
Welcome.jsp) into an XML file and using definition names for your Struts
forwards.
-- Jeff
PC Leung wrote:
I use two JSP to form a page.
Is it necessary?
Welcom
When the RequestProcessor receives the request from clicking on the link
in WelcomeBody.jsp, this is (roughly) the sequence of events that it
follows:
- Populate the ActionForm with request parameters (in your case, there
are none)
- Validate the ActionForm (it fails; required fields are abse
[EMAIL PROTECTED] wrote:
<%=MyXMLTransformer.transform(myForm.getXML(), myForm.getXSLT())%>
If you're interested in this type of approach, the JSTL library includes
a custom tag that does exactly that. (, I think.)
-- Jeff
-
From the documentation for java.lang.ClassLoader:
" The name of a resource is a "/"-separated path name that identifies
the resource."
That is, try /resources/storageDirectory.properties.
Caroline Jen wrote:
Okay, this code works if I put the properties file in
the WEB-INF\classes directory:
fina
I don't see why not.
Viral_Thakkar wrote:
Can I use jdk1.4 with struts 1.1?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To do this, you'll need to create a custom ActionMapping class and use
the element.
public class MyActionMapping extends ActionMapping {
private String prop1;
public String getProp1() { return prop1; }
public void setProp1(String newProp1) { prop1 = newProp1; }
private String prop2;
pu
Based on the error message, it looks like you're using the tag
correctly, but the attribute isn't being set correctly. I can't see
anything wrong in the code that you've included. Forgive me for asking
this, but are you sure your Action class is being called?
Shabada, Gnaneshwer wrote:
Can so
What's the code in J2 that you use to put the checkbox? Are you using
an tag? If so, does that tag refer to yet another action,
A3? If so, which form bean is associated with A3?
-- Jeff
t t wrote:
Hi, all,
I have JSP file J1 with form F1 inside. It is used to
accept user's input. And I wil
There are quite a few third-party widgets for doing this. Just do a
Google search for "html table widget" or "javascript table widget" and
look for one that works. In particular, the Jaffa project
(jaffa.sourceforge.net) has a pretty slick looking table widget that is
designed to work well wi
The relevant section is Section 8.8 of the specification:
"Thus when we extract a property or event name from the middle of an
existing Java name, we normally convert the first character to lower
case. However to support the occasional use of all upper-case names, we
check if the first two chara
Try getResource("/WEB-INF/myresource.xml");
-- Jeff
kjc wrote:
I have an ActionServlet that subclasses the struts action servlet. In my
init() method i'm trying to load a resource
like this.
public void init(){
URL url =
this.getServletContext().getResource("/myresource.xml");
I think you have a few extra layers of nesting. What exactly are your
system.out checks? What's being called in the custom tags is the same as
session.getAttribute("PersonStatus").getPerson().getCountryCode().getCountryCode()
The value portion of the tag is
session.getAttribute("CountryCode")
If your trash-can button is using a link, you need to encode the request
parameters into the link when you generate the JSP page. If your
trash-can button is submitting a form, you need to create elements in your JSP page for each request parameter.
I would recommend the latter approach, becau
document.forms[0]['dto(name)'].value
Hariharan V wrote:
Hi,
I am making use of Map backed Action form
Lets say I have named the textbox field as follows
How can I access the text field value from JavaScript
for instance I can't do something like this.
document.forms[0].dto(name).value;
(but th
Henrique VIECILI wrote:
Hi all,
i have a vector of arrays (double[]) in the session scope, and i want to iterate over
the vector and access the array values by index. I've tried a sort of things but I
don“t know how to access the value of an array by index.
my last innocent try was:
Does
Implement the Cloneable interface on your ActionForm and call XXX
newForm = (XXX)oldForm.clone(). Read the JavaDoc on Cloneable and the
Object.clone() method for more information.
-- Jeff
dmu2201 wrote:
Sebastian Ho wrote:
Now this is a Java question, if "XXX newForm = (XXX) form" resulted in
f
This is normal behavior. The reset method is only to clear the values
of checkbox fields, not to set all fields in the form to initial values.
Read the JavaDoc on the ActionForm.reset() method for an explanation.
-- Jeff
sqdf qsdf wrote:
I tested the redirect set false but I don't know why,
t
Write JSP comments as <%-- --%>
On 6/7/05, andy wix <[EMAIL PROTECTED]> wrote:
> I think the problem was due to my having an include file in the footer that
> was commented out:
>
>
> It seems this isn't the way to comment out stuff in jsp? Why it worked for
> some pages and not others I still
On the form bean, what is the type of the field? (String, float, or Float)
On 6/20/05, Dornback, Ken <[EMAIL PROTECTED]> wrote:
> I have to validate a float. I can type anything or nothing in and never
> see a validation problem when I set the depends attribute to "required,
> float". The field
PROTECTED]> wrote:
> It is float in the formbean.
>
> -Original Message-
> From: Jeff Beal [mailto:[EMAIL PROTECTED]
> Sent: Monday, June 20, 2005 12:11 PM
> To: Struts Users Mailing List
> Subject: Re: Float Validation not working
>
> On the form bean, what is
Event handlers have to be functions. When you write
'onreadystatechange = processStateChange(spanID);', the
processStateChange() function is *immediately* executed, and the
returned value is assigned to the event handler. This works great if
your processStateChange returns a function, but if it r
Probably your best bet would be to use a custom ActionMapping and
override the findForward() method to return a Locale-specific JSP
page.
On 6/24/05, Yaroslav Novytskyy <[EMAIL PROTECTED]> wrote:
> Hi!
>
> This is exactli what I'd like to avoid and use l10n on pages level not
> level of defined s
n will be compatible with tiles :(
>
> What do you think about that?
>
> Best regards
> Yaroslav Novytskyy
>
>
>
> Jeff Beal wrote:
> > Probably your best bet would be to use a custom ActionMapping and
> > override the findForward() method to return a Loca
Oddly, the element doesn't work well in Internet Explorer.
(I just checked.)
I have this form in an HTML page:
Click
Click 2
Now, if you click on one of the buttons, only that button and its
value are supposed to be submitted. However, both are. Not only
that, but the bu
I sent a couple of additional comments on this to Frank; I guess I
should have paid more attention so they made it to the list, too. I
won't belabor the points too much, but if you're interested in this
question, section 17.13.2 "Successful Controls"
(http://www.w3.org/TR/html401/interact/forms.ht
aroslav Novytskyy <[EMAIL PROTECTED]> wrote:
> Hello!
>
> Jeff Beal wrote:
> > ...
> > Have you considered locale-specific CSS files to give
> > a different presentation to the same JSP page?
> > ...
>
> I h
On 7/6/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
> > If by some chance you are, PLEASE do not advise the newbies to do this.
> > This totally defeats the pupose of what ActionForms should be used for
> > and will create all kinds of maintenance headaches, never mind the fact
> > that it's re
Use the action attribute instead of the page attribute in your
tag. See
http://struts.apache.org/userGuide/struts-html.html#rewrite for the
tag documentation.
-- Jeff
On 7/6/05, Vijay K Anand <[EMAIL PROTECTED]> wrote:
> Hi All
>
> I used the same way you have said
>
>
On 7/6/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
> On 7/6/05, Jeff Beal <[EMAIL PROTECTED]> wrote:
> > Here's the last paragraph of the JavaDoc for the reset() method
> > (emphasis in original):
> >
> > "This method is *not* the appropriate
If your input attribute identifies an Action instead of a JSP page,
you can do whatever you need to do within that Action.
On 7/7/05, Thai Dang Vu <[EMAIL PROTECTED]> wrote:
> Hello everybody,
>
> This is my action declaration in struts-config.xml
>
> type="AddProviderAction"
>
I think that if Mark Galbreath were still around, he'd reply with
"Validator sucks" or something similar.
Basically, your statements below are all quite correct. I will add
(in response to Point 1 below) that the BeanUtils library is what
Struts uses internally to copy values from the request to
I don't think you even need to have two frames. Try just one frame:
Your Site Title
-- Jeff
On 7/13/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi
>
> The easiest way is to use frames. Have a framset of two frames stacked
> vertically, with the first frame having 0 width/
IIRC from previous threads, setting the maxFileSize cannot prevent
clients from submitting files larger than the limit you set, they can
only abort the processing thereof. (This is not a Struts-specific
limitation.) I believe the behavior you are seeing is the appropriate
behavior. I think the a
Set validation off in struts-config and call the Validate method from
within your Action:
if (yourForm.getAction().equals("action_to_validate")) {
ActionErrors errors = form.validate(/*params*/);
if (errors.isEmpty()) {
// all is good
} else {
saveErrors(errors);
return mapping.f
Sorry -- missed the 'client-side' bit somehow. ;)
On 7/13/05, Jeff Beal <[EMAIL PROTECTED]> wrote:
> Set validation off in struts-config and call the Validate method from
> within your Action:
>
> if (yourForm.getAction().equals("action_to_validate")) {
&
Calling just request.getRequestProcessor() effectively exits the
Struts environment since the request object doesn't know anything
about struts_config.xml. You need to use the method and fields of the
RequestProcessor instead.
Try this:
ActionForward expireForward = moduleConfig.findForwardConfi
request.getRequestProcessor() --> request.getRequestDispatcher()
On 7/14/05, Jeff Beal <[EMAIL PROTECTED]> wrote:
> Calling just request.getRequestProcessor() effectively exits the
-
To unsubscribe, e-mail: [EMAIL PR
Have you looked at the html:link tag?
(http://struts.apache.org/userGuide/struts-html.html#link)
Link text
On 7/18/05, Senthilrajan VS <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I am calling the action directly using the hyper link, for example
> /sample.do?table=test. The values for this action
Have you considered using radio buttons instead of checkboxes? From a
UI standpoint, I think that would make more sense.
That aside, I do not know of any easy way to do this sort of
validation using the Validator plugin. I would override the validate
method in my action form for just those prope
Mnemonics are onlly non-standard because most people don't use them!
Our application uses them all over the place, and our users love us
for it. W3C accessibility guidelines strongly recommend heavy usage
of mnemonics, also.
That said, the standard modifier key for mnemonics is Alt, not Ctrl,
an
It's a lot more clear to compare the difference between:
and
"/>
Especially considering the following scenarios that "just work" in EL:
-- What if "someObj" may be in more than one scope?
-- What if there *is* no 'someObj'?
-- What if someProp is null?
-- Jeff
On 7/26/05, Dave Newton
The second example would actually have to be:
"
/>
-- Jeff
On 7/26/05, Jeff Beal <[EMAIL PROTECTED]> wrote:
> It's a lot more clear to compare the difference between:
>
>
>
> and
>
> "/>
>
> Especially considering the following scenar
See http://wiki.apache.org/struts/ActionChaining?highlight=%28actionchaining%29
On 7/26/05, Lance Semmens <[EMAIL PROTECTED]> wrote:
> I'm a newbie to struts and I'm maintaining what I consider to be
> spaghetti code.
> There actions which forward to other actions and I'm getting lost a bit
> lost
SourceForget - Put up your source and forget it!
On 7/27/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> Agh. Troubleshooting a stupid PDF generation issue all day, my fingers
> just won't cooperate :)
>
> sourceforget... Maybe the French mirror site? ;)
>
> --
> Frank W. Zammetti
> Founder
On 7/28/05, Marco Mistroni <[EMAIL PROTECTED]> wrote:
>
> Hello Wendy,
> I missed one point of your statement..
>
> >>
>
> >Even if you're going to use an expression, the 'name' attribute should
> >still
> >evaluate to the _name_ of the bean, not the bean itself.
> > http://struts.apa
Imagine a company currently using PHP who decides their app has grown
past the constraints of PHP. It would be silly of them to change the
file extension on their URIs just because they're changing technology,
so they just map *.php to the Struts Servlet.
Of course, if the web developers at that
t they there to give
> guidance to their content (Hacker subterfuge excluded)?
>
> It shouldn't detract from the idea of page "longevity", which would make a
> for a better web.
>
> Christopher Marsh-Bourdon
> www.marsh-bourdon.com
>
>
> -Original Mess
I have the following in an action class:
msgs.add(ActionMessages.GLOBAL_MESSAGE,
new ActionMessage("This is an Action-inserted error",false));
msgs.add(ActionMessages.GLOBAL_MESSAGE,
new ActionMessage("So is this",false));
addErro
I think you're missing the point. There's no reason to include .php,
.asp, .jsp, .xml, or .html in *any* page. They don't mean anything.
Furthermore, any assumptions you make about the technology behind a
site based on those extensions is simply not valid. (OT: I'll never
forget the day my 7th
Hopefully by now you've read the aforementioned JavaBeans
specification. It does say that if the method name has two
consecutive capital letters after get and set, the property name is
not de-capitalized. So, for your method getSTitle, the property name
should also be STitle. If the name of your
Could you just put all of your completed ActionForms in a
session-scoped collection, then loop through that collection when the
user clicks "Finish"? This isn't a standard procedure, to my
knowledge, but it would be the first approach I would take given
similar requirements.
-- Jeff
On 8/10/05,
addErrors() is a new method in 1.2.7. addErrors() and addMessages()
are both valid, and both accept ActionMessages as arguments. For more
on the difference between ActionErrors and ActionMessages, see
http://wiki.apache.org/struts/ActionErrorsAndActionMessages. Also,
please get rid of the 'Re: {
You also have the option of doing document.form[0]['myobject.subobject'].
On 8/18/05, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>
>
>property="myobject.subobject" styleId="subobject" .../>
>
> then get the field by using
>
> document.getElementById("subobject");
>
>
> Tony Sm
I haven't actually tried having multiple simultaneous requests with
this, but it's not using the global namespace, so it should work:
submitRequest("../yourURL.html",processResponse);
function submitRequest(url,handler) {
var req = null;
if (window.XMLHttpRequest) { // Non-IE browsers
req
What does your struts-config look like?
On 9/2/05, Emmanuel.Leguy <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Apache: 1.3.33
> Tomcat: 5.5
> Solaris 10
> modjk 1.2
>
> I try this direct URI:
>
> https://myserver/path/action.do
>
> And if i haven't a session opened I get an apache 404 error:
>
> T
1 - 100 of 233 matches
Mail list logo