After sent out the previous email, I just recoginzed the orginal one was more than two
weeks ago.
Sorry for unwanted reply.
22/02/2003 3:46:48 PM, Vernon Wu <[EMAIL PROTECTED]> wrote:
>One way to deal with this issue is to break down the file type in the "someservlet"
>directory rathen than
One way to deal with this issue is to break down the file type in the "someservlet"
directory rathen than having a URL
mapping for the whole directory. Say for all JSP files, you have
>
>TheServlet
>/*.jsp
>
Hope this helps.
30/01/2003 10:40:33 AM, Richard Wallace <[EM
On Thu, 2003-01-30 at 05:43, Daniel Brown wrote:
> Richard,
>
> You could use HttpServletRequest.getPathInfo() to read the extra path
> information after servlet name, read the corresponding object from disk, set
> an appropriate MIME type, and then send the object back in the response.
>
> But i
Look in the J2EE docs for HttpServletRequest.getPathInfo.
Sean Dockery
[EMAIL PROTECTED]
-Original Message-
From: Richard Wallace [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 29, 2003 17:17
To: [EMAIL PROTECTED]
Subject: web.xml servlet and resources
Hello all,
This is a fairly
Richard,
You could use HttpServletRequest.getPathInfo() to read the extra path
information after servlet name, read the corresponding object from disk, set
an appropriate MIME type, and then send the object back in the response.
But it's a lot of new code for something that doesn't seem like a go
Hi Richard, if i didn't understand wrong
If you want put a image using relative path, the source of your image must
be src="/yourApp/images/logo.gif", for example.
Good luck!
- Original Message -
From: "Richard Wallace" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, Janu
Richard,
Usually the servlet are in the WEB_INF directory, and this is forbidden for
the users. If you put an image inside web-inf/servlet/images.. you will not
be able to retry it. You cannot use the url .../web-inf/images/...
Usually you create a image folder at the same level that WEB_INF fold