Hi,
Thanks, for your help.
But I try what you tell and I still receive the same error:
"Can't get definitions factory from context".

But if I change the web xml file and comment the actionservlet class and use
the actioncomponentservlet
<!-- <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
--> 
 
<servlet-class>org.apache.struts.tiles.ActionComponentServlet</servlet-class
>

It's work with a warning.
"Warning - ActionComponentServlet class: This class is to be used with
Struts1.0.x only. Please modify web.xml to use regular ActionServlet class
instead in conjugaison with appropriate plugin declared in
struts-config.xml."

I will translate this by circle bug. The problem is that I need to use
ActionServlet.

I heard that there is different version of websphere 5.0 : different build
version, maybe is the reason of my bug. I use 
WebSphere Studio Application Developer (Windows) 
Version: 5.0.0
Build id: 20020913_0100

-----Message d'origine-----
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Envoy� : 6 f�vrier, 2003 13:32
� : [EMAIL PROTECTED]
Objet : Re: Struts Tooling


Hi Robert -

A good example of tiles application is tiles-documentation.war that comes
with the Struts 1.1b3 distribution. The example uses the ActionServlet
(instead of ActionComponentServlet) and it runs correctly (under WSAD 5.0
Test environment) with a few modification.. as listed below.

You need to fix struts-doc-config.xml at:
</action-mappings> should be <action-mappings/>
and
<plug-in className="org.apache.struts.tiles.TilesPlugin" >
    <set-property property="definitions-config" 
                     value="/WEB-INF/tiles-defs.xml,
                            /WEB-INF/tiles-doc-defs.xml />
is missing a end "


Not sure where the definition from this file is used - but
I think it is better to just fix that.

If you use WSAD IDE to import the .war file, it will also flag some errors..
(*.jsps - tiles.tld not there and etc..) I just ignored it (this is probably
something that is not too bad to fix).

I think its likely that you are just missing a few configuration information
in your web.xml (requirements probably changed much from Struts 1.0 to
Struts 1.1)

Hope this helps.

Ying

>From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>Subject: Struts Tools
>Date: Thu, 6 Feb 2003 09:27:37 -0500
>Content-Type: multipart/alternative;
>   boundary="----_=_NextPart_001_01C2CDEB.E5D7D0D0"
>
>
>Do you use tile plugins ?
>Do you use struts 1.1.3
>Your action servet in web.xml is ActionComponentServlet or 
>ActionServlet I ask this question because when I use 
>ActionComponentServlet it's work with a warning But when i use 
>ActionServlet It doesn't work att all
>
>Can you show or send me your web.xml and your strut-config.xml files.
>
>Thanks you verry much it's been a while that I try to make workink 
>struts 1.1.3 with websphere 5.0
>
>
>-----Message d'origine-----
>De : Gary Johnston <[EMAIL PROTECTED]> [mailto:[EMAIL PROTECTED]]
>Envoy��� : 6 f���vrier, 2003 09:18
>�� : [EMAIL PROTECTED]
>Objet : RE : Struts Tools
>
>
>Robert,
>BTW, the bogus error message(s) you're seeing is a known problem that
>is fixed in a soon-to-be released fix bundle.  It'll be 
>downloadable/installable into WebSphere Studio 5.0 via the 
>Eclipse "Update Manager".  For now, please just continue to ignore 
>them.  Sorry.
>- Gary Johnston
>IBM WebSphere Studio Struts Tools Development Lead
>IBM Software Group, RTP, NC
>
>--- In [EMAIL PROTECTED], Robert Claeson <[EMAIL PROTECTED]> wrote:
>> [EMAIL PROTECTED] wrote:
>> > WSAD 5.0 with tiles-definitions and struts 1.1 dont work with
>exemples of
>> > configuration give by apache
>> 
>> I actually haven't tried those examples. I just follow the API
>guides. I
>> use Tiles and definitions. It works for me for what I've done with
>it so
>> far (developed an e-business application with a quite complex
>layout
>> based on tiles, and web services integration with a license
>management
>> system located on a different continent), except for the bogus
>error
>> message I mentioned.
>> 
>> /Robert
>> 
>> 
>> --------------------------------------------------------------------
>-
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>


__________________________________________________________________
The NEW Netscape 7.0 browser is now available. Upgrade now!
http://channels.netscape.com/ns/browsers/download.jsp 

Get your own FREE, personal Netscape Mail account today at
http://webmail.netscape.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to