Struts+Tiles question

Hi all,
I have a simple question trying to use struts 1.2
I'm using Tiles and I have defined a layout that includes:
header.jsp
left-menu.jsp
content
rigth-menu.jsp
footer.jsp
"content" get updated with the current page asked by the user, but the web app supports multilanguage and right-menu.jsp has links to the supported lanuages.
My question is, since by nature rigth-menu doesn't know what page is currently displayed, what is the best practice to let know rigth-menu.jsp with the Action mapping currently associated with the page currently displayed in order to display a link to the same page in other lamgages?
Regards,
OO

You might want to try a struts forum.

Similar Messages

  • Integrating Struts, Tiles, and JavaServer Faces

    I have tried some sample applications in jsf. They are working properly. Basically, our application is based on struts. We fee that that it will be difficult to convert struts based application into jsf. So we plan to integrate jsf components into struts application. I found a site http://www.ibm.com/developerworks/library/j-integrate/ where jsf-struts integration material has been given. For this integaration, struts-faces.jar is required. when i try to start the server after struts-faces-1.3.8.jar placed in Tomcat 5.5\common\lib folder, server is not started properly. I have found struts-faces-1.3.8.jar in struts-1.3.8-lib. Should I user struts-faces.jar? if it is so, Where to find struts-faces.jar Please provide a solution for this problem.

    Wow, Srikanth. What a great contribution! I'm right at the begining of the design phase of a project that will hopefully go live in March and while I had already settled on a Tiles/Struts approach, I was really wanting to bring in JSF as well. I'm glad to see that someone is actively working on the integration components. I hope that the code modifications you propose make it into the Struts-Faces libraries soon.
    One question. While I've been deveolping J2EE webapps for a couple of years now,
    I'm still a little new to the Struts/Tiles arena. After reading your article at IBM developerWorks I wasn't able to ascertain whether or not what you proposed worked with the idea of individual controllers for each tile, which is a pattern that my project will need to adopt (I read about it in the short article here - http://www.theserverside.com/resources/article.jsp?l=Tiles101).
    Can you shed some light on the subject? Will the modifications you proposed allow Tiles to continue to work in that fashion?
    -Matt Welch
    Hi,
    Currently JSF, Struts and Tiles cannot work together
    out of the box.
    Craig McClanahan has come up with Struts-Faces which
    lets you integrate Struts and JSF. This is ideal for
    projects who want to protect their code investment in
    Struts and also want to take advantage of JSF once it
    is final.
    Unfortunately if you are also using Tiles, this is not
    possible because of some showstoppers on your way. I
    started on this venture a while back and ran into the
    same problems and decided to write some code - on top
    of Struts-Faces and was pretty successful.
    I am sharing this knowledge with the rest of you with
    this article of mine on IBM developerWorks
    http://www-106.ibm.com/developerworks/library/j-integra
    e/
    As already pointed out in this forum earlier, this
    article covers the steps to integrate the three and
    provides complete source code and also a working
    example.
    Hope you will find the article and the code useful.
    Thanks,
    Srikanth

  • How to Implement Strut Tiles  Framework in JSF

    Hi
    I am new to JSF tried to implent struts tiles in jsf 1.2 but i am facing some problm.
    is any one have ideas about how to implementing struts tiles framework in jsf??....
    Cheers
    Sekar M

    Hope the below URLs should answer your question
    [http://www.jroller.com/HazemBlog/entry/how_to_use_struts_tiles]
    [http://www.ibm.com/developerworks/library/j-integrate/]
    [http://www.laliluna.de/blog/2007/02/28/struts_tiles_jsf_myfaces_migration_or_integration.html]

  • Need a help with Struts Tiles dynamic menu

    Hello,
    I am started few days ago with Tiles, try to develop web application.
    Can anybody sugest very simple example with Tiles and menu.
    So my definition looks like this:
    tiles-def.xml
    <tiles-definitions>
    <definition name="MainDefinition" path="/layouts/myLayout.jsp">
    <put name="title" value="This is the title." />
    <put name="header" value="/tiles/header.jsp" />
    <put name="menu" value="/tiles/menu.jsp" />
    <put name="body" value="/tiles/body.jsp" />
    <put name="footer" value="This is the footer." />
    </definition>
    I am simple layout.
    I need to on menu click change body content, now i am doing it like this:
    index.jsp
    <%@ page language="java" %>
    <%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
    <%String body = request.getParameter("body");%>
    <tiles:insert definition="MainDefinition" flush="true">
    <tiles:put name="body" type="string"> <%= body %> </tiles:put>
    </tiles:insert>
    But now body is a string how to make it open url?
    Maybe somebody have link to menu Tiles good examples.
    Thanks

    But here's some useful advice :P
    I'm going to assume that the other two people involved in this have a bit more experience, have them do most of the designing. Have them leave most of the easy stuff for you. You can then spend your time learning the minimum of what you need to know. And if you have problems, or don't understand things, ask your partners for help.
    And you'll want to set some spare time for you to all get together and do something fun so that you don't kill each other because of the stress :P
    I've had a lot of bad project experiences, fortunatly they where all just at school :P I blame myself, mainly because I didn't do the whole thing myself (mostly because I listened to people when they said that I shouldn't or couldn't do everything myself.) I'd like to say that it's mostly because of poor communication, and disorganization, but an awful lot of it had to do with the fact that I tend to be the only person with any work ethic what so ever.
    But whinning and repressed memories aside, good communication and organization help a lot. Come up with a good system with your team mates. And don't be afraid to ask questions. And don't worry about dividing up the work load equally. Just make sure you put in a good amount of effort, if not frightening amounts.
    If all of you are clueless, divide up the learning stuff between yourselves too.
    I have no experience with Struts. I've done a bit of stuff with XML, but nothing too complicated. The XML by itself tends to be extremely easy. What you plan on doing with it can vary (I don't like XML incidentally :P)
    Other then that, good luck.

  • Struts tiles to create event based loading of tiles on a JSP

    Hi All,
    I am working on a web app where I am using struts tiles to create my JSPs. I have tiles for header, footer & nav bar.
    Now I want to break up my JSP body in multiple tiles. It is required that I insert only one body tile initially, say body1, which contains few hyperlinks. Depending on which link is clicked, I would attach another tile (body2) below the first one. Can any advanced tiles user inform me if it's possible with struts-tiles, & if yes how?
    Thanks.

    Tiles is basically used to overload the jsp pages and reuse them.
    In your tiles-defs.xml file:
    //Tiles for header, footer and nav bar goes here
    //Tiles for body1 and body2  goes here
    <definition name="BodyTile" page="/yourPage.jsp">
              <put name="body1" value="/blank.jsp" />
              <put name="body2" value="/blank.jsp" />
    </definition>
    <!--Blank jsp is a simple html page without any data into it-->
    Now create a customized tile for your module. Mapping has to be done in struts-config.xml.
    Notice that the definitions here extend the tile from tiles-defs.xml, i.e. "BodyTile"
    <definition name="ActionOneWithBodyOne" extends="BodyTile">
        <put name="body1" value="/yourPage1.jsp" />
    </definition>
    <definition name="ActionTwoWithBodyTwo" extends="BodyTile">
        <put name="body1" value="/yourPage1.jsp" />
        <put name="body2" value="/yourPage2.jsp" />
    </definition>Now when you first load the page forward it to "ActionOneWithBodyOne" and it displays you just your body1.
    When ever u click a link on body 1, after performing the action populate the form bean corresponding to yourPage2.jsp and forward the action to "ActionTwoWithBodyTwo".
    Hope that helps!!
    SirG

  • Can't get definitions factory from context in struts tiles in weblogic 10

    I have exception trace which only happens whenever i recompiling my java file while running my web application in weblogic 10
    javax.servlet.ServletException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Can't get definitions factory from context.
    *     at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:286)*
    *     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)*
    Caused by: javax.servlet.jsp.JspException: Can't get definitions factory from context.
    *     at org.apache.struts.tiles.taglib.InsertTag.processDefinitionName(InsertTag.java:580)*
    *     at org.apache.struts.tiles.taglib.InsertTag.createTagHandler(InsertTag.java:479)*
    *     at org.apache.struts.tiles.taglib.InsertTag.doStartTag(InsertTag.java:441)*
    Anybody has any idea how to fix this?
    It seems the error happen because weblogic trying to reload the context after i recompiling java file
    How do i turn off / workaround on this?
    By the way i m using struts tiles
    Thanks

    I have exception trace which only happens whenever i recompiling my java file while running my web application in weblogic 10
    javax.servlet.ServletException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Can't get definitions factory from context.
    *     at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:286)*
    *     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)*
    Caused by: javax.servlet.jsp.JspException: Can't get definitions factory from context.
    *     at org.apache.struts.tiles.taglib.InsertTag.processDefinitionName(InsertTag.java:580)*
    *     at org.apache.struts.tiles.taglib.InsertTag.createTagHandler(InsertTag.java:479)*
    *     at org.apache.struts.tiles.taglib.InsertTag.doStartTag(InsertTag.java:441)*
    Anybody has any idea how to fix this?
    It seems the error happen because weblogic trying to reload the context after i recompiling java file
    How do i turn off / workaround on this?
    By the way i m using struts tiles
    Thanks

  • Urgent: Struts Tile Version supported in 10.1.2.0.2

    We are porting a tiles-application to 10.1.2.0.2 OC4J. But we get some errors invoking a tiles-page.I think the struts version we are using is 1.2.6. The struts-tiles.tld says version 1.3 And the error we get is:
    Errors parsing struts-tiles.tld
    Error: <>tiles.taglib.useattributeTEI
    Any suggestions? Thanks.

    I've found this is a problem only with the standalone
    version of OC4J 10.1.2.0.0You mean it works correctly in Oracle 10gAS?I have yet to test the main application server.
    It only returns the JAZNUserManager each and every time.Pardon my ignorance, what are you expecting it to return?Well in previous revisions it has always returned the custom UserManager I have declared in my orion-application.xml.
    In my orion-application.xml file I have:
    <user-manager class="com.security.model.MyUserManager" display-name="MyUserManager">
         <property name="jdbcDriver" value="com.mysql.jdbc.Driver" />
         <property name="dbUrl" value="jdbc:mysql://localhost/mysql" />
         <property name="dbUser" value="user" />
         <property name="dbPass" value="user" />
    </user-manager>If I modify the application.xml file and place my own Custom UserManager there it affects the whole server. In my case it should only affect the current application it is declared in.
    I've already spent a week on this with metalink and we resolved that this is the way it should work.
    Going back to revision 9.0.4.0.0 of the OC4J standalone this problem does not exist and I get the Custom User manager returned that was declared.
    Even the standalone_guide.pdf in 10.1.2.0.0 still has the same reference that this should work - but it does not.
    Anthony

  • Virtual Directory with struts-tiles

    is have serious problems in configuring struts-tiles with virtual-directories for local developement. I have got my tiles-def.xml deployed in my ear. And i have got virtual-directory mapping, which works great, but not with tiles, because i want to include the jsp in my tiles-def.
              is this possible? Does anybody have an experience?
              Thanks heaps.

    A few methods that come to mind off hand would be:
    1) Make an app on your server act as a proxy to the other app. That is, make a Servlet mapped to all URLs in the context. The servlet simply makes a corresponding request to the other server passing all pertinent information from the originating client. Your servlet then reads the response and pipes it directly to the response object
    2) Try setting up a <context> element with the docBase attribute set to the other server's docBase. The other computer would have to give your server read/write access to the directory of interest. Since your server would be actually hosting the application you would have to check on environment and resources to make sure any required settings are duplicated properly.
    3) Have the other application hosted on a different port, and your firewall map that port to their server and your port to your server.

  • Struts Interview questions

    Send Struts interview question in my mail id [email protected]

    send me struts interview questionsDumb idiots. Couldn't you read the thread?another racist?!?Another idiot. Spamming fora again?!?Sorry Maris not here now please try again later.No thanks. I'm tired os talking nonsense. :(Sorry. :(
    You do know that despite any other commentary over time this thread will balloon to 100's of posts just like 2 and 4 though right?
    <crawling behind rock again/>

  • Strut tile definition and bc4j

    Hi ,
    I am working on a BC4j Struts based project.I was on my way to implement tile definition thru a xml file and implementing do action forwards,for ex welcome.do,viewreport.do.For doing this I had to change the controller entry in struts-config.xml from
    <controller debug="3" locale="true" processorClass="oracle.jbo.html.struts11.BC4JRequestProcessor" contentType="text/html;charset=windows-1252"/>
    to
    <controller processorClass="org.apache.struts.tiles.TilesRequestProcessor" contentType="text/html;charset=windows-1252"/
    after I did this the actions I had implemented myself with to work with tile defs,they are working fine ,but there were some other actions(as I started with a wizard created bc4j strut app) which are bc4j related have stopped working because BC4JRequestProcessor was no more
    defined as the request processor....
    How to solve this?How to make both strut actions and bc4j actions work inside a project...can 2 request processors be used at the same time...
    can anybody help??

    check this weblog entry by Steve Muench
    http://radio.weblogs.com/0118231/2003/09/14.html
    success
    -Jan

  • Problem With Struts Tiles When Migrating from WL 8.1 to WL 10.3

    Hi Folks,
    When migration my project from WL 8.1 to WL 10.3, I got the follow error :
    javax.servlet.jsp.JspException: Can't insert page '/tile/tilePesquisa.jsp' : null
         at org.apache.struts.tiles.taglib.InsertTag$InsertHandler.doEndTag(InsertTag.java:902)
         at org.apache.struts.tiles.taglib.InsertTag.doEndTag(InsertTag.java:465)
         at jsp_servlet._web_45_inf._jsp._ferramenta._ferramenta.__listaferramenta._jspService(__listaferramenta.java:361)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:408)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:318)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:505)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:251)
         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:191)
         at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:305)
         at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
         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)
    Can anybody help me ?
    So do I need change some XML configuration file such as web.xml or weblogic xml ?
    Thanks!!

    Hi,
    I have realized the follow:
    The error occurs on:
         <tiles:put name="pageTitle" direct="true">
              <tiles:get name="pageTitle" />
         </tiles:put>
    if I change to:
         <tiles:put name="pageTitle" direct="true">
              <tiles:getAsString name="pageTitle" />
         </tiles:put>
    it works!?
    But the application is entire using the first code example ! I need other solution to this!
    Thanks!

  • XMLBeans vs Struts Tiles

    Right now I am working on a product which is developed using XMLBeans, XSL, Transformer etc. My opinion is that this can be simplified by using struts tiles. Please give me your opinions. Which is better leaving as it is or redesigning

    I'm not a fan of Struts Tiles, IMHO it's only slightly better than raw JSP and has some nasty issues regarding exception handling. Having said that I'm also not a fan of using XSL to render web pages unless there are extremely good reasons for doing so (e.g. multi channel delivery).
    Maybe take a look at some of the other presentation frameworks around...tapestry, velocity, Spring MVC, jsf etc.

  • Using Struts tiles

    hi,
    Has any body worked with Struts Tiles in workshop. Is it possible. Can any one share his experience.
    Regds
    Ashwani

    Hi Rohrlich,
    I attempted managing portal layout (e.g.: header.jsp,
    footer.jsp and body.jsp) by Struts Tiles (see below) and
    there is no sample code in the online document of WLW8.1.
    If possibility, have you any suggestion of it or advice
    reads.
    Thanks you in advance.
    <b>
    There is error message after requesting somepage.jsp:
    [ServletException in:Controller.jpf] TilesPlugin :
    Specified RequestProcessor not compatible with
    TilesRequestProcessor'
    </b>
    Environment info:
    -WLW 8.1.4 ( necessary for my workplace)
    -struts-1.2.9-bin.zip
    I practiced rudely code as below...
    [WEB-PROJ]/WEB-INF/.pageflow-struts-generated/jpf-struts-config.xml
    <plug-in className="org.apache.struts.tiles.TilesPlugin">
    <set-property property="definitions-config" value="../tiles-defs.xml"/>
    <set-property property="definitions-debug" value="0"/>
    <set-property property="definitions-parser-details" value="0"/>
    <set-property property="definitions-parser-validate" value="false"/>
    </plug-in>
    [WEB-PROJ]/WEB-INF/tiles-defs.xml
    <tiles-definitions>
    <definition name=".template" path="layout.jsp">
    <put name="title" value="title" />
    <put name="header" value="header.jsp" />
    <put name="body" value="Controller.jpf" />
    </definition>
    </tiles-definitions>
    [WEB-PROJ]/WEB-INF/web.xml
    <taglib-uri>/WEB-INF/struts-tiles.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts-tiles.tld</taglib-location>
    </taglib>
    [WEB-PROJ]/layout.jsp
    <%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
    <table border="2" width="300" bordercolor="Gray">
    <tr><td bgcolor="Blue"><strong><tiles:getAsString name="title"/></strong></td></tr>
    <tr><td><tiles:insert attribute="header"/></td></tr>
    <tr><td><tiles:insert attribute="body"/></td></tr>
    </table>
    [WEB-PROJ]/somepage.jsp
    <%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
    <tiles:definition id=".template" template="layout.jsp">
    <tiles:put name="title" value="This is the title." />
    <tiles:put name="header" value="header.jsp" />
    <tiles:put name="body" value="Controller.jpf" />
    </tiles:definition>
    <tiles:insert beanName=".template" />
    Best regards,
    Beginner Chan<b></b>

  • Struts-faces library: provided struts/tiles example doesn't work?!

    Dear all,
    I�ve been trying to migrate my struts-tiles application to JavaServer Faces using the struts-faces library. I downloaded the latest nightly build, but I was unable to deploy and run the second example (the one using tiles) on Tomcat 5.0.28.
         At first, the <h:commandLink> components for the �Register� and �Login� links on the first page (loggedoff.jsp) wouldn�t work, probably because they should have been replaced by <s:commandLink>. So I fixed that, but then I get an inexplicable http 404 error: �Invalid path /layout was requested� when I click on any of the two links.
         Looking at the source code of both JSP and HTML I noticed that the JSP element <s:form action="/editRegistration"> translates to <form id="menu:_id5" name="registrationForm" action="/StrutsFacesExample/layout.do" method="post">. The action element is obviously(?) wrong: there is no layout.do action mapping anywhere, it�s the path pointing to the main layout jsp with the suffix replaced!
    I�ve been able to trace the problem down to method �action� in library class org.apache.struts.faces.renderer.FormRenderer, which does the following:
    protected String action(FacesContext context, UIComponent component) {
    String actionURL =
    context.getApplication().getViewHandler().
    getActionURL(context, context.getViewRoot().getViewId());
    if (log.isTraceEnabled()) {
    log.trace("getActionURL(" + context.getViewRoot().getViewId() +
    ") --> " + actionURL);
    return (context.getExternalContext().encodeActionURL(actionURL));
    Any ideas on what could be going wrong here? I also tried deploying the example on Tomcat 5.5.7 and JBoss 3.2.5, but the behavior was the same.
    Any comments would be greatly appreciated!
    Mario

    Did you ever find a solution to this problem? No, unfortunately I am still looking for a solution to this one.
    I� ve also reported this to Bugzilla (http://issues.apache.org/bugzilla/show_bug.cgi?id=35265) so you might want to keep an eye on the issue, in case something comes up. However there appears to be no significant activity in the library�s source code repository for almost a month.
    After reading other discussions in forums like this one, I must say that I am discouraged: I seriously doubt if anyone has successfully managed to use the struts-faces integration library. A lot of people are suggesting that integrating the two frameworks is not worth the trouble, and so I am now in the process of evaluating the cost of complete migration from struts to jsf (btw, it doesn�t look good�). Nevertheless, some recent articles demonstrate the library�s use (the most recent one is Kito Mann�s http://www.jsfcentral.com/reading/#4030 ) so I might be wrong.
    It would be nice though if someone who has managed to integrate the two technologies successfully would share his views on this forum�
    Mario

  • Javax.servlet.UnavailableException: org.apache.struts.tile.TilesRequestProc

    hi
    I attached the tiles. jar file to tomcat lib folder
    that jar file is having the source
    when I run the project the following error is coming
    SEVERE: Unable to initialize Struts ActionServlet due to an unexpected exception or error thrown, so marking the servlet as unavailable. Most likely, this is due to an incorrect or missing library dependency.
    javax.servlet.ServletException: org.apache.struts.tile.TilesRequestProcessor
         at org.apache.struts.tiles.TilesPlugin.initRequestProcessorClass(TilesPlugin.java:351)
         at org.apache.struts.tiles.TilesPlugin.init(TilesPlugin.java:133)
         at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:869)
         at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
         at javax.servlet.GenericServlet.init(GenericServlet.java:211)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3917)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4201)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
         at org.apache.catalina.core.StandardService.start(StandardService.java:450)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)

    hi karthik
    SEVERE: Can't set TilesRequestProcessor: bad class name 'org.apache.struts.tile.TilesRequestProcessor'.
    Dec 6, 2007 3:08:15 PM org.apache.struts.action.ActionServlet init
    SEVERE: Unable to initialize Struts ActionServlet due to an unexpected exception or error thrown, so marking the servlet as unavailable. Most likely, this is due to an incorrect or missing library dependency.
    javax.servlet.ServletException: org.apache.struts.tile.TilesRequestProcessor
         at org.apache.struts.tiles.TilesPlugin.initRequestProcessorClass(TilesPlugin.java:351)
         at org.apache.struts.tiles.TilesPlugin.init(TilesPlugin.java:133)
         at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:869)
         at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
         at javax.servlet.GenericServlet.init(GenericServlet.java:211)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3917)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4201)
         at org.apache.catalina.core.StandardContext.reload(StandardContext.java:2990)
         at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:403)
         at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1277)
         at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1569)
         at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1578)
         at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1578)
         at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1558)
         at java.lang.Thread.run(Unknown Source)
    Dec 6, 2007 3:08:15 PM org.apache.catalina.core.ApplicationContext log
    INFO: Marking servlet action as unavailable
    Dec 6, 2007 3:08:15 PM org.apache.catalina.core.StandardContext loadOnStartup
    SEVERE: Servlet /Testingtiles threw load() exception
    javax.servlet.UnavailableException: org.apache.struts.tile.TilesRequestProcessor
         at org.apache.struts.action.ActionServlet.init(ActionServlet.java:368)
         at javax.servlet.GenericServlet.init(GenericServlet.java:211)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3917)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4201)
         at org.apache.catalina.core.StandardContext.reload(StandardContext.java:2990)
         at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:403)
         at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1277)
         at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1569)
         at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1578)
         at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1578)
         at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1558)
         at java.lang.Thread.run(Unknown Source)
    Dec 6, 2007 3:08:34 PM org.apache.catalina.core.StandardWrapperValve invoke
    INFO: Servlet action is currently unavailable

Maybe you are looking for

  • Error in Email PDF of purchase order

    In the purchase order, we have set up a message(output) type as external send for sending the email to the buyer. It has been working good for the past 1 year and suddenly for the past few weeks we started noticing errors. The error is that we cannot

  • Frame border in Gauge during drill through

    Hi, When I click on my charts or gauge to drill through, I notice that a outline of sorts appears when I click the object. I understand it is normal in charts as the specific series is clicked. But my problem is with the gauge. I have no frame for my

  • Aperture Trial Version - can't download

    Hi all Just got my first Intel based MacBook - so want to trial Aperture. When I enter the details for the trial version I get an email from Apple, and the thank you window. But no download starts and the email says that if the is a problem click lin

  • I don't like the ios 5 "upgrade" on my iPhone - is it possible to go back?

    I don't like the ios 5 "upgrade" on my iPhone - is it possible to go back? For one thing, I cannot find directions for turning "Music" off ... and it's draining my battery too fast each day. Other changes are OK, but this drives me nuts!

  • Using standalone iPod on Windows XP

    Hi, I myself am not very familiar with iPod and iTunes software, but my father, a techno illiterate, owns one. I understand that you build a music library on your computer that you can synchronize with your iPod. My father is wondering if it's possib