Excuse me for flooding. The answer is very-very easy. Designer put away <s:url> tags for JavaScript and ccs files. That is why they were not visible for browser. Check your designers :)
holod wrote: > > I have an action: > <.action name="StoreLawDraft" > class="project.action.admin.StoreLawDraftAction"> > <.result name="success" type="chain"> > <.param name="actionName">ShowMainPage<./param> > <.param name="namespace">/admin<./param> > <./result> > <.result name="input">/admin/processlaw.jsp</result.> > <.result name="error">/admin/processlaw.jsp</result.> > <./action> > > if success it chains to: > > <.action name="ShowMainPage" > class="project.action.admin.EmptyAction".> > <.result name="success">/admin/catalog.jsp<./result> > <./action.> > > My project.action.admin.StoreLawDraftAction sets actionMessage. > project.action.admin.EmptyAction does nothing. Just returns > ActionSupport.SUCCESS > These both actions extends ActionSupport. > I want catalog.jsp to display actionMessage which has been set inside > project.action.admin.StoreLawDraftAction. > > The problem is that after chaining catalog.jsp is not correctly displayed. > Seems like it is not rendered properly. Non of the JavaScrips loaded, none > of the css loaded. It displays plain html. And nothibg else. > My browser url = http://applicationContectPath/StoreLawDraft.action > > If I use redirect-action instead of chainng, catalog.jsp is fine, but > actionMessage was lost because of redirection. > > What I'm doing wrong? > > P.S. > > If I use > <result name="success">/admin/catalog.jsp</result> instead of chaining or > riderection, catalog.jsp is also badly rendered, just plain html. > > Please, help! > -- View this message in context: http://www.nabble.com/Problem-displaying-jsp-after-form-submitting-tp18941947p18942453.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]