I'm tempted to post this on the beginner's forum, but because it is specifically regarding
JSP and JSTL, I'll put it here, with apologies that it's a much more simple question than you might want to see here.
I'm new-ish to jsp.
I'm using the newest versions of
Tomcat and JSTL.
I am trying to do something relatively simple: Have a user input a
string on a form, and then have that string passed to a .jsp page. For some reason, which I'm guessing is probably something very, very basic that I'm missing, the parameter isn't getting passed.
Here's the form (add_form.html):
and here's the jsp page (adddoc.jsp):
So--the combination of these two neither updates the database nor prints out the input string from the form on the page.
If I create a form which includes the adddoc.jsp stuff within itself, then once I fill out the form and click 'submit', everything goes as planned--the database gets updated, and the value of the input gets printed out to the screen (adddocform.jsp):
So, I'm thinking that I'm not doing something that needs to be done to get the parameter to get passed from the form to the .jsp.
Any ideas? I'm using a great book, "JSTL in Action," but according to the book--as far as I can tell--my code should work. So.
Thanks in advance for your help.