I think the latter part of your HREF is creating a problem. (1) Try putting parenthesis around the args. or (2) try escaping the args. as:
  par2=escape(val2,i,options). (3) If you can split these args. into separate name value pairs, it may solve the problem.
-----Original Message-----
From: SAN [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 10, 1999 6:55 AM
To: [EMAIL PROTECTED]
Subject: Re: PROBLEMS WHILE OPENENIG WINDOWS IN JAVASCRIPT

I have tried, but the servlets loads in another navigator window, and the options, as dimensions, are ignored.

Sam Rose wrote:

Why not use the windows resource function instead

<A
HREF="http://myserver/servlet/servletname?par1=va1&par2=val2,i,options"
target="Resource Window">Link text</A>

-----Original Message-----
From:   SAN [mailto:[EMAIL PROTECTED]]
Sent:   Monday, May 10, 1999 12:32 PM
To:     [EMAIL PROTECTED]
Subject:        PROBLEMS WHILE OPENENIG WINDOWS IN JAVASCRIPT

Hello, I am developing a web based app. using servlets.
I have a list of links in a servlet generated page, and I want that
when
one is clicked, a second window is openened calling a servlet.

<a
href=javascript:open(http://myserver/servlet/servletname?par1=va1&par2=
val2,i,options)>
link text </a>
<a href=...>
<a href=...>

Of course, params vary in each link.

When I click a link, the window is opened, and the servlet is called,
but I lose the first page, and the only I can see is
[object Window] in textplain.

What happen?
Thanks in advance.

_______________________________________________________________________
____
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

 

Reply via email to