<%@taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> <" name="description">

I want to submit the below "struts html tag" based jsp when i hit the enter key as well as submit button.(inthe belwo code wroking properly for submit button)

<p>&lt;%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
&lt;%@taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Feedback Form</title>
</head>
<body>
<b>Feedback Successfully Submitted.</b><br>
You have submitted the following feedback.</p>

<table>

<tr>       
<td>            
Name :

</td>

<td>

<bean:write name="feedbackForm" property="name" />

</td>

</tr>

<tr>

<td>

Sex :

</td>

<td>

<logic:equal name="feedbackForm" property="sex" value="M"> Male </logic:equal>

<logic:equal name="feedbackForm" property="sex" value="F"> Female </logic:equal>

</td>

</tr>

<tr>

<td>

Comments :

</td>

<td>

<bean:write name="feedbackForm" property="comments" />

</td>

</tr>
</table>

<p></body>
</html></p>
View Answers









Related Tutorials/Questions & Answers:
when i hit enter it represent action like click a button
when i hit enter it represent action like click a button  Hi, Plz provide a program in html like I want 2 submit buttons,when i hit the enter button it will represent the action like click the 1st submit
JSP Submit Button
JSP Submit Button  Sir, I have a JSP page with 2 Submit button, both calls doPost method of same servlet. If I click any submit button the text box value get refreshed and set to null or blank, that should not happen. Plz help
Advertisements
submit button
submit button  <p>hi I am trying to insert record in database using hibernate in JSP(Netbeans). When I click insert button it should go...; <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
Submit comments in database when user clicks on submit button
Submit comments in database when user clicks on submit button... to show how to submit comments from a jsp page and insert it to the MySql database when user clicks the submit button of the page. Create a database: First
how i get experience wise resume from database when i submit from browser
how i get experience wise resume from database when i submit from browser  how i get experience wise resume from database when i submit from browser   Please go through the following link: Visit Here
how to disable submit button in jsp using servlet when some condition is satisfied
how to disable submit button in jsp using servlet when some condition is satisfied  how to disable submit button in jsp using servlet when some condition is satisfied
how to disable submit button after login in jsp
how to disable submit button after login in jsp  Hi, I have an application and when user logs in welcome page is displayed. When user clicks... to disable submit button after login in jsp? Thanks   Hi, You can
How to save form fields into the MySql Database without submit button in jsp?
How to save form fields into the MySql Database without submit button in jsp?  I want to store user inputs into the database using javasccript or ajax or jqury but without submit button. Form Contains three fields
image on submit button
image on submit button  i need to set an image on submit button. In javascript we can create a button like.. <a href="javascript:;" class="button">Sign up</a> But how will i do it from CSS?   The best way
storing details in database on clicking submit button - JSP-Servlet
'Name' and 'ID'.I want to store the details of these two fields in the MYSQL database on clicking submit button. I am unable to do this.Can u tell me how to code...storing details in database on clicking submit button  I am using JSP
Disabling submit button using jQuery
Disabling submit button using jQuery  Hello Sir I want to know - is there any way or approach to disable client side form's "Submit" button. Please give code also.ADS_TO_REPLACE_1   For all submit buttons, via JQuery
Submit button to MySQL database?
Submit button to MySQL database?  Need help linking html code..." content="text/html; charset=ISO-8859-1"> <title>Insert title here<...="Province" /><br /> Dealer Code: <input type="text" name="Dealer_Code
Submit button to MySQL database?
Submit button to MySQL database?  Need help linking html code..." content="text/html; charset=ISO-8859-1"> <title>Insert title here<...="Province" /><br /> Dealer Code: <input type="text" name="Dealer_Code
Struts application two submit button
user registration . I want process one button is login purpose and another one new...Struts application two submit button  Hai, i'm new in struts...;html:submit tabindex="6" styleClass="btTxt"> <bean
How can we submit a form without a submit button?
How can we submit a form without a submit button?  How can we submit a form without a submit button
I want code below mention programe
I want code below mention programe  Create a web application using any technology that accepts a keyword and displays 10 relevant tweets from Twitter in real-time for that keyword
insertin form data into databse and blank all form field when click on submit button
insertin form data into databse and blank all form field when click on submit button  sir, i useing the jsp. i want insert form data into Ms-Access database when click on submit button and blank all form field after inserting
Click On Images of Submit Button Perform Action
Click On Images of Submit Button Perform Action  I have login page in which insert of submit button i used image. Therefor on Click of image i have to validate form , link with database and goto the next page
very urgent, want to submit my project on monday
very urgent, want to submit my project on monday  i have the code for connected combo-boxes(jsp). But the thing i want to know is, how to access... of country-state connected comboboxes, when i'm trying to access 'country' i'm
Retrive only requird data from a table in MYSQL databade to JSP file..on a field submit button.
Retrive only requird data from a table in MYSQL databade to JSP file..on a field submit button.  i have MYSQL DB,DB NAME:TRLIST, TABLE NAME:TR_LIST...),Row3(AIR,CS6.0,ZZZ)}, @I want to retrieve the column values of NODE and PACKAGE
after entering details in reg page,n enter the submit button,how can v store the data in db, n hw can v retrive the data frm db in jsp
after entering details in reg page,n enter the submit button,how can v store the data in db, n hw can v retrive the data frm db in jsp  i ve creted... the submit button,how can v store the data in db, n hw can v retrive the data frm
Action Submit Html
Action Submit Html       Action Submit in Html is used to submit a form, When a user... button. When an user enter some text in the text field User name) and clicks
On Click on Submit Button Display Data on Orderlist
On Click on Submit Button Display Data on Orderlist  How can retreive data from database on orderlist on Click on submit Button of same page
submit a form
submit a form  How can we submit a form without a submit button
Facing Problem with submit and cancel button in same page - Struts
Facing Problem with submit and cancel button in same page  Hi, can u please help me out.I have placed submit and cancel button in the jsp page but i am unable to know how to write the form and action classes   Hi
I want this jsp answers
I want this jsp answers    How can we declare third party classes... for particular jsp pages? If we want to develop any jsp pages using eclipse where we can...(Y/N)? Is it Possible to include html pages to jsp pages(Y/N
I want this jsp answers
I want this jsp answers    How can we declare third party classes... for particular jsp pages? If we want to develop any jsp pages using eclipse where we can...(Y/N)? Is it Possible to include html pages to jsp pages(Y/N
PHP HTML Form Submit Button
Topic : HTML FORM SUBMIT BUTTON Part - 4 The another part which is important.... The Submit button in Html is used to submit form data to the page mentioned... the information inputted by the user we just need a Html Submit button. <input
i want to create an application with only a button which on click displays table from database using struts2 and hibernate on eclipse
i want to create an application with only a button which on click displays table from database using struts2 and hibernate on eclipse  please help me i have to submit this soon
Submit project to get developed
and presented here as questions. How do I Submit... of projects can i submit ? What is the Payment Mode ? What... ? How do I Submit my Project ? You can
I have a tex box. in that i want user should enter data in the format specified(for eg--a_b_c_d_e_)how to write code for it.
I have a tex box. in that i want user should enter data in the format specified(for eg--a_b_c_d_e_)how to write code for it.  I have a tex box. in that i want user should enter data in the format specified(for eg--abcde_)how
How to handle enter key in javascript
to handle the enter key event on a Button in HTML. Like in my simple HTML page i want to submit the form even if user hits the enter key from keyboard instead of button.   Enter key event in html JavaScript This is very simple. You
How to disable Browser's back button (at the same time i want my own back button to be enabled) :p
How to disable Browser's back button (at the same time i want my own back button to be enabled) :p  Hi, I have designed a "back" button for jsp page. Now I want to disable Browser's default button So that people will use "back
How to disable Browser's back button (at the same time i want my own back button to be enabled) :p
How to disable Browser's back button (at the same time i want my own back button to be enabled) :p  Hi, I have designed a "back" button for jsp page. Now I want to disable Browser's default button So that people will use "back
create text box by clicking button and submittong text in text box using submit
submit  Hi, I created a button when i click on button new textbox is created. and i want to do that when i enter the text input in text box and when i... box in SOP). i also want the text box should generate in front of NEW button
i want to update values
i want to update values  in my form i have 2 submit buttons one... this code using html servlets and jsp... the edit button all text boxs need to enable so that i can edit my details
disable and enable the submit buttons
disable and enable the submit buttons  i have two summit button in my form. one is disabled and other is navigating to the other page. after 3 submissions of the submit button the disabled one must be enabled and the enabled one
I want solution for this jsp program..
I want solution for this jsp program..   <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <%@ page import="java.sql.*" %> JSP Page <%! String
To Retain the values entered in the text box after submit in jsp page
To Retain the values entered in the text box after submit in jsp page   i am working on a jsp pge which has many text boxes and one dynamic drop... after submit has been done ? coz when data is displayed then the values entered
I want to display 10,000 records in a jsp page.Can I display page by page?
I want to display 10,000 records in a jsp page.Can I display page by page?  When I submit a form it says "ERROR: Query request too large. Total rows... print page by page or have say 900 records per page in a jsp? Should I have
Ajax form submit
Ajax form submit  Hi, Provide me the example code of Ajax form submit. I want quick tutorial that will help me in writing form submit code in Ajax. Thanks   Hi, Read jQuery 'submit' form event tutorial. This tutorial
automatically break line when ever I put enter.
automatically break line when ever I put enter.  code is working fine. but in output Enter is ignored. public void action(int a){ if(a == 0... StringBuffer(OriginalMsg); for(int i = 0; i < sb.length(); i
i want to pass Javascript value to JSP scriptlet..
i want to pass Javascript value to JSP scriptlet..  i am having a problem that, i am having a combo box in the JSP page when i select an item from... now i want to pass this value to JSP scriptlet
Jsp error when i run this a jsp file
Jsp error when i run this a jsp file  hi I got this error when i run the jsp file in IDE and outside also please help me...) javax.servlet.http.HttpServlet.service(HttpServlet.java:717)   Please post your code
browse and submit the excel sheet into mysql as a table
browse and submit the excel sheet into mysql as a table  sir, i want to browse and after clicking a submit button, the data in the excel sheet should be stored in the mysql5.0 as a table
i want code for these programs
i want code for these programs   Advances in operating system Laboratory Work: (The following programs can be executed on any available and suitable platform) Design, develop and execute a program using any
Submit Articles for Free
the information when you want it - anytime.   FreeSticky Each day I get... of your article. Using the ENTER key after each line to get the look you want... you want. We are interested in seeing well-written features, how-to articles
more Submit buttons in the same form
more Submit buttons in the same form  Can I have two or more Submit buttons in the same form
how to display jsp page containing mysql query in particular division using ajax ?my code is below bt i cundt get it properly
how to display jsp page containing mysql query in particular division using ajax ?my code is below bt i cundt get it properly   index.html <...; <input type="button" onclick="displayFunction()" value="submit" />
I want design samples for JSP project
I want design samples for JSP project  Sir, I world Like to do a project in jsp techonology. But i have no idea of selecting the project, especially if i selected any project i have no idea that is how to build ie how to design