You should be able to create a directory to servlet mapping in your web
server (usually in the web.xml file).
Something like:
<servlet-mapping>
<servlet-name>MyServlet</servlet-name>
<url-pattern>/MyServletDir</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>MyServlet</servlet-name>
<servlet-class>MyPdfGeneratingServlet</servlet-class>
</servlet>
Then the browser can call www.myserver.com/MyServletDir/filename.pdf
Your servlet can retrieve the filename requested from the HttpServletRequest
(or just ignore it) and output it's response to the HttpServletResponse
---
Paul Smith
> Jim Urban wrote:
>
> So how do you use a url that ends with .pdf when using servlets?
*******************************************************************
DISCLAIMER: The information contained in this email
is confidential and is intended solely for the use of the
named addressee. Access, copying or re-use of the
information in it by any other person is not authorised.
********************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]