Using relative addreses.
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Tuli_Nosh
Posted On:   Tuesday, June 25, 2002 10:20 PM

Hi. I build a servlet using Jbuilder and its plug in tomcat 3.2. In some places, when I response to the user, I do some links to *.html files. The problem is that if I not write an absolute location (like (k=a)…) The server is not locate the file. I tried to locate “myFile.html” in the webapp directory and write (k=a)and nothing (good) happen – I got “page not found” massage. Because my servlet should be uploaded to web server, I must write all the links as relative addresses. What should I do ?? Thanks!!    More>>

Hi.





I build a servlet using Jbuilder and its plug in tomcat 3.2.


In some places, when I response to the user, I do some links to *.html files.


The problem is that if I not write an absolute location (like (k=a)…)


The server is not locate the file.


I tried to locate “myFile.html” in the webapp directory and write (k=a)and nothing (good) happen – I got “page not found” massage.


Because my servlet should be uploaded to web server, I must write all the links as relative addresses.
What should I do ??





Thanks!!

   <<Less
About | Sitemap | Contact