| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| 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. |
|
#2
| |||
| |||
| 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. > > |
|
#3
| |||
| |||
| 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 > > |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.