struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maurizio Cucchiara <maurizio.cucchi...@gmail.com>
Subject Re: version bump from struts 2.2.1 to 2.2.3 and JSP broke??
Date Wed, 11 May 2011 17:20:59 GMT
So my guess is that there is something wrong in your configuration.
Could you please post your (Don't attach them, rather use a pastebin
service):
1. struts.xml
2. web.xml

Have you checked if it works in tomact?

On 11 May 2011 19:16, Haroon Rafique <haroon.rafique@utoronto.ca> wrote:
> struts2-showcase from both 2.2.1 and 2.2.3 work fine in glassfish 2.2.1.
>
> On 2011-05-11, at 12:19 PM, Maurizio Cucchiara wrote:
>
>> Have you checked if struts showcase works (there is a section
>> dedicated to freemarker)?
>>
>> On 11 May 2011 17:31, Haroon Rafique <haroon.rafique@utoronto.ca> wrote:
>>> Hi there,
>>>
>>> Just bumped my version from 2.2.1 to 2.2.3 (FWIW, by changing a property in my
pom.xml from 2.2.1 to 2.2.3). I use freemarker for my view and all the freemarker related
pages work fine. My deployment environment is glassfish 2.2.1 on Mac OS X 10.6.7 with java
"1.6.0_24", maven 2.2.1.
>>>
>>> For my welcome page, I have a single JSP (index.jsp):
>>>
>>> <%
>>>    response.sendRedirect(request.getContextPath() + "/anon/viewLoginForm.action");
>>> %>
>>>
>>> Going to this JSP presents me with a completely blank page. Nothing in the logs.
>>>
>>> I know that I could also use <action name="*"> as my last action in struts.xml
to go to the viewLoginForm action (probably a better strategy any way), but I am baffled as
to why the JSP would not work any more.
>>>
>>> To simplify it further, I made the JSP contents:
>>>
>>> <h1>Hello</h1>
>>>
>>> and it does not work in 2.2.3 (blank page) and works in 2.2.1 (displays hello).
>>>
>>> Did I miss something obvious? Where should I start looking? I was initially hesitant
to send this message in case I'm having a duh moment but I have wasted enough time on it already,
so perhaps a few more eyeballs will find something informative.
>>>
>>> Thanks in advance,
>>> --
>>> Haroon Rafique   <haroon.rafique@utoronto.ca>
>>> Enterprise Apps & Solutions Integration, University of Toronto
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>> For additional commands, e-mail: user-help@struts.apache.org
>>>
>>>
>>
>>
>>
>> --
>> Maurizio Cucchiara
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>
> --
> Haroon Rafique   <haroon.rafique@utoronto.ca>
> Web Dude         416-946-5080
> Enterprise Apps & Solutions Integration, University of Toronto
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>



-- 
Maurizio Cucchiara

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


Mime
View raw message