hi,
        i am just a shitty developer
if you have :
- html under /html
- jsp under /jsp
- servlet under /blood

if you want to access a jsp from /html directory you just have to put
/jsp/yourfile.jsp

this should work

br
        marco

> -----Original Message-----
> From: EXT Breskovac Mario [mailto:[EMAIL PROTECTED]]
> Sent: 17. November 2000 13:25
> To: [EMAIL PROTECTED]
> Subject: Relative paths between HTML pages, servlets and JSPs (without
> htt p://servername)
>
>
> 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

===========================================================================
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

Reply via email to