Chainlu,
You may be just losing your relative path to AssignEngr.html once you go
through the servlet. Try putting the full path in the JavaScript.
Tim Gallagher
-----Original Message-----
From: Chainlu Sharma [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 04, 1999 9:45 AM
To: [EMAIL PROTECTED]
Subject: Opening a subwindow
Hi all
I have a small problem . I am having a HTML form where on clicking a
button, I open a subwindow which contains a combo box. The value
selected in combobox is returned to the form element.
On submitting the form details, I printout the HTML thru servlet. Now,
when I click the same button again to open the subwindow, the error
message Error file was not found.(servlet name=AssignEngr.html)appears.
How can I open the subwindow?IS there any way of returning the
formelement values without actually reprinting the HTML form thru the
servlet(ie, only reading the values and then returning the values to a
static HTML page).
Thanx in advance.
CODE PIECES ARE AS FOLLOWS
In html page :
a]
script language='javascript'
function assignEngr(){
if(myWin.name==null){
myWin=window.open(AssignEngr.html,subwindow,HEIGHT=100,width=350)
}else{
myWin.focus()
}
/script
b] td bgcolor=999999input type=text name=Application value=input
type=button value= ? onClick=application()/tr/table
________________________________________________________________________
___ To unsubscribe, send email to [EMAIL PROTECTED] and include in
the body of the message signoff SERVLET-INTEREST. Archives:
http://archives.java.sun.com/archives/servlet-interest.html Resources:
http://java.sun.com/products/servlet/external-resources.html LISTSERV
Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html