hello friends, i were developing a web application using jsp.i made following directroy hierarchy in context root of my web application context-root/images(image files folder) context-root/index.jsp(specified in web.xml as welcome-file) context-root/WEB-INF/web.xml context-root/WEB-INF/classes/productDetail.jsp context-root/WEB-INF/classes/registration.jsp 1)i have to make a link in index.jsp for accessing productDetail.jsp. now, how to specify path for this in html tag <A HREF= >
Joined: Mar 22, 2002
Hi mustang, what u r saying is absolutely fine.it works perfectly when i put all files in context root of my server,but this way it will be part of default web application,and then same ServletContext object w'll be shared with other applications, which are part of default application.what i want is to deploy my project as separate web application
thanx mustang & William, i tried as mustang said,now its working with some extent,but still facing problem. i have registered web application in my weblogic server as follows- weblogic.httpd.webapp.yash= /weblogic/myserver/mywebsite (its perfectly all right) so here my web application name or context name is "yash" context-root is /weblogic/myserver/mywebsite i have all jsp files in mywebsite folder suppose mywebsite/shoppingCart.jsp mywebsite/procedeOrder.jsp in shoppingCart.jsp,i'm using <jsp:forward path='procedeOrder.jsp'/> but it says resource '/yash/procedeOrder.jsp' not found in context-root /weblogic/myserver/mywebsite But same code is working in default context of server.can u tell me any link, where i can get information about making web application using jsp. thanx.