how to open a new window in jsp
posted 19 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
hi,
I am new to javascript
my problem is i want to search student information from the database by entering student name..
the problem is there can be more than one name with the same name.
so if search for john then it should popup a window and it must display the name with his registration no
example :
john 10003
john 10012
john 10004
so that here the user can select the student according to his reg. number.
please anybody help me.
I am new to javascript
my problem is i want to search student information from the database by entering student name..
the problem is there can be more than one name with the same name.
so if search for john then it should popup a window and it must display the name with his registration no
example :
john 10003
john 10012
john 10004
so that here the user can select the student according to his reg. number.
please anybody help me.
A = HARDWORK B = LUCK/FATE If C=(A+B) then C=SUCCESSFUL IN LIFE else C=FAILURE IN LIFE
SCJP 1.4
posted 19 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Moving to the HTML/Javascript forum.
posted 19 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
you write a jsp which selects the information from the database.
A jsp ultimately translates to html content. so you have a html page which has all the information in tabular form.
now the problem is to open in a new window.
so you can call the jsp to open in a new window.
window.open(PAGENAME,.....)
or
window.showModalDialog(PAGENAME,....)
This will popup a new window.
You close this window using
window.close();
A jsp ultimately translates to html content. so you have a html page which has all the information in tabular form.
now the problem is to open in a new window.
so you can call the jsp to open in a new window.
window.open(PAGENAME,.....)
or
window.showModalDialog(PAGENAME,....)
This will popup a new window.
You close this window using
window.close();
Life called,so here I am.<br />Cheers<br />Niki.:-)
posted 19 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
there is no need to use another page if u have only 2 fields.
try giving that info in alert message.
try giving that info in alert message.
posted 19 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
"surya mm", you have already been asked on at least one other occasion to adjust your display name to meet JavaRanch standards. This is not optional. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it prior to your next post.
Be aware that accounts with invalid display names are removed.
bear
JavaRanch Sheriff
Be aware that accounts with invalid display names are removed.
bear
JavaRanch Sheriff
saikrishna cinux
Ranch Hand
Posts: 689
posted 19 years ago
hello boss i am using servlet for retiving th data from servlet not jsp file..
can i write this window.open in servlet like i write it in jsp file
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Originally posted by Niki Nono:
you write a jsp which selects the information from the database.
A jsp ultimately translates to html content. so you have a html page which has all the information in tabular form.
now the problem is to open in a new window.
so you can call the jsp to open in a new window.
window.open(PAGENAME,.....)
or
window.showModalDialog(PAGENAME,....)
This will popup a new window.
You close this window using
window.close();
hello boss i am using servlet for retiving th data from servlet not jsp file..
can i write this window.open in servlet like i write it in jsp file
A = HARDWORK B = LUCK/FATE If C=(A+B) then C=SUCCESSFUL IN LIFE else C=FAILURE IN LIFE
SCJP 1.4
Niki Nono
Ranch Hand
Posts: 256
posted 19 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
jsp translates to servlet. then servlet translates to html.
this is how jsp works.
so if you dot no do database activity in jsp which i agree you should not, you do it in the servlet. So the servlet will translate to html.
So it will work.
The flow is to be clear
JSP - SERVLET - HTML.
this is how jsp works.
so if you dot no do database activity in jsp which i agree you should not, you do it in the servlet. So the servlet will translate to html.
So it will work.
The flow is to be clear
JSP - SERVLET - HTML.
Life called,so here I am.<br />Cheers<br />Niki.:-)
| Who knew that furniture could be so violent? Put this tiny ad out there to see what happens: The new gardening playing cards kickstarter is now live! https://www.kickstarter.com/projects/paulwheaton/garden-cards |










