filenotfoundexception - HTTP Status 500 file not found error in jsp include -


i include file root directory. working fine in local when host site give me:

error http status 500: "../connection.jsp" not found

my files in

public_html/myfolder/connection.jsp

on shared hosting.

i want include file in

public_html/myfolder/process/user-login.jsp

if public_html root folder of web application, can use absolute path included resource.

<jsp:include page="${pagecontext.request.contextpath}/myfolder/connection.jsp"/> 

Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -