Hi,
What kind of permission should have a JSP have to read a file from the
local disk ? I have set "read" permission for that particular file as I am
using java.rmi.RMISecurityManager with JRun.
Which code should have permission ? Is it the compiled code in JRun
or the JSP in my virtual directory under IIS. I am using JSP 1.0
Wed Apr 19 04:34:51 PDT 2000: getServlet "jsp.jsp.helloworld"
{ (getServlet "jsp.jsp.helloworld") java.rmi.RMISecurityException:
security.file.read: c:/javadev/res/sbhtml/html/base_build_page.tmpl
at java.rmi.RMISecurityManager.checkRead(Compiled Code)
at java.io.FileInputStream.<init>(Compiled Code)
at java.io.FileReader.<init>(Compiled Code)
at com.vtechs.template.Template.read(Compiled Code)
at jsp.jsp.helloworld.jspInit(helloworld.java:73)
at com.livesoftware.jsp.HttpJSPServlet.init(HttpJSPServlet.java:17)
at
com.livesoftware.jrun.JRunServletLoader.loadServlet(JRunServletLoader.java:8
7)
at com.livesoftware.jrun.JRun.getServlet(JRun.java:538)
at com.livesoftware.jrun.JRun.getServlet(JRun.java:494)
at
com.livesoftware.jrun.JRunServletContext.getServlet(JRunServletContext.java:
182)
at com.livesoftware.jsp.JSPServlet.service(JSPServlet.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
at com.livesoftware.jrun.JRun.runServlet(Compiled Code)
at
com.livesoftware.jrun.JRunGeneric.handleConnection(JRunGeneric.java:116)
at
com.livesoftware.jrun.JRunGeneric.handleProxyConnection(JRunGeneric.java:78)
at
com.livesoftware.jrun.service.proxy.JRunProxyServiceHandler.handleRequest(JR
unProxyServiceHandler.java:102)
at com.livesoftware.jrun.service.ThreadConfigHandler.run(Compiled
Code)
}
Wed Apr 19 04:34:51 PDT 2000: Running servlet
{ (Running servlet) javax.servlet.ServletException: JSP internal error
'jsp.jsp.helloworld' was not found
at com.livesoftware.jsp.JSPServlet.service(JSPServlet.java:115)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
at com.livesoftware.jrun.JRun.runServlet(Compiled Code)
at
com.livesoftware.jrun.JRunGeneric.handleConnection(JRunGeneric.java:116)
at
com.livesoftware.jrun.JRunGeneric.handleProxyConnection(JRunGeneric.java:78)
at
com.livesoftware.jrun.service.proxy.JRunProxyServiceHandler.handleRequest(JR
unProxyServiceHandler.java:102)
at com.livesoftware.jrun.service.ThreadConfigHandler.run(Compiled
Code)
}
bye,
Mohan
===========================================================================
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