473,387 Members | 1,899 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

How to remain on the same form until press close button in JSP

I want to create a form in JSP that will accept the purchase order number and other details. Then i want to proceed to enter the list of items until I press the close button.
Please Help me to solve this problem
May 31 '07 #1
3 1309
r035198x
13,262 8TB
I want to create a form in JSP that will accept the purchase order number and other details. Then i want to proceed to enter the list of items until I press the close button.
Please Help me to solve this problem
If you don't know how to create a form, try reading an html tutorial.
May 31 '07 #2
I want to create a form in JSP that will accept the purchase order number and other details. Then i want to proceed to enter the list of items until I press the close button.
Please Help me to solve this problem
create form in jsp page like this
Expand|Select|Wrap|Line Numbers
  1. <form>
  2. ordernumber<input type="text" >
  3. <input type="submit" value="submit">
  4. </form>
  5.  
May 31 '07 #3
sumittyagi
202 Expert 100+
I want to create a form in JSP that will accept the purchase order number and other details. Then i want to proceed to enter the list of items until I press the close button.
Please Help me to solve this problem
Simply use ajax for that. You will be on the same page, you will not be submitting the request directly, your request will be generated asynchronously. Search for ajax tutorials on google or go to javascript/ajax forum.

Or you can send the request to a servlet, and then forward that request again to this jsp, with attributes set as on the previous page.
May 31 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Peter yeshew | last post by:
Is it possible to forbid closing the form through the File- Close menu ? On my form i have a command button called CmdDeleteInvoice. When this command button is visible ,i want to forbid the user...
1
by: Michel | last post by:
Yes, there is a way of forbidding a form being closed if you create a boolean variable (blnCanClose = False) in the form's Unload event. I didn't read all the responses, but I have just such a form...
11
by: Zytan | last post by:
I have created a new form from the main form. When I close the main form with the 'x' close button, its Form.FormClosed event is run, but not the dialog's. Is this normal? It is ok /...
1
by: mirandacascade | last post by:
1) Module1 has the following delcaration: Public g_frmZZZ as Form Public g_txtForm2 as Variant 2) app has two forms: form1 and form2 3) a command button on form1 opens form2; it also has...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.