Hello!

I'm new in Struts.

I don't know how to write such code using Struts (version in html):

<html>
<head>
<title>Simple Forward</title>
</head>
<body>
  You can rename the source html file and it allways will works!!!
  <br>
<form name="test" method="get" onsubmit="javascript: this.action=document.location">
    type a text and type "Enter" : <input type="text" name="text">
  </form>
</body>
</html>

You can put it into any .html file and named it as you want - it will allways works.

I want to use Struts Action and Struts Form - I want to handle form values in action servlet. I don't know how to forward in action to input page, when I don't know its name? After that I need all form parameters to be printed in url - like in my example which simply uses GET submit method. How to do it with Struts Action?

Jakub Królikowski


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

Reply via email to