You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by David Wynter <da...@roamware.com> on 2002/09/09 13:06:00 UTC

Launch popup browser from DefaultBottom.vm not working?

I have the following in my DefaultBottom.vm

<table cellspacing="0" cellpadding="0" border="0" width="774"
bgcolor="#005162">
  <tr>
    <td >
    <div class="offwhite">
	  &nbsp;<a class="offwhite" href="#"
onClick="javascript:window.open('popups,copyright.vm','copyright','toolbar=n
o,menubar=no,width=428,height=230,scrollbars=no,resizable=yes')">Copyright</
a>&nbsp;|
	  <a class="offwhite" href="#"
onClick="javascript:window.open('popups,privacy.vm','privacy','toolbar=no,me
nubar=no,width=450,height=400,scrollbars=yes,resizable=yes')">Privacy</a>&nb
sp;|
	  <a class="offwhite" href="$link.setPage("contact,contact.vm")" >  Contact
Us</a>
    </div>
	</td>
  </tr>
</table>

What i get when I hover over the 1st 2 links is
"http://www.roamware.com:8080/rwsite/servlet/rwsite/template" and it always
takes me to the default page as well as pops up the popups,copyright.vm or
the popups,privacy.vm. What do I need to do to stop it navigating to the
default page as well?

Another Q, how do I make
"http://www.roamware.com:8080/rwsite/servlet/rwsite/template" my default
page for www.roamware.com. I know this is a question about Apache and
Tomcat, but they make it hard to find in amongst lots of documentation.

David Wynter


roamware Ltd.
(+44) (0) 208 922 7539 B.
(+44) (0) 7879 605 706 M.
david@roamware.com


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Launch popup browser from DefaultBottom.vm not working?

Posted by David Wynter <da...@btclick.com>.
Hi Scott,

I did get it to work as you spec'ed it. What was causing my problem was that
I used an abbreviated path for the popup, ala 'popups,privacy.vm'. That
fooled me because what it popped up was the index.vm? But when I used the
full URI then it worked. So thanks.

David

-----Original Message-----
From: Scott Eade [mailto:seade@backstagetech.com.au]
Sent: 10 September 2002 00:17
To: turbine-user
Subject: Re: Launch popup browser from DefaultBottom.vm not working?


Even with a target attribute on the <a>?

Please post the full html of your link.

I have exactly the same requirement for my application and it works with no
problems.

This, by the way, is totally a HTML problem.

Cheers,

Scott
--
Scott Eade
Backstage Technologies Pty. Ltd.
http://www.backstagetech.com.au

> From: "David Wynter" <da...@btclick.com>
> Reply-To: "Turbine Users List" <tu...@jakarta.apache.org>
> Date: Mon, 9 Sep 2002 16:09:56 +0100
> To: "Turbine Users List" <tu...@jakarta.apache.org>
> Subject: RE: Launch popup browser from DefaultBottom.vm not working?
>
> Hi Scott,
>
> Your solution does what I expected it to do. It places the
popup,privacy.vm
> in the main browser window, not launch a separate browser window without
> toolbars etc. with the privacy.vm content and leave the current browser
> window as it was.
>
> I have reverted to putting href="" as it does not cause the problem of
> resubmitting a form if I had just submitted one immediately prior to
popping
> up a new browser window as it does where href="#". It is not ideal because
> it does take the user to the default index page.
>
> The only way i can see of doing this cleanly is to have an action that
> checks somehow that you are only popping up a new browser and does not
> actually navigate the current browser to the href passed.
>
> David
>
> -----Original Message-----
> From: Scott Eade [mailto:seade@backstagetech.com.au]
> Sent: 09 September 2002 14:59
> To: turbine-user
> Subject: Re: Launch popup browser from DefaultBottom.vm not working?
>
>
>> From: "David Wynter" <da...@btclick.com>
>>
>> Hi Scott,
>>
>> If by "urlToPage" you mean the popup window then that would display the
>> popup window in the main browser, not what I want. If however you mean
the
>> current displayed window then, as this varies, I don't know how to
achieve
>> that (could use a Velocity $variable I suppose and substitue on the
server
>> side?), if you mean the current main browser window as in '#' then the
>> aforementioned problem were the last action prior to hitting the link was
> to
>> submit a form causes it to be submitted again.
>>
>> So I am not sure what you mean by 'urlToPage' in your description?
>>
>> I did try the full URI and it worked, thanks.
>>
>> If I was to use a launch() JavaScript then it would go into Default.vm?
>>
>> Thank
>>
>> David
>
> I don't get what the problem is with:
> <a href='http://www.roamware.com:8080/popups,Privacy.vm' onclick="return
> launch(this.href)">label</a>
>
> <script>
> launch(theUrl) {
>   strAttrs =
> 'toolbar=no,menubar=no,width=450,height=400,scrollbars=yes,resizable=yes';
>   WindowObj = window.open(theUrl,'someName',strAttrs);
>   if (WindowObj)
>       return false;
>   return true;
> }
> </script>
>
> Scott
> --
> Scott Eade
> Backstage Technologies Pty. Ltd.
> http://www.backstagetech.com.au
>
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>


--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Launch popup browser from DefaultBottom.vm not working?

Posted by Scott Eade <se...@backstagetech.com.au>.
Even with a target attribute on the <a>?

Please post the full html of your link.

I have exactly the same requirement for my application and it works with no
problems.

This, by the way, is totally a HTML problem.

Cheers,

Scott
-- 
Scott Eade
Backstage Technologies Pty. Ltd.
http://www.backstagetech.com.au

> From: "David Wynter" <da...@btclick.com>
> Reply-To: "Turbine Users List" <tu...@jakarta.apache.org>
> Date: Mon, 9 Sep 2002 16:09:56 +0100
> To: "Turbine Users List" <tu...@jakarta.apache.org>
> Subject: RE: Launch popup browser from DefaultBottom.vm not working?
> 
> Hi Scott,
> 
> Your solution does what I expected it to do. It places the popup,privacy.vm
> in the main browser window, not launch a separate browser window without
> toolbars etc. with the privacy.vm content and leave the current browser
> window as it was.
> 
> I have reverted to putting href="" as it does not cause the problem of
> resubmitting a form if I had just submitted one immediately prior to popping
> up a new browser window as it does where href="#". It is not ideal because
> it does take the user to the default index page.
> 
> The only way i can see of doing this cleanly is to have an action that
> checks somehow that you are only popping up a new browser and does not
> actually navigate the current browser to the href passed.
> 
> David
> 
> -----Original Message-----
> From: Scott Eade [mailto:seade@backstagetech.com.au]
> Sent: 09 September 2002 14:59
> To: turbine-user
> Subject: Re: Launch popup browser from DefaultBottom.vm not working?
> 
> 
>> From: "David Wynter" <da...@btclick.com>
>> 
>> Hi Scott,
>> 
>> If by "urlToPage" you mean the popup window then that would display the
>> popup window in the main browser, not what I want. If however you mean the
>> current displayed window then, as this varies, I don't know how to achieve
>> that (could use a Velocity $variable I suppose and substitue on the server
>> side?), if you mean the current main browser window as in '#' then the
>> aforementioned problem were the last action prior to hitting the link was
> to
>> submit a form causes it to be submitted again.
>> 
>> So I am not sure what you mean by 'urlToPage' in your description?
>> 
>> I did try the full URI and it worked, thanks.
>> 
>> If I was to use a launch() JavaScript then it would go into Default.vm?
>> 
>> Thank
>> 
>> David
> 
> I don't get what the problem is with:
> <a href='http://www.roamware.com:8080/popups,Privacy.vm' onclick="return
> launch(this.href)">label</a>
> 
> <script>
> launch(theUrl) {
>   strAttrs =
> 'toolbar=no,menubar=no,width=450,height=400,scrollbars=yes,resizable=yes';
>   WindowObj = window.open(theUrl,'someName',strAttrs);
>   if (WindowObj)
>       return false;
>   return true;
> }
> </script>
> 
> Scott
> --
> Scott Eade
> Backstage Technologies Pty. Ltd.
> http://www.backstagetech.com.au
> 
> 
> 
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Launch popup browser from DefaultBottom.vm not working?

Posted by David Wynter <da...@btclick.com>.
Hi Scott,

Your solution does what I expected it to do. It places the popup,privacy.vm
in the main browser window, not launch a separate browser window without
toolbars etc. with the privacy.vm content and leave the current browser
window as it was.

I have reverted to putting href="" as it does not cause the problem of
resubmitting a form if I had just submitted one immediately prior to popping
up a new browser window as it does where href="#". It is not ideal because
it does take the user to the default index page.

The only way i can see of doing this cleanly is to have an action that
checks somehow that you are only popping up a new browser and does not
actually navigate the current browser to the href passed.

David

-----Original Message-----
From: Scott Eade [mailto:seade@backstagetech.com.au]
Sent: 09 September 2002 14:59
To: turbine-user
Subject: Re: Launch popup browser from DefaultBottom.vm not working?


> From: "David Wynter" <da...@btclick.com>
>
> Hi Scott,
>
> If by "urlToPage" you mean the popup window then that would display the
> popup window in the main browser, not what I want. If however you mean the
> current displayed window then, as this varies, I don't know how to achieve
> that (could use a Velocity $variable I suppose and substitue on the server
> side?), if you mean the current main browser window as in '#' then the
> aforementioned problem were the last action prior to hitting the link was
to
> submit a form causes it to be submitted again.
>
> So I am not sure what you mean by 'urlToPage' in your description?
>
> I did try the full URI and it worked, thanks.
>
> If I was to use a launch() JavaScript then it would go into Default.vm?
>
> Thank
>
> David

I don't get what the problem is with:
<a href='http://www.roamware.com:8080/popups,Privacy.vm' onclick="return
launch(this.href)">label</a>

<script>
launch(theUrl) {
    strAttrs =
'toolbar=no,menubar=no,width=450,height=400,scrollbars=yes,resizable=yes';
    WindowObj = window.open(theUrl,'someName',strAttrs);
    if (WindowObj)
        return false;
    return true;
}
</script>

Scott
--
Scott Eade
Backstage Technologies Pty. Ltd.
http://www.backstagetech.com.au



--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Launch popup browser from DefaultBottom.vm not working?

Posted by David Wynter <da...@btclick.com>.
Ahhh, now I get it. You switched the position of the popup in the <A...> and
introduced the 'this' object, I missed this. It make perfect sense now.

David

-----Original Message-----
From: Scott Eade [mailto:seade@backstagetech.com.au]
Sent: 09 September 2002 14:59
To: turbine-user
Subject: Re: Launch popup browser from DefaultBottom.vm not working?


> From: "David Wynter" <da...@btclick.com>
>
> Hi Scott,
>
> If by "urlToPage" you mean the popup window then that would display the
> popup window in the main browser, not what I want. If however you mean the
> current displayed window then, as this varies, I don't know how to achieve
> that (could use a Velocity $variable I suppose and substitue on the server
> side?), if you mean the current main browser window as in '#' then the
> aforementioned problem were the last action prior to hitting the link was
to
> submit a form causes it to be submitted again.
>
> So I am not sure what you mean by 'urlToPage' in your description?
>
> I did try the full URI and it worked, thanks.
>
> If I was to use a launch() JavaScript then it would go into Default.vm?
>
> Thank
>
> David

I don't get what the problem is with:
<a href='http://www.roamware.com:8080/popups,Privacy.vm' onclick="return
launch(this.href)">label</a>

<script>
launch(theUrl) {
    strAttrs =
'toolbar=no,menubar=no,width=450,height=400,scrollbars=yes,resizable=yes';
    WindowObj = window.open(theUrl,'someName',strAttrs);
    if (WindowObj)
        return false;
    return true;
}
</script>

Scott
--
Scott Eade
Backstage Technologies Pty. Ltd.
http://www.backstagetech.com.au



--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Launch popup browser from DefaultBottom.vm not working?

Posted by Scott Eade <se...@backstagetech.com.au>.
> From: "David Wynter" <da...@btclick.com>
> 
> Hi Scott,
> 
> If by "urlToPage" you mean the popup window then that would display the
> popup window in the main browser, not what I want. If however you mean the
> current displayed window then, as this varies, I don't know how to achieve
> that (could use a Velocity $variable I suppose and substitue on the server
> side?), if you mean the current main browser window as in '#' then the
> aforementioned problem were the last action prior to hitting the link was to
> submit a form causes it to be submitted again.
> 
> So I am not sure what you mean by 'urlToPage' in your description?
> 
> I did try the full URI and it worked, thanks.
> 
> If I was to use a launch() JavaScript then it would go into Default.vm?
> 
> Thank
> 
> David

I don't get what the problem is with:
<a href='http://www.roamware.com:8080/popups,Privacy.vm' onclick="return
launch(this.href)">label</a>

<script>
launch(theUrl) {
    strAttrs = 
'toolbar=no,menubar=no,width=450,height=400,scrollbars=yes,resizable=yes';
    WindowObj = window.open(theUrl,'someName',strAttrs);
    if (WindowObj)
        return false;
    return true;
}
</script>

Scott
-- 
Scott Eade
Backstage Technologies Pty. Ltd.
http://www.backstagetech.com.au



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Launch popup browser from DefaultBottom.vm not working?

Posted by David Wynter <da...@btclick.com>.
Hi Scott,

If by "urlToPage" you mean the popup window then that would display the
popup window in the main browser, not what I want. If however you mean the
current displayed window then, as this varies, I don't know how to achieve
that (could use a Velocity $variable I suppose and substitue on the server
side?), if you mean the current main browser window as in '#' then the
aforementioned problem were the last action prior to hitting the link was to
submit a form causes it to be submitted again.

So I am not sure what you mean by 'urlToPage' in your description?

I did try the full URI and it worked, thanks.

If I was to use a launch() JavaScript then it would go into Default.vm?

Thank

David



-----Original Message-----
From: Scott Eade [mailto:seade@backstagetech.com.au]
Sent: 09 September 2002 14:21
To: turbine-user
Subject: Re: Launch popup browser from DefaultBottom.vm not working?


> From: "David Wynter" <da...@btclick.com>
>
> Hi Scott,
>
> Thanks, but still a problem. The redirect does not account for port 8080.
I
> tried location=':8080/rwsite/servlet/rwsite';
> But that ends up as http://www.roamware.com/:8080/rwsite/servlet/rwsite It
> tries on port 80 only?
Include the "http://www.roamware.com:8080/" and see what happens - I was
specifying a relative url, but an absolute should work too.
>
> You don't need the 'template' on the end by the way.
I was just following your example.
>
> The suggested method of moving the onclick content to the href content
also
> does nto work. The reason being that the main browser window now contains:
>
javascript:window.open('popups,privacy.vm','privacy','toolbar=no,menubar=no,
> width=450,height=400,scrollbars=yes,resizable=yes')
>
> In the address windows and [object Window} in the browser main window.
Sorry, I lead you up the garden path.  The best way is what I do in my
application (I don't recall where I borrowed this technique from):

<a href='urlToPage' onclick="return launch(this.href)"
target="whatever">label</a>
Where 'urlToPage' is the actual url (makes for a nice status bar)
And launch() is a JavaScript that provides the window.open call (my method
takes a second parameter that provides a type and then launch() defines a
number of standard window types.
>
> I suppose I should change it to not being a <A> element and just have a
> javascript button there. The reason is that if you have just submitted a
> form then guess what, it gets submitted again if you put href="#"
>
> I will have to pursue the proper default page method
>
> Regards
>
> David

Let us know how you get on.

Cheers,

Scott
--
Scott Eade
Backstage Technologies Pty. Ltd.
http://www.backstagetech.com.au


--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Launch popup browser from DefaultBottom.vm not working?

Posted by Scott Eade <se...@backstagetech.com.au>.
> From: "David Wynter" <da...@btclick.com>
> 
> Hi Scott,
> 
> Thanks, but still a problem. The redirect does not account for port 8080. I
> tried location=':8080/rwsite/servlet/rwsite';
> But that ends up as http://www.roamware.com/:8080/rwsite/servlet/rwsite It
> tries on port 80 only?
Include the "http://www.roamware.com:8080/" and see what happens - I was
specifying a relative url, but an absolute should work too.
> 
> You don't need the 'template' on the end by the way.
I was just following your example.
> 
> The suggested method of moving the onclick content to the href content also
> does nto work. The reason being that the main browser window now contains:
> javascript:window.open('popups,privacy.vm','privacy','toolbar=no,menubar=no,
> width=450,height=400,scrollbars=yes,resizable=yes')
> 
> In the address windows and [object Window} in the browser main window.
Sorry, I lead you up the garden path.  The best way is what I do in my
application (I don't recall where I borrowed this technique from):

<a href='urlToPage' onclick="return launch(this.href)"
target="whatever">label</a>
Where 'urlToPage' is the actual url (makes for a nice status bar)
And launch() is a JavaScript that provides the window.open call (my method
takes a second parameter that provides a type and then launch() defines a
number of standard window types.
> 
> I suppose I should change it to not being a <A> element and just have a
> javascript button there. The reason is that if you have just submitted a
> form then guess what, it gets submitted again if you put href="#"
> 
> I will have to pursue the proper default page method
> 
> Regards
> 
> David

Let us know how you get on.

Cheers,

Scott
-- 
Scott Eade
Backstage Technologies Pty. Ltd.
http://www.backstagetech.com.au


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Launch popup browser from DefaultBottom.vm not working?

Posted by David Wynter <da...@btclick.com>.
Hi Scott,

Thanks, but still a problem. The redirect does not account for port 8080. I
tried location=':8080/rwsite/servlet/rwsite';
But that ends up as http://www.roamware.com/:8080/rwsite/servlet/rwsite It
tries on port 80 only?

You don't need the 'template' on the end by the way.

The suggested method of moving the onclick content to the href content also
does nto work. The reason being that the main browser window now contains:
javascript:window.open('popups,privacy.vm','privacy','toolbar=no,menubar=no,
width=450,height=400,scrollbars=yes,resizable=yes')

In the address windows and [object Window} in the browser main window.

I suppose I should change it to not being a <A> element and just have a
javascript button there. The reason is that if you have just submitted a
form then guess what, it gets submitted again if you put href="#"

I will have to pursue the proper default page method

Regards

David
-----Original Message-----
From: Scott Eade [mailto:seade@backstagetech.com.au]
Sent: 09 September 2002 12:56
To: turbine-user
Subject: Re: Launch popup browser from DefaultBottom.vm not working?


Comments inline...

> From: "David Wynter" <da...@roamware.com>
> From: "David Wynter" <da...@btclick.com>
Why does everything you post come twice from different email addresses -
this is really annoying.
>
> I have the following in my DefaultBottom.vm
>
> <table cellspacing="0" cellpadding="0" border="0" width="774"
> bgcolor="#005162">
> <tr>
>   <td >
>   <div class="offwhite">
>  &nbsp;<a class="offwhite" href="#"
>
onClick="javascript:window.open('popups,copyright.vm','copyright','toolbar=n
>
o,menubar=no,width=428,height=230,scrollbars=no,resizable=yes')">Copyright</
> a>&nbsp;|
>  <a class="offwhite" href="#"
>
onClick="javascript:window.open('popups,privacy.vm','privacy','toolbar=no,me
>
nubar=no,width=450,height=400,scrollbars=yes,resizable=yes')">Privacy</a>&nb
> sp;|
>  <a class="offwhite" href="$link.setPage("contact,contact.vm")" >  Contact
> Us</a>
>   </div>
> </td>
> </tr>
> </table>
>
> What i get when I hover over the 1st 2 links is
> "http://www.roamware.com:8080/rwsite/servlet/rwsite/template" and it
always
> takes me to the default page as well as pops up the popups,copyright.vm or
> the popups,privacy.vm. What do I need to do to stop it navigating to the
> default page as well?
Move the content of the onclick attribute to the href attribute - this
should do what you want.
>
> Another Q, how do I make
> "http://www.roamware.com:8080/rwsite/servlet/rwsite/template" my default
> page for www.roamware.com. I know this is a question about Apache and
> Tomcat, but they make it hard to find in amongst lots of documentation.
One way that avoids touching the apache config is to use a html redirect:

<html>
<head>
    <meta http-equiv="Refresh" content="0;
url=rwsite/servlet/rwsite/template">
</head>
<body onload="location='rwsite/servlet/rwsite/template';"
</body>
</html>

You should also look at the url rewriting howto:
http://jakarta.apache.org/turbine/turbine-2/howto/url-rewriting-howto.html
>
> David Wynter
>
>
> roamware Ltd.
> (+44) (0) 208 922 7539 B.
> (+44) (0) 7879 605 706 M.
> david@roamware.com

Cheers,

Scott
--
Scott Eade
Backstage Technologies Pty. Ltd.
http://www.backstagetech.com.au



--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Launch popup browser from DefaultBottom.vm not working?

Posted by Scott Eade <se...@backstagetech.com.au>.
Comments inline...

> From: "David Wynter" <da...@roamware.com>
> From: "David Wynter" <da...@btclick.com>
Why does everything you post come twice from different email addresses -
this is really annoying.
> 
> I have the following in my DefaultBottom.vm
> 
> <table cellspacing="0" cellpadding="0" border="0" width="774"
> bgcolor="#005162">
> <tr>
>   <td >
>   <div class="offwhite">
>  &nbsp;<a class="offwhite" href="#"
> onClick="javascript:window.open('popups,copyright.vm','copyright','toolbar=n
> o,menubar=no,width=428,height=230,scrollbars=no,resizable=yes')">Copyright</
> a>&nbsp;|
>  <a class="offwhite" href="#"
> onClick="javascript:window.open('popups,privacy.vm','privacy','toolbar=no,me
> nubar=no,width=450,height=400,scrollbars=yes,resizable=yes')">Privacy</a>&nb
> sp;|
>  <a class="offwhite" href="$link.setPage("contact,contact.vm")" >  Contact
> Us</a>
>   </div>
> </td>
> </tr>
> </table>
> 
> What i get when I hover over the 1st 2 links is
> "http://www.roamware.com:8080/rwsite/servlet/rwsite/template" and it always
> takes me to the default page as well as pops up the popups,copyright.vm or
> the popups,privacy.vm. What do I need to do to stop it navigating to the
> default page as well?
Move the content of the onclick attribute to the href attribute - this
should do what you want.
> 
> Another Q, how do I make
> "http://www.roamware.com:8080/rwsite/servlet/rwsite/template" my default
> page for www.roamware.com. I know this is a question about Apache and
> Tomcat, but they make it hard to find in amongst lots of documentation.
One way that avoids touching the apache config is to use a html redirect:

<html>
<head>
    <meta http-equiv="Refresh" content="0;
url=rwsite/servlet/rwsite/template">
</head>
<body onload="location='rwsite/servlet/rwsite/template';"
</body>
</html>

You should also look at the url rewriting howto:
http://jakarta.apache.org/turbine/turbine-2/howto/url-rewriting-howto.html
> 
> David Wynter
> 
> 
> roamware Ltd.
> (+44) (0) 208 922 7539 B.
> (+44) (0) 7879 605 706 M.
> david@roamware.com

Cheers,

Scott
-- 
Scott Eade
Backstage Technologies Pty. Ltd.
http://www.backstagetech.com.au



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>