You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Cedric Dumoulin <ce...@apache.org> on 2002/10/01 11:55:13 UTC

Re: tabsLayout.jsp ServletException??

  Hi,

  I have just re-downloaded struts1.1b2, extract tiles-documentation.war 
to tomcat/webapps, and tried it: all run perfectly "out of the box". 
Classes are here and tabs work.
  Maybe its a problem with your web server ? Which one do you use ?

         Cedric

Curtney Jacobs wrote:

>Sorry, just wanted to restate the last question.
>
>Does tabs works under the struts 1.1-b2?
>
>_CJ
>On Monday 30 September 2002 8:45 pm, Curtney Jacobs wrote:
>  
>
>>Hi,
>>you are correct, the web server could not find the specified class. I
>>included necessary information within my classpath environment variable. I
>>no longer get that error. However, I still get the tab layout error:
>>[ServletException in:/layouts/tabsLayout.jsp] null'
>>
>>It seem that some value is null, perhaps a  parameter the tabsLayout.jsp is
>>requiring? I have checked the pre-conditions and everything seems to be in
>>order.
>>
>>I have the beta version of struts: version 1.1-b2.
>>
>>Does the tabs works for you?
>>
>>_CJ
>>
>>On Monday 30 September 2002 9:52 am, Cedric Dumoulin wrote:
>>    
>>
>>>  So, the web server can't find the specified class. Can you check if
>>>the class is present in
>>>WEB-INF/classes/org/apache/struts/webapp/tiles/portal/. ? If not, check
>>>if it is in the war file. If still not there, it is a bug. Do you have
>>>the latest version of Tiles or Struts ?
>>>
>>>        Cedric
>>>
>>>Curtney Jacobs wrote:
>>>      
>>>
>>>>Hi,
>>>>thank you for replying. As you suggested, I tried to see if the
>>>>tiles-doc.war files work for my configuation. I am still getting the
>>>>same error with an additional error that
>>>>"org.apache.struts.webapp.tiles.portal.UserMenuAction" is not found.
>>>>
>>>>I have tried browsing through the API for this class and I could not
>>>>find it. Hmmm.
>>>>
>>>>The following is the exact error I got:
>>>>
>>>>[ServletException in:/layouts/vboxLayout.jsp] Error - Class not found
>>>>
>>>>:org.apache.struts.webapp.tiles.portal.UserMenuAction'
>>>>
>>>>[ServletException in:/layouts/tabsLayout.jsp] null'
>>>>
>>>>Again, anymore suggestion/advice would be helpful.
>>>>
>>>>_CJ
>>>>
>>>>On Friday 27 September 2002 10:12 am, Cedric Dumoulin wrote:
>>>>        
>>>>
>>>>>   Hi,
>>>>>
>>>>>  Sorry for this late answer, I am abroad since 2 weeks, and have some
>>>>>trouble with my mails.
>>>>>
>>>>>   Don't you have more message error ?
>>>>>   Maybe you have a problem with one of your tiles. Can you try them
>>>>>separately, especially the ones inserted inside tabs.
>>>>>   Also, can you confirm that tabs from tiles-doc war files work for
>>>>>your configuration ?
>>>>>
>>>>>      Cedric
>>>>>
>>>>>Curtney Jacobs wrote:
>>>>> >Greetings everyone!!
>>>>> >
>>>>> >I am trying to incoporate a tab layout in one of my jsp pages. I
>>>>> > have
>>>>>
>>>>>download
>>>>>
>>>>> >the tiles layout examples from the tiles website and I have
>>>>> > configured my tiles-defs.xml similar to the examples.
>>>>> >
>>>>> >However I am getting the following error message:
>>>>> >
>>>>> > [ServletException in:/layout/tabsLayout.jsp]'
>>>>> >
>>>>> >
>>>>> >Any comments or suggestions would be greatly appreciated.
>>>>> >
>>>>> >Thank you.
>>>>> >ps.
>>>>> >The Following is what my tiles-defs.xml look like:
>>>>> >
>>>>> ><tiles-definitions>
>>>>> >
>>>>> >   <!-- ================================================ -->
>>>>> >   <!-- Master Layout                                    -->
>>>>> >   <!-- ================================================ -->
>>>>> >   <!-- Master layout and default layout used by all pages -->
>>>>> >  <definition name="sesm.master.page"
>>>>> > path="/layout/classicLayout.jsp"> <put name="title"  
>>>>> > value="Special Education Student Management
>>>>>
>>>>>Master
>>>>>
>>>>> >Layout" />
>>>>> >     <put name="header"  value="/common/default_header.jsp" />
>>>>> >     <put name="menu"    value="/common/default_menu.jsp" />
>>>>> >     <put name="footer"  value="/common/default_footer.jsp" />
>>>>> >     <put name="body"    value="/common/default_body.jsp" />
>>>>> >   </definition>
>>>>> >
>>>>> >  <definition name="sesm.index.page" extends="sesm.master.page">
>>>>> >     <put name="title" value="Specia Education Student Management
>>>>>
>>>>>(SESM)" />
>>>>>
>>>>> >     <put name="body"  value="sesm.tab.body" />
>>>>> >  </definition>
>>>>> >
>>>>> >  <definition name="sesm.tab.page" extends="sesm.master.page">
>>>>> >     <put name="title" value="SESM TABS" />
>>>>> >     <put name="body"  value="sesm.tab.body" />
>>>>> >  </definition>
>>>>> >
>>>>> >  <definition name="sesm.tab.body" path="/layout/tabsLayout.jsp">
>>>>> >     <put name="selectedIndex" value="0" />
>>>>> >     <put name="parameterName" value="selected" />
>>>>> >
>>>>> >     <putList name="tabList">
>>>>> >        <item value="Header" link="/common/default_header.jsp"
>>>>> >classtype="org.apache.struts.tiles.beans.SimpleMenuItem"/>
>>>>> >        <item value="Footer" link="/common/default_footer.jsp"
>>>>> >classtype="org.apache.struts.tiles.beans.SimpleMenuItem"/>
>>>>> >     </putList>
>>>>> >  </definition>
>>>>> >
>>>>> >
>>>>> >
>>>>> ></tiles-definitions>
>>>>> >
>>>>> >I have checked my
>>>>>          
>>>>>
>
>  
>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>