I have a
JSP file that I use to read-write a local HTML file provided as an input by the user at runtime. The input html file could be at any path.
I use the following code to read the input file name:
... and the following code to read the file:
The JSP app works fine on the local server. I use NetBeans integrated Glassfish. When uploaded to WebLogic, it crashes after the user submits the input file name. The error message is quite vague "incident 126 created with problem key BEA-000000".
I don't have much exp with Java-JSP nor programming is my profession. At some forums with similar problems, members suggested that input file must be at context-root and the developer must configure the weblogic.xml to do that OR use ClassLoader.getSystemClassLoader.
As my knowledge is very limited, can some one help me with how to resolve the problem, that is read local files via JSP? your help is really appreciated.