java script testing with ODE.war distribution!

This is a discussion on java script testing with ODE.war distribution! within the Apache forums in Application Servers & Tools category; 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....

Go Back   Application Development Forum > Application Servers & Tools > Apache

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 11-10-2008, 11:44 PM
ratha
Guest
 
Default 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.


Reply With Quote
  #2  
Old 11-11-2008, 01:05 AM
Alex Boisvert
Guest
 
Default Re: java script testing with ODE.war distribution!

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 <rathav-imBn0Efqqa8@public.gmane.org> 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.
>
>


Reply With Quote
  #3  
Old 11-11-2008, 01:14 AM
ratha
Guest
 
Default Re: java script testing with ODE.war distribution!

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 <rathav-imBn0Efqqa8@public.gmane.org> 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
>
>



Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 10:12 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.