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)

Ads

 
 

Share on Google+Share on Google+

sadanna.m
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)
0 Answer(s)      6 years and 7 months ago
Posted in : Struts
<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>
Ads
View Answers
Ads









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 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 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
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
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
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.   For all submit buttons, via JQuery, it'd
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
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
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
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
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
Action Submit Html
a code, which helps you in creating a textfield and a submit button. When an user enter some text in the text field User name) and clicks the submit button...;  Action Submit in Html is used to submit a form, When a user
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
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
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
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
PHP HTML Form Submit Button
Topic : HTML FORM SUBMIT BUTTON Part - 4 The another part which is important to covered that is Submit button. If you are following all the previous parts... we just need a Html Submit button. <input type="submit" name
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 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
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
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
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

Ads

 
Advertisement null

Ads