Well, there is, but I don't think this answers the original question.
You can use the focus attribute of the html:form tag:
<html:form action="[action]" focus="[name of field to focus on]">
Alas, this will make it so that that field is always focussed on, not the
field that gave the error. I am not sure if that is possible.
- eric
----- Original Message -----
From: "William Jaynes" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 07, 2001 2:02 PM
Subject: Re: Anyway to onFocus without Javascript?
> Sorry, Jessica,
> There is no way to focus on to an html field without using JavaScript.
>
> ----- Original Message -----
> From: "Anderson, Jessica" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, March 07, 2001 10:31 AM
> Subject: Anyway to onFocus without Javascript?
>
>
> > Does Struts provide any mechanism for focusing on a text field in the
event
> > that the field did not pass validation - WITHOUT using Javascript? Not
sure
> > if this is possible...thought i'd ask.
> > Thanks,
> > Jessica
>
>