You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Ted Husted <te...@gmail.com> on 2005/11/21 20:49:27 UTC

html:link broken (Re: Problems in the example apps)

I haven't been able to replicate the Cookbook issue, but a reference
to the default module from the html:link tag is broken in the nightly
build.

I've been helping out with the infrastructure, but it's been a very
long time since I've worked with JSP tags. Is anyone available to look
at this problem? At this point, I would have to consider it a
showstopper for any type of 1.3.0 distribution.

As mentioned in Wendy's report, trying to refer to the default module
from a link tag, using iether "/" or "" exposes

> javax.servlet.ServletException: Module '/' not found.

The Exercises html-lnk page passes in 1.2.8 but fails in the nightly build.

-Ted.


On 11/17/05, Wendy Smoak <ws...@gmail.com> wrote:
> I'm having a couple of problems with the examples.  Before I open bug
> tickets I thought I'd see if anyone can confirm and/or spot an easy
> fix.
>
> =============================
>
> http://localhost:8080/struts-cookbook/
>  -> 'Bean Tags' link ->
> http://localhost:8080/struts-cookbook/prepareBean.do?param1=Test1&param2=Test2
>
> result:
>
> javax.servlet.ServletException: No header Accept-Encoding was included
> in this request
>         org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:271)
>         org.apache.struts.action.ActionServlet.process(ActionServlet.java:1938)
>         org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:430)
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> ========================
>
> http://localhost:8080/struts-examples/exercise/welcome.do
> -> Use an ActionForward to redirect another path ("/html-link.do") ->
> http://localhost:8080/struts-examples/exercise/html-link.do
>
> result:
>
> javax.servlet.ServletException: Module '/' not found.
>         org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:271)
>         org.apache.struts.action.ActionServlet.process(ActionServlet.java:1938)
>         org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:430)
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> Thanks,
> --
> Wendy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>


--
HTH, Ted.
http://www.husted.com/poe/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: html:link broken (Re: Problems in the example apps)

Posted by Niall Pemberton <ni...@blueyonder.co.uk>.
I've fixed the struts-examples issue, see:

   http://issues.apache.org/bugzilla/show_bug.cgi?id=37585
   http://svn.apache.org/viewcvs?rev=348028&view=rev

Niall

----- Original Message ----- 
From: "Ted Husted" <te...@gmail.com>
Sent: Monday, November 21, 2005 7:49 PM


I haven't been able to replicate the Cookbook issue, but a reference
to the default module from the html:link tag is broken in the nightly
build.

I've been helping out with the infrastructure, but it's been a very
long time since I've worked with JSP tags. Is anyone available to look
at this problem? At this point, I would have to consider it a
showstopper for any type of 1.3.0 distribution.

As mentioned in Wendy's report, trying to refer to the default module
from a link tag, using iether "/" or "" exposes

> javax.servlet.ServletException: Module '/' not found.

The Exercises html-lnk page passes in 1.2.8 but fails in the nightly build.

-Ted.


On 11/17/05, Wendy Smoak <ws...@gmail.com> wrote:
> I'm having a couple of problems with the examples.  Before I open bug
> tickets I thought I'd see if anyone can confirm and/or spot an easy
> fix.
>
> =============================
>
> http://localhost:8080/struts-cookbook/
>  -> 'Bean Tags' link ->
>
http://localhost:8080/struts-cookbook/prepareBean.do?param1=Test1&param2=Test2
>
> result:
>
> javax.servlet.ServletException: No header Accept-Encoding was included
> in this request
>
org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequest
Processor.java:271)
>
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1938)
>
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:430)
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> ========================
>
> http://localhost:8080/struts-examples/exercise/welcome.do
> -> Use an ActionForward to redirect another path ("/html-link.do") ->
> http://localhost:8080/struts-examples/exercise/html-link.do
>
> result:
>
> javax.servlet.ServletException: Module '/' not found.
>
org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequest
Processor.java:271)
>
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1938)
>
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:430)
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> Thanks,
> --
> Wendy



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: html:link broken (Re: Problems in the example apps)

Posted by Niall Pemberton <ni...@blueyonder.co.uk>.
I'll take a look at this.

Niall
----- Original Message ----- 
From: "Ted Husted" <te...@gmail.com>
Sent: Monday, November 21, 2005 7:49 PM


I haven't been able to replicate the Cookbook issue, but a reference
to the default module from the html:link tag is broken in the nightly
build.

I've been helping out with the infrastructure, but it's been a very
long time since I've worked with JSP tags. Is anyone available to look
at this problem? At this point, I would have to consider it a
showstopper for any type of 1.3.0 distribution.

As mentioned in Wendy's report, trying to refer to the default module
from a link tag, using iether "/" or "" exposes

> javax.servlet.ServletException: Module '/' not found.

The Exercises html-lnk page passes in 1.2.8 but fails in the nightly build.

-Ted.


On 11/17/05, Wendy Smoak <ws...@gmail.com> wrote:
> I'm having a couple of problems with the examples.  Before I open bug
> tickets I thought I'd see if anyone can confirm and/or spot an easy
> fix.
>
> =============================
>
> http://localhost:8080/struts-cookbook/
>  -> 'Bean Tags' link ->
>
http://localhost:8080/struts-cookbook/prepareBean.do?param1=Test1&param2=Test2
>
> result:
>
> javax.servlet.ServletException: No header Accept-Encoding was included
> in this request
>
org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequest
Processor.java:271)
>
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1938)
>
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:430)
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> ========================
>
> http://localhost:8080/struts-examples/exercise/welcome.do
> -> Use an ActionForward to redirect another path ("/html-link.do") ->
> http://localhost:8080/struts-examples/exercise/html-link.do
>
> result:
>
> javax.servlet.ServletException: Module '/' not found.
>
org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequest
Processor.java:271)
>
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1938)
>
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:430)
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> Thanks,
> --
> Wendy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org