Hey Rick,

I created a file in my myapp dir called index.jsp with the following
contents

<jsp:forward page="servlet/myapp">

and got nothing served after requesting the root url. I don't really know
jsp so maybe I'm missing something else that I need in the file. I should
be able to do a simple redirect. Does anyone on the list have experience
with this in JSP?

Thanks,
Fred

On Mon, 3 Feb 2003, peter riegersperger wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Monday 03 February 2003 22:46, Fred Gerson wrote:
> > Thanks Rick,
> >
> > I'm gonna look into both the (1) and the (2) solutions you proposed below.
> > Do you (or anyone else on the list) have code for the jsp page you
> > describe in solution (1) that redirects a root URL to a servlet URL. Or if
> > you can point me to the posts on the list that describe it I'd greatly
> > appreciate it (after an initial search I couldn't find anything about
> > this).
>
> http://www.mail-archive.com/[email protected]/msg06279.html
> has a snipplet.
>
> if you just want an easy entry-point to your website (or multiple entry
> points, since you can have many jsps that are just redirecting), the
> jsp-trick is probably much easier and faster to implement, unless you are
> familiar to mod_rewrite (which allowed me to royally mess up my urls more
> than once).
>
> >
> > Thanks,
> > Fred
>
> Cheers,
>
> rick
>
> - --
> |-
> | peter riegersperger  <[EMAIL PROTECTED]>
> |-
> | ein windows switcher tagebuch:
> | http://forum.subnet.at/viewforum.php?f=22
> |-
> | subnet
> | platform for media art and experimental technologies
> |-
> | http://www.subnet.at/
> |-
> | muehlbacherhofweg 5 // 5020 salzburg // austria
> |-
> | fon/fax +43/662/842 897
> |-
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.7 (GNU/Linux)
>
> iD8DBQE+PuXLIMP39JYOy9IRAr7oAKDKm6YTJfePa5H/EdMwdSdKwN8ZAgCg99sX
> sagEj8NkdbOKvnjxbnPo+5g=
> =qViN
> -----END PGP SIGNATURE-----
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to