This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes problem in Dynamic webform creation ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "problem in Dynamic webform creation ?" Watch "problem in Dynamic webform creation ?" New topic
Author

problem in Dynamic webform creation ?

Nagarajan Thangapandi
Greenhorn

Joined: Mar 18, 2008
Posts: 9
<div id="main">
<form action="" id="form_result">


<div onclick="display_fields(0)" id="nofields" style="display: none;" class="notification">
<h2>You have no fields yet!</h2>

Click the buttons on the right to add fields to your form.


</div>

<div class="buttons" id="div_button">

Save Form

</div>
</form>
<div id="debug_box"></div>
</div>

Hi,
I created WebForm using JQuery. the user can create own design using this page. After creating the form, User click "Save Form". the form(form_result) save as one JSp or HTML file.
How to save the Form as file. whether the Jquery function is available to save the form as file or we need to use Action class(Struts 2). How to pass the Whole form to action class to save a form as file. Can you please provide the solution.

Thanks
Nagarajan T.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Please UseCodeTags when posting code or configuration. Unformatted code and configuration is unnecessarily difficult to read. You can edit your post by using the button. (And disable HTML when posting HTML.)
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

If you're just generating text, send it as a post parameter, just like any other form field.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem in Dynamic webform creation ?
 
Similar Threads
Need help on understanding ww:token
pass a variable in the URl
Communicate with the server without a browser.
Can you read this?
Ajax code getting null value