You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Andy Dennis <an...@btinternet.com> on 1999/10/10 03:46:47 UTC
mod_jserv/5120: ApJServAction .jsp ApJServAction doesn't appear to work with GNUJSP
>Number: 5120
>Category: mod_jserv
>Synopsis: ApJServAction .jsp ApJServAction doesn't appear to work with GNUJSP
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: jserv
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Sat Oct 9 18:50:01 PDT 1999
>Last-Modified:
>Originator: andy.dennis@btinternet.com
>Organization:
apache
>Release: 1.3.9 + modssl 2.4.5 + JServ 1b1
>Environment:
Linux 2.2.10
Blackdown JDK1.2 b2
GnuJSP 1b5
>Description:
Adding
ApJservAction .jsp /servlets/gnujsp/
or
ApJservAction .jsp /servlets/org.gjt.jsp.JspServlet/
doesn't appear to work.
calling the jsp file just returns the source, whilst using /servlets/gnujsp/some-file.jsp
works ok.
>How-To-Repeat:
If you put the example date.jsp in the web / and
get /date.jsp the source of the jsp file is returned
but calling the servlet directly is ok
>Fix:
#in httpd.conf add
AddHandler java-server-page .jsp
# and, assuming you use a servlet alias for GnuJSP
Action java-server-page /servlets/gnujsp/
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or ]
["Re: general/1098:"). If the subject doesn't match this ]
[pattern, your message will be misfiled and ignored. The ]
["apbugs" address is not added to the Cc line of messages from ]
[the database automatically because of the potential for mail ]
[loops. If you do not include this Cc, your reply may be ig- ]
[nored unless you are responding to an explicit request from a ]
[developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]