aspose file tools
The moose likes HTML, CSS and JavaScript and the fly likes Dynamically added form fields cannot access from request access Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "Dynamically added form fields cannot access from request access" Watch "Dynamically added form fields cannot access from request access" New topic
Author

Dynamically added form fields cannot access from request access

sumanth kumar
Greenhorn

Joined: Jul 29, 2005
Posts: 22
We are using JSP pages to show the HTML form and access them in the Servlet code. This form needs to add input type text and when you click the submit this form field needs to access (request.getParameter("dynfld");) from Servlet but it doesn't get the value. And I checked the View Source of that page, then I figured out that dynamic field didn't appear on the page. I think that's why it didn't access in Servlet.

Here is the Code I used:

HTML (JSP) Page:


In javascript:


Can anybody give me the clue that needs to access the dynamic form fields in Servlet code.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dynamically added form fields cannot access from request access
 
Similar Threads
Changing the text inside the first TextBox , the last div gets updated
Changing focus to dynamic text box
Data element creation
Using createElement() to make a temp form to submit.
dynamically adding textboxes