google / google/guice

RequestDispatcher fails to handle properties

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

Description

_From [tj.rothwell](https://code.google.com/u/116742955160348755706/) on April 07, 2011 13:40:41_

Attached minimal example to reproduce issue.

Steps to reproduce
1) unzip dispatch-forward.zip -ddispatchtest
2) cd dispatchtest/gis-app
3) mvn -pl webapp jetty:run
4) http://localhost:8080/webapp/ (Note: variable does not resolve)
5) Click Links->Direct           (Note: variable resolves)

Culprit code:
request.getRequestDispatcher("/template/test.form.vm").forward(request, response);

Navigating to the /template/test.form.vm works fine. However if we navigate through the proxy servlet, then the page fails to resolve an attribute contained in ServletConfig.

**Binary attachments:** [dispatch-forward.zip](http://code.google.com/p/google-guice/issues/detail?id=622)

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

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.