You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ode.apache.org by ratha <ra...@wso2.com> on 2008/11/11 05:44:36 UTC
java script testing with ODE.war distribution!
Hi all,
I want to test a java script (eg:-to view available instances). I'm
using ODE.war distribution with tomcat. I'm connecting my javascript
with an index.html file and i put all the files inside 'ODE'
directory.(already there are WEB-INF,META-INF,axis2-web directory).
When i start the tomcat i can see only the ODE pages. not my html file..
How can I check whether my script is working or not with ODE?
Any assistance will be really helpful to me.
Thanks.
-ratha.
Re: java script testing with ODE.war distribution!
Posted by ratha <ra...@wso2.com>.
Hi Alex,
Thanks, it is working..
Regards,
Ratha.
Alex Boisvert wrote:
> If you place a file called "foo.html" in the .war root directory, then you
> should be able to access it through http://localhost:8080/ode/foo.html
>
> The index file is a special case, which is defined in WEB-INF/web.xml:
>
> <welcome-file-list>
> <welcome-file>/axis2-web/index.jsp</welcome-file>
> </welcome-file-list>
>
> You need to remove or change this value if you want to use your own index
> file (the file used when you to go http://localhost:8080/ode).
>
> alex
>
>
> On Mon, Nov 10, 2008 at 8:44 PM, ratha <ra...@wso2.com> wrote:
>
>
>> Hi all,
>>
>> I want to test a java script (eg:-to view available instances). I'm using
>> ODE.war distribution with tomcat. I'm connecting my javascript with an
>> index.html file and i put all the files inside 'ODE' directory.(already
>> there are WEB-INF,META-INF,axis2-web directory).
>> When i start the tomcat i can see only the ODE pages. not my html file..
>> How can I check whether my script is working or not with ODE?
>>
>> Any assistance will be really helpful to me.
>> Thanks.
>> -ratha.
>>
>>
>>
>
>
> ------------------------------------------------------------------------
>
>
> No virus found in this incoming message.
> Checked by AVG - http://www.avg.com
> Version: 8.0.175 / Virus Database: 270.9.0/1779 - Release Date: 11/10/2008 7:53 AM
>
>
Re: java script testing with ODE.war distribution!
Posted by Alex Boisvert <bo...@intalio.com>.
If you place a file called "foo.html" in the .war root directory, then you
should be able to access it through http://localhost:8080/ode/foo.html
The index file is a special case, which is defined in WEB-INF/web.xml:
<welcome-file-list>
<welcome-file>/axis2-web/index.jsp</welcome-file>
</welcome-file-list>
You need to remove or change this value if you want to use your own index
file (the file used when you to go http://localhost:8080/ode).
alex
On Mon, Nov 10, 2008 at 8:44 PM, ratha <ra...@wso2.com> wrote:
> Hi all,
>
> I want to test a java script (eg:-to view available instances). I'm using
> ODE.war distribution with tomcat. I'm connecting my javascript with an
> index.html file and i put all the files inside 'ODE' directory.(already
> there are WEB-INF,META-INF,axis2-web directory).
> When i start the tomcat i can see only the ODE pages. not my html file..
> How can I check whether my script is working or not with ODE?
>
> Any assistance will be really helpful to me.
> Thanks.
> -ratha.
>
>