hi mario,
just use relative path
for example,
"../somedire/Main.jsp"
hope u got some idea....
regds
murali
>>> [EMAIL PROTECTED] 11/17/00 7:25:01 PM >>>
Hello, gurus,
I have diferent paths for JSP pages, HTML documents and servlets under one
server.
Problem is that I can't refer to JSP page from servlet or HTML page from JSP
without specifying server name (http://servername/servlet,...).
When I use http://servername/someapp everything is working but if I want to
transfer theese files to some other server I must change source code...
So, problem is how to refer between theese pages without specifying server
name - something like relative path when developing HTML page.
I develop programms in JBuilder3 (professional) and using Apache with Tomcat
(if this is of some important).
Some idea to share?
Mario Breskovac
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Disclaimer note:
Confidential information may be contained in this e-mail and any files transmitted
with it ('Message'). If you are not the addressee indicated in this Message (or
responsible for delivery of this Message to such person), you are hereby notified that
any dissemination, distribution, printing or copying of this Message or any part
thereof is strictly prohibited. In such a case, you should delete this Message
immediately and advise the sender by return e-mail. Opinions, conclusions and other
information in this Message that do not relate to the official business of Maxis shall
be understood as neither given nor endorsed by Maxis.
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets