The easy answer is that you can have your framework do whatever you want it to do when it receives a URL. If the URL is directed to the Struts ActionServlet by your server, you can also code further choices, etc. there.

At 08:33 PM 6/27/2004, Rodney Paul wrote:
Hi All,

I have a problem in regards to the LookupDispatchAction Struts class.

My problem is in regards to a user pressing the "Enter" key on a keyboard.
In this scenario, a form submit has been activated via html, with no submit buttons having been pressed.
When Struts see's this, the Struts engine displays a java error indicating that the parameter being used for lookup's doesnt exist in the request.


Now is there a way of indicating to Struts that if the user presses the "Enter" key a default action will occur.
In other words, without using Javascript for trapping the "Enter" key, is there a way to tell struts to execute a default method
if the user presses the "Enter" key. In particular a descriptor value indicating the default method to execute.


If possible could anyone help me with a solution to this problem.


Cheers Rodney Paul


ps. Could Ted Husted please have a look at this.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to