Ya it's working fine
Thanks to julia
Vaishali
Relience Ind Ltd
A'bad
Sorry, try with this:
square.style.left = x;
square.style.top = y;
square.style.width = w;
square.style.height = h;
Julia
-----Mensaje original-----
De: [Vaishali S. Pandya] [mailto:[EMAIL PROTECTED]]
Enviado el: jueves, 23 de mayo de 2002 8:18
Para: [EMAIL PROTECTED]
Asunto: Re: Passing "array parameters" from one page to another +
drawing lines over a picture
Julia i tried what u wrote
but here it gives me error in javascript like
document.square is not an object.
pls can any body explain what mistake i did?
Vaishali
Relience Ind Ltd
A'bad
Ramesh,
thanks a lot, it's a lot more cleaner than spliting.
By the way, just fyi, if anyone remembers I asked for a solution for
drawing lines on top of a picture. I got a few nice solutions from you with
JSP an also css-based. Since I needed to paint a square my solution finaly
was very simple.
<div style="position: relative">
<img name="OverviewMap" src='<%=imagen_overview%>' width="165"
height="119">
<TABLE id="square" style="position: absolute;" borderColor="red"
width="25" height="25" border="2">
<TR>
<TD></TD>
</TR>
</TABLE>
</div>
After this, with javascript I can change:
document.square.top
document.square.left
document.square.with
document.square.heith
So I can "highlight" a specific zone of the picture with a red square.
Sorry for not using JSP solution, but in this case css was easier.
Thanks for all the interesting options you suggested.
Bye
Julia
-----Mensaje original-----
De: Kesav, Ramesh [mailto:[EMAIL PROTECTED]]
Enviado el: mi�rcoles, 22 de mayo de 2002 9:12
Para: [EMAIL PROTECTED]
Asunto: Re: Passing "array parameters" from one page to another
you can use stringtokenizer
Regards
Ramesh Kesavanarayanan
[EMAIL PROTECTED]
Off: 91-44-8113801 ext 2333
Res:91-44-2265360
Mob : 91-98412-73573
> -----Original Message-----
> From: [Vaishali S. Pandya] [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, May 22, 2002 11:18 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Passing "array parameters" from one page to another
>
> hay julia
>
> Have u find the solution?
> cause i didn't find any answer for ur que in the list
> pls forword me if any one u found as i am also facing the same.
> but as i know your url can not have more than 256 chars
> right?
> what to do it it became more lenghty?
>
> Vaishali
> Relience Ind Ltd
> Ahm'd
>
>
>
> Hi all!!
> I want to pass an undetermined number of names, for example, from one
page
> to another.
> I guess the only way to do this is to add all the names in one string,
> separated by a special character, and
> then spliting the string at the target page.
>
> Any better ways??
> I'm try to doing this but
> String name = request.getParameter("name");
> String names[] = name.split("*");
>
> but I get an error saying this method is "deprecated" ??
> I have imported java.lang.*.
>
> Thanks in advance,
>
> Julia
>
==========================================================================To
unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com