[ 
https://issues.apache.org/struts/browse/WW-2719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45130#action_45130
 ] 

Harsh Choudhay commented on WW-2719:
------------------------------------

Hi James,

        Thanks for responding back to me. File Serving Enabled Setting allows 
you to serve your static content from the web server outside of App server. I 
am proposing that Struts2 with File Serving enabled is not compatible with the 
deployment procedures of Websphere. I am not proposing change to struts2, as I 
think it's more of an issue with Websphere, which makes struts2 incompatible 
with the Websphere above topology settings. 

        What I am not sure is this could be a global problem with other App 
servers in the above mentioned topology. I haven't tested it myself on other 
severs(jboss, weblogic etc). I am more inclined to say that it could be a 
potential for a global problem because Struts 2 has changed its base 
implementation from ActionServlet to ActionFilter and app server's deployment 
procedure really don't read the Filter mappings. I have an email from IBM 
support and they agreed that Filters are not read at the time of deployment 
only servlets are. If you would want to have a conference for this we could 
really set up some time to nail down it. Let me know.

Thanks 
Harsh


> Struts action gives 404 in websphere with file serving disabled
> ---------------------------------------------------------------
>
>                 Key: WW-2719
>                 URL: https://issues.apache.org/struts/browse/WW-2719
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Dispatch Filter
>         Environment: Websphere 6.1 
>            Reporter: Harsh Choudhay
>
> Hi,
> Here is the situation. We are developing application in struts 2.0 on WAS 
> 6.1. I have tried deploying application with below two settings
> File Serving Enabled Setting :
> 1) Everything works fine when I hit following URL in the browser
> https://192.168.1.35/xy zzz/jsp/login/welcome.jsp(Welcome.jsp just redirects 
> to .action after doing some javascript processing)
> 2) The above jsp redirects me to https://192.168.1.35/x 
> yzzz/welcome_success.action . and the page comes up just fine
> File Serving Disabled Setting:
> 1) On hitting https://192.168.1.35/db4/ jsp/login/welcome.jsp
> 2) I am redirected to https://192.168.1.35/db 4/welcome_success.action, I get 
> page cannot be displayed error,
> for file serving disabled I have put all the html,images, js & CSS in the 
> apache webserver. I think problem is that neither webserver nor app server 
> knows which one should serve .action urls. Also when I look at the plug-in 
> config file there is no URL mapping for .action.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to