4 Replies Latest reply on Nov 21, 2002 3:59 AM by mlindhout

    file upload (application object)

    didi

      To retrieve the path of my JSP page I used the implicit application object from the JSP context. But it always seems to be null.
      My jboss-3.0.3_tomcat-4.1.12 works fine. I packed this JSP into a .war file and deployed it to jboss/server/default/deploy.

      Does someone know why application == null is ? And more important: how I can solve this?

      Thanks in advance

        • 1. Re: file upload (application object)
          mlindhout

          Hi there,

          I tried to replicate your situation. I deployed the attached war in JBoss-3.0.2 with Jetty and the output was this --> My location is 'C:\Apps\JBoss\server\default\deploy\apptest.war'.

          I have to try it with Jboss-3.0.3-Tomcat-4.1.12, etc.

          Please standby.

          • 2. Re: file upload (application object)
            mlindhout

            I tried it with jboss-3.0.3_tomcat-4.1.12 too. Result:

            My location is 'D:\jboss-3.0.3_tomcat-4.1.12\server\default\deploy\apptest.war\'.

            • 3. Re: file upload (application object)
              didi

              Hi mlindhout!

              First of all: thank you for your replies. I downloaded your attach war file and deployed it to my Jboss installation. I got the following output:

              My location is 'null'.

              I am using JBoss on a SuSE linux 8.1 machine (not windows like you do). Could there be a problem with directory permissions? (Java 1.4.1)

              • 4. Re: file upload (application object)
                mlindhout

                Hi didi,

                I think so. My plan is to migrate to RedHat 7.1. I'll try it again. Please stand by.