It's possible to configure tomcat to let you request /servlet/Tiparire/text.pdf and to get /servlet/Tiparire executed. I haven't tried by now to do something like that so can't give you much more help.
Maybe something like this should do the trick: <servlet-mapping> <servlet-name>Tiparire</servlet-name> <url-pattern>*.pdf</url-pattern> </servlet-mapping> > -----Ursprüngliche Nachricht----- > Von: Alex [mailto:[EMAIL PROTECTED]] > Gesendet: Freitag, 21. Juni 2002 09:57 > An: Tomcat Users List > Betreff: Re: AW: set content type to text/pdf > > I can't point my browser to a location that ends with .pdf, > because i have to point it to my servlet, for ex: > document.location.href="/servlet/Tiparire" > Is there any trick to do this ? > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>