• Post Reply Bookmark Topic Watch Topic
  • New Topic

500 Internal Server Error  RSS feed

 
Jason Dour
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
After putting in my jsps in WEB-INF folder when I open up my browser for the port number created I get this error for all the JSP's.
For instance the one below is for login.jsp
Is there anything I am missing ?
<PRE> <B>/login.jsp:</B> java.io.FileNotFoundException: /home/user/jrun3/app/PC/default-app/WEB-INF/jsp/jrun__login2ejspa.java (Permission denied) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:97) at java.io.FileOutputStream.<init>(FileOutputStream.java:57) at allaire.jrun.jsp.Translator.processPage(Translator.java:207) at allaire.jrun.jsp.Translator.translate(Translator.java:397) at allaire.jrun.jsp.Translator.translate(Translator.java:92) at allaire.jrun.jsp.JSPTranslator.translate(JSPTranslator.java:75) at allaire.jrun.jsp.JSPTranslator.translate(JSPTranslator.java:67) at allaire.jrun.jsp.JSPServlet.service(JSPServlet.java:216) at allaire.jrun.jsp.JSPServlet.service(JSPServlet.java:196) at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1417) at allaire.jrun.session.JRunSessionService.service(JRunSessionService.java:1106) at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:1271) at allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.java:89) at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1557) at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1547) at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java:364) at allaire.jrun.http.WebEndpoint.run(WebEndpoint.java:115) at allaire.jrun.ThreadPool.run(ThreadPool.java:272) at allaire.jrun.WorkerThread.run(WorkerThread.java:75) </PRE> PRE> <B>/login.jsp:</B> java.io.FileNotFoundException: /home/cp09368/jrun3/app/ProfileConfigUA/default-app/WEB-INF/jsp/jrun__login2ejspa.java (Permission denied) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:97) at java.io.FileOutputStream.<init>(FileOutputStream.java:57) at allaire.jrun.jsp.Translator.processPage(Translator.java:207) at allaire.jrun.jsp.Translator.translate(Translator.java:397) at allaire.jrun.jsp.Translator.translate(Translator.java:92) at allaire.jrun.jsp.JSPTranslator.translate(JSPTranslator.java:75) at allaire.jrun.jsp.JSPTranslator.translate(JSPTranslator.java:67) at allaire.jrun.jsp.JSPServlet.service(JSPServlet.java:216) at allaire.jrun.jsp.JSPServlet.service(JSPServlet.java:196) at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1417) at allaire.jrun.session.JRunSessionService.service(JRunSessionService.java:1106) at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:1271) at allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.java:89) at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1557) at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1547) at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java:364) at allaire.jrun.http.WebEndpoint.run(WebEndpoint.java:115) at allaire.jrun.ThreadPool.run(ThreadPool.java:272) at allaire.jrun.WorkerThread.run(WorkerThread.java:75) </PRE>
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can't serve JSPs out of WEB-INF -- at least not directly via URL. You can forward to a resource under WEB-INF, but the Servlet Spec specifically forbids access to WEB-INF resources via URL.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!