Thanks Pat,

It works now :) my fault didn't clean it properly :(

Suppose I want to use the package extention (other than default), by 
extending the sample default with my own, how do I access it? 

Say, I have like this:
    <package name="example" extends="default" namespace="/example">
        <interceptors>
            <interceptor-stack name="exampleDefaultStack">
                <interceptor-ref name="defaultStack"/>
            </interceptor-stack>
        </interceptors>

        <action name="HelloWorldAction" 
class="com.kiost.web.example.HelloWorldAction">
            <result name="success" type="dispatcher">
                <param name="location">/success.jsp</param>
            </result>
            <interceptor-ref name="exampleDefaultStack"/>
        </action>
    </package>

-------------------------------------------------
And a jsp file trying to access it would be? 

This one doesn't work:
----------------------
Click <a href="example/HelloWorldAction.action">here</a> for a classic 
Hello World sample.<br>

Any advise?

Thanks,
/bernard



> Nope, the components stuff is totally optional. This will be made very 
clear
> in the upcoming documentation :)
> 
> -Pat
> 
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, March 16, 2003 10:19 PM
> Subject: [OS-webwork] Is component.xml compulsory?
> 
> 
> > Hi all,
> >
> > I am playing with WebWork 2.0, which I intend to used for my up coming
> > proj.
> >
> > Quick question: is the components.xml file must be included? what if I
> > don't use it?
> >
> > I saw it in the sample which comes with ww 2.0.
> >
> > When I tried to deploy my simple sample, eliminating the 
components.xml,
> > tomcat (4.1.18) complained, saying: "... Cannot load components.xml
> > configuration ..." complaining about InputStream cannot be null, 
throwing
> > IllegalArgumentException.
> >
> > Yes, I also removed (commented out) the components entry in xwork.xml
> > file.
> >
> > Anyone shed me light? Thanks.
> >
> > cheers,
> > /bernard
> >
> > ----------------------------------------
> > This message was sent using CBN WebMail.
> >
> >
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by:Crypto Challenge is now open!
> > Get cracking and register here for some mind boggling fun and
> > the chance of winning an Apple iPod:
> > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
> > _______________________________________________
> > Opensymphony-webwork mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by:Crypto Challenge is now open! 
> Get cracking and register here for some mind boggling fun and 
> the chance of winning an Apple iPod:
> http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
> _______________________________________________
> Opensymphony-webwork mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> 


----------------------------------------
This message was sent using CBN WebMail.




-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to