File access in jsp

hi
i am developing a web appln in jsp which accesses the client machine n access the files and folders in his machine....is this possible or will i have to create a signed applet to access those files

You indeed need a full clientside program for this, such as a signed applet.

Similar Messages

  • Writing Files Access Denied JSP+IAS+W2K

    Hi.
    I'm trying to write a file from a JSP to a mapped share unit between a W2K Server (i: as mapped unit) with IAS and a W2K Server with Oracle (c:\loadDir as deposit unit which is mapped by the IAS server) . I already bring all security grants but when the JSP tries to write to the I: unit it answer "access denied".
    both machines are in the same workgroup but not inside a domain.
    tks for the help.

    I finally find the solutions in a TAR published in metalink. The problem is that the service of IAS runs as a user SYSTEM, this user don't have permissions on the other machine to write.
    The solution is to make the service to start as another user that as the enough permissions to write.
    hope this help some one else.

  • Error while accessing a jsp file

              hi all,
              i am working on weblogic5.1 under solaris platform.
              my folder hierarchy is as follows weblogic_home/classes/weblogic/sun1/sun2.
              i have an import statement as follows import sun1.sun2.* in my JSP file.
              when i access this jsp file from my browser i have an error.
              the error is import package sun1 not found.
              i have set my classpath correctly(i feel so)...
              can anybody help me with this problem.
              if there is some fault in my classpath please tell me where exactly i should set my classpath for jsp files.
              thanx in advance.
              Prasad.
              

              Hi,
              1) what is your "weblogic.httpd.documentRoot=????"
              2) if it is "public_html" put your jsp there.
              Joe
              "Prasad" <[email protected]> wrote:
              >
              >hi all,
              >
              >i am working on weblogic5.1 under solaris platform.
              >
              >my folder hierarchy is as follows weblogic_home/classes/weblogic/sun1/sun2.
              >
              >i have an import statement as follows import sun1.sun2.* in my JSP file.
              >
              >when i access this jsp file from my browser i have an error.
              >
              >the error is import package sun1 not found.
              >
              >i have set my classpath correctly(i feel so)...
              >
              >can anybody help me with this problem.
              >
              >if there is some fault in my classpath please tell me where exactly i should set my classpath for jsp files.
              >
              >thanx in advance.
              >Prasad.
              

  • Problem with file access in other computer in jsp

    I have problem with file accessing in other computer in jsp.
    The follow code
    File folder=new File("Z:"+File.separator+"sharefolder");//Z is a net share driver
    File[] files=folder.listFiles();
    System.out.println("test");
    System.out.println("length="+files.length);
    will throw exception at the second print.
    but it works well in main funtion.
    Is anybody know what is the problem.
    JSP works on windows2003 server,tomcat 5.0.28 JDK1.4 net share folder on windows2000 server

    no error code for this.But when I start tomcat I get the follow error.
    java.lang.IllegalArgumentException: Document base Z:\ does not exist or is not a readable directory
         at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:138)
         at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:3910)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4138)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
         at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:903)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216)
         at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256)
         at org.apache.commons.digester.Rule.end(Rule.java:276)
         at org.apache.commons.digester.Digester.endElement(Digester.java:1058)
         at org.apache.catalina.util.CatalinaDigester.endElement(CatalinaDigester.java:76)
         at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
         at org.apache.commons.digester.Digester.parse(Digester.java:1567)
         at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:488)
         at org.apache.catalina.core.StandardHost.install(StandardHost.java:863)
         at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:483)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
         at org.apache.catalina.core.StandardService.start(StandardService.java:480)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
    Jun 5, 2006 6:55:41 PM org.apache.catalina.core.StandardContext start
    SEVERE: Error in resourceStart()
    Jun 5, 2006 6:55:41 PM org.apache.catalina.core.StandardContext start
    SEVERE: Error getConfigured
    Jun 5, 2006 6:55:41 PM org.apache.catalina.core.StandardContext start
    SEVERE: Context startup failed due to previous errors
    Jun 5, 2006 6:55:41 PM org.apache.catalina.core.StandardContext start
    SEVERE: Exception during cleanup after start failed
    LifecycleException: Container StandardContext[msgstore] has not been started
         at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4466)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4371)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
         at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:903)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216)
         at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256)
         at org.apache.commons.digester.Rule.end(Rule.java:276)
         at org.apache.commons.digester.Digester.endElement(Digester.java:1058)
         at org.apache.catalina.util.CatalinaDigester.endElement(CatalinaDigester.java:76)
         at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
         at org.apache.commons.digester.Digester.parse(Digester.java:1567)
         at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:488)
         at org.apache.catalina.core.StandardHost.install(StandardHost.java:863)
         at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:483)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
         at org.apache.catalina.core.StandardService.start(StandardService.java:480)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)

  • Accessing a JSP file via context URL

    Hi experts ,
    i have a requirement to access a jsp file via context url i.e. /irj/... abc.jsp , can  any one please suggest how to access this , i have a jsp dynpage component in the pagelet folder i have a jsp page, that im not able to access via the context url , and the images that are there in the image folder are accessible via context path i.e /irj/.. abc.gif etc.
    can any one please suggest a solution .
    Regards
    Govardan Raj

              Hi,
              1) what is your "weblogic.httpd.documentRoot=????"
              2) if it is "public_html" put your jsp there.
              Joe
              "Prasad" <[email protected]> wrote:
              >
              >hi all,
              >
              >i am working on weblogic5.1 under solaris platform.
              >
              >my folder hierarchy is as follows weblogic_home/classes/weblogic/sun1/sun2.
              >
              >i have an import statement as follows import sun1.sun2.* in my JSP file.
              >
              >when i access this jsp file from my browser i have an error.
              >
              >the error is import package sun1 not found.
              >
              >i have set my classpath correctly(i feel so)...
              >
              >can anybody help me with this problem.
              >
              >if there is some fault in my classpath please tell me where exactly i should set my classpath for jsp files.
              >
              >thanx in advance.
              >Prasad.
              

  • 500 error while accessing a jsp using tiles tags

    Hi all,
    when im trying to access a jsp which makes use of tiles tags, im getting the following error.
    status 500:
    org.apache.jasper.JasperException: The absolute uri: http://struts.apache.org/tags-tiles cannot be resolved in either web.xml or the jar files deployed with this application
    what might be the problem?
    Thanks in advance.

    asp,
    1. this is a java forum, and that's a jsp/struts question... you'll do better on the jsp forum.... or maybe a struts forum.
    2. it can't find http://struts.apache.org/tags-tiles ... but you knew that already didn't you... and where in the wide world might that uri be? maybe in struts generated xml? maybe in the schema declatation?
    keith.

  • How to call a class file in a jsp without deploying anything in j2ee

    Hi,
    I am new in J2EE. I have some jsps, which I configured using web.properties(documentroot=c:/jsp/). I am able to get
    those pages by the web browser. I have some import statements in some jsps, now I
    am trying to access those page but it is failing, it says
    org.apache.jasper.JasperException: Unable to compile class for
    JSPD:\j2sdkee1.3\repository\pradip\web\_0002fLogin_0002ejspLogin_jsp_0.java:1:
    Class com.gui.UPMGuiGlobalConstants not found in import.
    import com.gui.UPMGuiGlobalConstants;
    Actually I have not deployed any class file or jsps.. Now my question is can I access
    these jsps without deploying anything, like can I put my .jar file in any j2ee
    directory(like lib or anywhere else, I already tried after putting in /lib) and restart the
    j2ee and use it. So how can I call a class file from a jsp without any kind of
    deployment?
    Please send me the reply as soon as possible.
    Regds,
    Pradip

    After you put the jar containing the class to import into the WEB-INF/lib directory, you still need to include it in the jsp.
    Putting the jar into the lib dir, will make it available to the vm, but as in any other java class, you still need to import it into the class, that the jsp will be compiled into.
    And you do that by putting
    <%@page import="com.gui.UPMGuiGlobalConstants" %>somewhere near the top of your jsp. (well you don't need to put it there, but it good style ;)
    That should do it.

  • 500 error while trying to access a jsp which makes use of tiles tags

    Hi all,
    when im trying to access a jsp which makes use of tiles tags, im getting the following error.
    status 500:
    org.apache.jasper.JasperException: The absolute uri: http://struts.apache.org/tags-tiles cannot be resolved in either web.xml or the jar files deployed with this application
    what might be the problem?
    Thanks in advance.

    Hi all,
    sorry...got the reason for the above error..missed to include the tld file in WEB-INF.

  • Read from a file into a JSP

    Okay, so I'm trying to make a JSP for an ePortfolio for school. I'm setting it up so that if a user clicks on a link to one of my papers, the JSP (text.jsp) takes the parameter "ptitle" from the get or post request and retrieves the appropriate text from a pure text file stored in the same folder. (I know, I know, I should use a DB (?), but I'm pretty sure I don't have access right now.) Also, since this is heavy on the Java and light on the HTML, I'd like to use a servlet, but I'm not sure about my host's capabilities. So as a test, I've set up the following:
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
       "http://www.w3.org/TR/html4/loose.dtd">
    <html>
        <%@ page import="java.io.*" %>
        <%   
            // String pageTitle = pageContext.getAttribute("ptitle");
            String pageTitle = "text.txt"; // this file is in the same folder as text.jsp
            String pageText = "If you are seeing this text, contact the webmaster at...";
            File pageFile = new File(pageTitle); // trying to wrap this file... I haven't worked with files like this much; if this is poorly done, let me know
            FileReader pageReader; // I'm using this for supposed convenience; I'll later change to Channels, I think
            char[] pageBuffer;
            StringBuffer pageTextBuffer;
            if(!pageFile.exists()) {
        %>
        <jsp:forward page="error.jsp">
            <jsp:param name="error" value="Page not found"/>
        </jsp:forward>
        <%
            else {
                pageReader = new FileReader(pageFile);
                pageBuffer = new char[100];
                pageTextBuffer = new StringBuffer();
                while(pageReader.read(pageBuffer) > (75)) { // better way?
                    pageTextBuffer.append(pageBuffer);
                out.println(pageTextBuffer); // test the output; I get the error page. Oddly enough, it says that the value for parameter "error" is null (from the session and pageContext).
        %>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <title>JSP Page</title>
        </head>
        <body>
            <h1>JSP Page</h1>
        </body>
    </html>As commented, I get the error page. (It's wierd, because it has the text from the error page, but the URL is still ".../text.jsp" which is cool. Is the problem with the file reader, the JSP, or something else? Thanks for the help.
    theAmerican

    I would suggest not to use plain old io - quite evil and works quite unpredictably in web applications.
    File paths in web apps should always be relative to the context root of your application rather than paths relative to the location of the file in the hard disk.
    There are 2 ways to go about this - the inputstream linking to the file can be retrieved in 2 ways.
    1. Using the ServletContext object's getResourceAsStream("filepath") method. The 'filepath' here is always relative to the root of your web application (which in turn is denoted by / ).
    Thus if your file is stored in a folder called myFiles, which in turn is under your root folder (i.e, on the same level as WEB-INF) and your file is called, say, 'myText.txt', here's how you would obtain an InputStream object.
    InputStream is = application.getResourceAsStream("/myFiles/myText.txt"); //in jsps
    or
    InputStream is = getServletContext().getResourceAsStream("/myFiles/myText.txt"); //in servlets2. Use the getResourceAsStream(filepath) method of the java.lang.Class object. This method picks up files as it picks up classes (i.e it searches the classpath). Now since the classes folder inside WEB-INF is by default included in the classpath, you will have to have your myFiles directory inside the classes folder. Then,
    InputStream is = this.getClass().getResourceAsStream("/myFiles/myText.txt"); //in both jsps and servletswould return you an InputStream to that file.
    Having got a handle to the InputStream using either #1 or #2, it's now a simple matter of wrapping up the streams for the 'read' functionality.
    StringBuffer pageTextBuffer = new StringBuffer();
    BufferedReader reader = new BufferedReader(new InputStreamReader(is)); //wrap your streams
    String eachLine = null;
    while((eachLine = reader.readLine()) != null){
            pageTextBuffer.append(eachLine);
    out.println(pageTextBuffer);cheers,
    ram.

  • I have a created a directory structure ias\ias-samples\myapps\src\docroot.In docroot folder i have a single jsp.i created a war file having that jsp,and ear file having the war file

    I deployed the ear file.Now i try calling http://localhost/myapps/test.jsp ??
    i'm i doing the right thing ?

    Hi,
    This is right provided you have installed the webserver & app server
    on the same machine and the port number for the web server is 80 by
    default.
    Regards
    Raj
    Arif Khan wrote:
    I have a created a directory structure
    ias\ias-samples\myapps\src\docroot.In docroot folder i have a single
    jsp.i created a war file having that jsp,and ear file having the war
    file
    I deployed the ear file.Now i try calling
    http://localhost/myapps/test.jsp ??
    i'm i doing the right thing ?
    Try our New Web Based Forum at http://softwareforum.sun.com
    Includes Access to our Product Knowledge Base!

  • Unable to open JSP files using Workshop JSP Editor 3.0

    Every time I try to open a JSP file in Workshop JSP Editor 3.0, I get the following error:
    Unable to create this part due to an internal error. Reason for the failure: Cannot open the specified document:
    null
    org.eclipse.ui.PartInitException: Cannot open the specified document:
    null
         at com.m7.wide.eclipse.jstudio.DynamicMultiPageEditor.A(Unknown Source)
         at com.m7.wide.eclipse.jstudio.DynamicMultiPageEditor.init(Unknown Source)
         at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:778)
         at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:596)
         at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:384)
         at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:552)
         at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:223)
         at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2362)
         at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2295)
         at org.eclipse.ui.internal.WorkbenchPage.access$9(WorkbenchPage.java:2287)
         at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2273)
         at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
         at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2268)
         at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2249)
         at org.eclipse.ui.ide.IDE.openEditor(IDE.java:371)
         at org.eclipse.ui.ide.IDE.openEditor(IDE.java:334)
         at org.eclipse.ui.actions.OpenFileAction.openFile(OpenFileAction.java:98)
         at org.eclipse.ui.actions.OpenSystemEditorAction.run(OpenSystemEditorAction.java:98)
         at org.eclipse.wst.common.navigator.internal.actions.ResourceOpenListener.open(ResourceOpenListener.java:58)
         at org.eclipse.wst.common.navigator.internal.views.extensions.CommonOpenService.open(CommonOpenService.java:63)
         at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:741)
         at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
         at org.eclipse.core.runtime.Platform.run(Platform.java:783)
         at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
         at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148)
         at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:739)
         at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:968)
         at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1067)
         at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:243)
         at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:238)
         at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:277)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
         at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
         at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
         at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
         at org.eclipse.core.launcher.Main.run(Main.java:973)
         at org.eclipse.core.launcher.Main.eclipse_main(Main.java:948)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.m7.installer.util.NitroxMain$1.run(NitroxMain.java:29)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    The jsp file is present in its directory, and the directory is not linked. Reinstalling BEA Workshop doesn't help. Any suggestions?

    Please post this question to the bea.workshop.developer.general newsgroup at http://newsgroups.bea.com/bea/forum.jspa?forumID=600000007
    Thanks
    Raj

  • Servlet failed with ServletException occurs the first time I try to access a jsp

    Can any one tell why this exception occurs the first time I try to
              access a jsp. After the first time it doesn't occur. This happens only
              on solaris platform.
              Thanks,
              Shankar.
              Fri Jul 28 15:02:51 PDT 2000:<I> <ListenThread> Adding address:
              192.168.0.36/192.168.0.36 to licensed client list
              Fri Jul 28 15:02:51 PDT 2000:<I> <ServletContext-General> file: init
              Fri Jul 28 15:02:55 PDT 2000:<I> <ServletContext-General> *.jsp: init
              Fri Jul 28 15:02:55 PDT 2000:<I> <ServletContext-General> *.jsp: param
              verbose initialized to: true
              Fri Jul 28 15:02:55 PDT 2000:<I> <ServletContext-General> *.jsp: param
              packagePrefix initialized to: jsp_servlet
              Fri Jul 28 15:02:55 PDT 2000:<I> <ServletContext-General> *.jsp: param
              compileCommand initialized to: /usr/bin/javac
              Fri Jul 28 15:02:55 PDT 2000:<I> <ServletContext-General> *.jsp: param
              srcCompiler initialized to weblogic.jspc
              Fri Jul 28 15:02:55 PDT 2000:<I> <ServletContext-General> *.jsp: param
              superclass initialized to null
              Fri Jul 28 15:02:55 PDT 2000:<I> <ServletContext-General> *.jsp: param
              workingDir initialized to: /space/shankar/weblogic/myserver/classfiles
              Fri Jul 28 15:02:55 PDT 2000:<I> <ServletContext-General> *.jsp: param
              pageCheckSeconds initialized to: 1
              Fri Jul 28 15:02:55 PDT 2000:<I> <ServletContext-General> *.jsp:
              initialization complete
              Fri Jul 28 15:02:55 PDT 2000:<E> <ServletContext-General> Servlet failed
              with ServletException
              [AddToMap: pattern=/login.jsp class=jsp_servlet.login]
              at java.lang.Throwable.fillInStackTrace(Native Method)
              at java.lang.Throwable.fillInStackTrace(Compiled Code)
              at java.lang.Throwable.<init>(Compiled Code)
              at java.lang.Exception.<init>(Compiled Code)
              at
              javax.servlet.ServletException.<init>(ServletException.java:88)
              at
              weblogic.servlet.jsp.AddToMapException.<init>(AddToMapException.java:14)
              at weblogic.servlet.JSPServlet.service(JSPServlet.java:118)
              at javax.servlet.http.HttpServlet.service(Compiled Code)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(Compiled Code)
              at
              weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled
              Code)
              at
              weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled
              Code)
              at
              weblogic.servlet.internal.ServletContextManager.invokeServlet(Compiled
              Code)
              at weblogic.socket.MuxableSocketHTTP.invokeServlet(Compiled
              Code)
              at weblogic.socket.MuxableSocketHTTP.execute(Compiled Code)
              at weblogic.kernel.ExecuteThread.run(Compiled Code)
              Fri Jul 28 15:02:55 PDT 2000:<I> <ServletContext-General> servletimages:
              init
              

    Try a different brand of discs.  Try restarting your computer.

  • Error in compiling: file javax\servlet\jsp\PageContext.class not found

    Hi,
    i'm getting an error when I'm trying to compile an java file. The error is as follows:
    cannot access javax.servlet.jsp.PageContext
    file javax\servlet\jsp\PageContext.class not found
    Isn't the javax package included in jdk? I've installed jdk 1.3.1_03 and j2re1.4.0_02. Shouldn't this PageContext.class be automatically loaded when i've installed jdk?
    I'm getting desperated! I've tried almost everything: i've changed the classpath, moved the directory of the java file I'm trying to compile over and over but i'm getting no success!
    Any help is very welcome!
    Thankx,
    Nuno.

    hmmm... i had a look and it seems that what you are trying to "import" is actually in a package... instead of import try:
    package javax.servlet.jsp;you may need to go download this "package" and complile it in the directory you are working in.
    my advice: try the above statement (which does compile for me), if it doesn't work, you will need to find the source code for this package and compile it just like you do any other source code.
    hope this helps.

  • Accessing a jsp from excel

    Hi,
    I have a jsp page in my weblogic server(version 9.2). It simply sets a session variable when the user visits the page for the first time. Now i am trying to access this jsp from a excel file(I am providing the URL of the page as a hyperlink). But the page is getting processed twice.
    For example in my jsp I have the following code:
    <%
    System.out.println("Initially "+session.getAttribute("var"));
    session.setAttribute("var","JAVA");
    System.out.println("After setting"+session.getAttribute("var"));
    %>
    When I access this page from excel it is printing the following in console:
    Initially null
    After settingJAVA
    Initially null
    After settingJAVA
    As you can see the statements are getting printed twice.
    Can any one explain the reason for such a behaviour?
    Edited by: gopi_3nath on Apr 3, 2008 4:35 AM

    Just the same as normal HTML
    In child window
    window.opener.parentfunctionname()

  • Not Working: BlackBerry Link Remote File Access Remove Old BlackBerry from BB ID

    I have: removed my blackberry q10 from blackberry link, wiped my q10, uninstalled and reinstalled blackberry link, have link version 1.1.1.32, blackberry q10 os version 10.1.0.2309 - which whenever I plug in the q10 after removing the device from link, says there is an os update, so I update it, and then it does nothing apart from rebooting the q10, or gives an error saying 'updates not available. Please check internet connection and retry.'.
    Also, I have Logout/login on blackberry link, I know my q10 is activated as I have purchased items from app world, and on the computer the app world site shows that I have a q10 when I sign in. I am using the same BBID and have changed the password on my q10 to see if that made a difference, then signed out and back into link on computer with updated password. I have administrator rights on my computer.
    I can access the q10 from my computer over the same wifi network, and it syncs files fine with wireless sync turned on. It is remote file access not giving the option to connect to my q10. 'BBID *email* isn't associated with a device running Blackberry 10 OS or an error occurred when trying to retrieve your information from the Blackberry ID servers.'
    The problem is that although I have the same blackberry id for link and my q10, no devices show up on the remote file access screen, and I cannot access my files on my computer from my q10, yet I can sync them on my computer over the wifi network. How can I enable Remote File Access?
    A problem could be that I have a Curve 9300 on my BB ID account, so if I could disable this (which I have no idea how to do after a lot of research), this might rectify why link cannot set up remote file access.
    What I haven't done is wiped my q10 and uninstalled all user data from link at the same time, as then I would have to manually reload everything on my q10.
    My q10 shows my computer in the settings\blackberry link\paired devices ,  but I 'cannot view files on *computer*'. Also, link does not show in the file manager. I set up my q10 as a permanent link not a one-off connection.

    No one cares because it's not a z10 (I know because I am having the same problem and no one knows how to fix it and no threads for q10 fix)
    Slàinte.
    Not all things are good.
    Not all things are evil.
    But with an open mind...
    You can see the difference.
    Knowledge is power.

Maybe you are looking for

  • Windows 7 64 bit will not recognise network adapter!

    Windows 7 64 bit will not recognise network adapter!

  • Help getting Solaris-X86 DNS working and set it up a server.

    Just got solaris 8 02/02 working on a spare machine. I am new to setting Solaris but determined to get to know it. Couple of questions: 1. I have assigned the machine a IP address and host ID. I can ping the machine OK. I can't get the DNS service to

  • Lost Album Artwork

    Does anyone know how to recover album artwork that was lost during an upgrade? They are still missing even when I try to retrieve it from the pull-down menu which always used to work.

  • Novice Navigation Woes

    Hey All! I am having a doozy here . . . pulling my hair out and wearing sack cloth and ashes . . . can anyone drop me a line? I am trying to make this navigation scheme for a new site. The .fla I am working in is the navigation.swf that will load int

  • Need a unix command

    Hi all, I just can't figure this out... I need a unix command that will backup any file matching a specific file extension AND the directory structure those files are in into a separate directory or volume. In other words, let's say that I have the f