struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sam thothi" <samtho...@gmail.com>
Subject Regarding tiles error
Date Tue, 12 Aug 2008 13:12:18 GMT
 I am running to run a sample application in struts. I get the the following
exception when i run my app that is

http://localhost:9082/webapppath/welcome.do

[8/11/08 16:20:02:848 CDT]     FFDC Exception:java.io.FileNotFoundException
SourceId:com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest
ProbeId:573
Reporter:com.ibm.ws.webcontainer.extension.DefaultExtensionProcessorImpl@1a1d1a1d
java.io.FileNotFoundException: /.page.welcome
 at
com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:495)
 at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:325)
 at
org.apache.struts.chain.commands.servlet.PerformForward.handleAsForward(PerformForward.java:113)
 at
org.apache.struts.chain.commands.servlet.PerformForward.perform(PerformForward.java:96)
 at
org.apache.struts.chain.commands.AbstractPerformForward.execute(AbstractPerformForward.java:54)
 at
org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
 at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
 at
org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:304)
 at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
 at
org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
 at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
 at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
 at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1424)
 at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:774)
 at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:436)
 at
com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:175)
 at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3607)
 at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:274)
 at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:921)
 at
com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1551)
 at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:167)
 at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455)
 at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384)
 at
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:106)
 at
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
 at
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
 at
com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
 at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
 at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:202)
 at
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:766)
 at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:896)
 at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1488)



I have my tiles-defs defined like this

<definition name=*"base.definition"* path=*"/employer/siteLayout.jsp"*>
<put name=*"header"* value=*"/employer/Header.jsp"* />
<put name=*"navigation"* value=*"/navigation.do"* />
<put name=*"footer"* value=*"/employer/footer.jsp"* />
</definition>

<!-- Tiles Definition of welcome page -->

<definition name=*".page.welcome"* extends=*"base.definition"*>

<put name=*"title"* value=*"welcome page"* />

<put name=*"body"* value=*"/employer/index.jsp"* />

</definition>

<!-- Tiles Definition of BookList -->

<definition name=*".page.booklist"* extends=*"base.definition"*>

<put name=*"title"* value=*"Book list page"* />

<put name=*"body"* value=*"/employer/booklist.jsp"* />
</definition>


struts-config


<action path=*"/welcome"* type=*"gov.iowa.wd.ui.actions.WelcomeAction"*>

<forward name=*"showWelcome"* path=*".page.welcome"* />

</action>

<action path=*"/bookList"* type=*"gov.iowa.wd.ui.actions.BookListAction"*>

<forward name=*"showBookList"* path=*".page.booklist"* />

</action>

<action path=*"/navigation"* type=*"gov.iowa.wd.ui.actions.NavigationAction"
*>

<forward name=*"showNavigation"* path=*"/employer/navigation.jsp"* />

</action>



welcomeaction.java


*

public* ActionForward execute(

ActionMapping mapping,

ActionForm form,

HttpServletRequest request,

HttpServletResponse response) {

*return* mapping.findForward("showWelcome");

}

**

*when i run the app where i want to get index.jsp, i get the above
exception. Any help would be appreciated.*

**

**

*Thanks,*

*sam*

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message