google / google/guice

Servlet forwards from servlets with pathinfo mishandled

Open
#522 27 comments 0 reactions 0 assignees View on GitHub
Extension-Servlet imported
Dominant language
Java
Stars
12.7k
Forks
1.7k
Avg merge
11m
Merged PRs (30d)
2

Description

_From [cdberry](https://code.google.com/u/110614711585820824672/) on July 13, 2010 01:56:27_

This is related to bug 455 . Following advice there, to overcome that bug I built from trunk, which partly solved the problem with servlet forwards to JSPs.

The remaining difficulty is that servlets invoked with additional path info are mishandled. It I have a servlet at "/rss/*" and I invoke it as "/rss/news" (with /news being pathinfo), then try to forward to "news.jsp", it dies trying to find "rsss.jsp". Apparently the base part of the servlet path is being overlaid on the beginning of the forwarding string.

If I change the servlet to handle only "/rss", it works fine -- but I can't use pathinfo.

_Original issue: http://code.google.com/p/google-guice/issues/detail?id=522_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.