Hi everyone !
I have an Android application which connects to a
servlet (On
Tomcat) which queries an SQL server.
First I tried it in my computer. My Tomcat was running in my local machine.
The tree (in Eclipse) was seen like this:
myServletProjectName--->
java resources--->src---->myServletPackName---->myServletClassName
The url from my application didn't mention all this path, but only the servletProjectName and the servletClassName:
Everything works fine.
Now, I upload a war file of the servlet to a remote server (not the Tomcat is running on that server).
The tree over there (not in Eclipse but in regular folders is):
home--->tomcat--->webapps---->domainName--->ROOT--->webInf--->classes---->myServletPackName--->myServletClassName
May you please tell me, what should be my url in order to connect my Android application to this servlet? (Ofcours I know the ip address,
but I don't know what are the folders I should write in the url -- I don't see my project name in this tree).
Thanks a lot,
Eli.