Is jsp:plugin supported in weblogic 5.1 or 6.0?

I tried to compile %WEBLOGIC_ROOT%\examples\applets\phonebook12.jsp in WLS5.1.The generated servlet class(using a java decompiler to generate a source code or using anotepad to view the class file directly) still has <jsp:plugin> tag in it.jspc does NOT generate <object> or <embed> tag.weblogic6.0 jsp trouble shooting document says "If you see <jsp:plugin> ... anywhere in the (HTML) page, the syntax of the tag(original <jsp:plugin> tag) is not correct."For weblogic 5.1, this is the ONLY example jsp file containing <jsp:plugin> tag. In weblogic 6.0, there is NO jsp example which contains the <jsp:plugin> tag.I tried very simple jsp page with <jsp:plugin> tag (and a simple applet), I always see <jsp:plugin> tag in the generated HTML. Should it be <object> or <embed> tag??Could anyone tell me whether <jsp:plugin> is really supported in Weblogic5.1 and/or 6.0? If it is not supported yet or there are bugs to fix, please let me know, so I stop trying for now. I will appreciate greatly any help.ChenpingSoftware ArchitectBEZ Systems, Inc.
          

hi, i have the same problem in WL5.1
          At last i have to use <applet> tag
          "Chenping Ni" <[email protected]> wrote in message
          news:3aa01e55$[email protected]..
          > I tried to compile %WEBLOGIC_ROOT%\examples\applets\phonebook12.jsp in
          WLS5.1.The generated servlet class(using a java decompiler to generate a
          source code or using anotepad to view the class file directly) still has
          <jsp:plugin> tag in it.jspc does NOT generate <object> or <embed>
          tag.weblogic6.0 jsp trouble shooting document says "If you see <jsp:plugin>
          ... anywhere in the (HTML) page, the syntax of the tag(original <jsp:plugin>
          tag) is not correct."For weblogic 5.1, this is the ONLY example jsp file
          containing <jsp:plugin> tag. In weblogic 6.0, there is NO jsp example which
          contains the <jsp:plugin> tag.I tried very simple jsp page with <jsp:plugin>
          tag (and a simple applet), I always see <jsp:plugin> tag in the generated
          HTML. Should it be <object> or <embed> tag??Could anyone tell me whether
          <jsp:plugin> is really supported in Weblogic5.1 and/or 6.0? If it is not
          supported yet or there are bugs to fix, please let me know, so I stop trying
          for now. I will appreciate greatly any help.ChenpingSoftware ArchitectBEZ
          Systems, Inc.
          

Similar Messages

  • Is the jsp:plugin tag supported in Weblogic 5.1?

    I am running Weblogic 5.1 and I can't get the <jsp:pluging> tag to work.
              The server is not even translating the tag to anything usefull. When I do a
              'View Source' in the browser, the tag is exactly as I wrote it in the page.
              Is this feature supported in 5.1. I've tried the phonebook example and it
              doesn't work either. All my other JSP pages work just fine.
              Any help would be appreciated...
              Steven Carter
              Senior Software Developer
              VideoSpheres Inc.
              Office: 613-270-9646 Ext. 3025
              FAX: 613-271-9442
              e-mail:[email protected]
              

    Thanks for your response! Yes it was a typo in the message :). Would you have any idea why it is not working for me? Any special configuration required? A property I don't have correctly set in the properties file? I've tried the phonebook example shipped with the product and it doesn't work.
              "Kumar Allamraju" <[email protected]> wrote in message news:[email protected]..
              I never tested it myself. But i think we do support
              in 5.1 . Shouldn't it be <jsp:plugin>
              Was it a typo?
              Steven Carter wrote:
              I am running Weblogic 5.1 and I can't get the <jsp:pluging> tag to work.
              The server is not even translating the tag to anything usefull. When I do a
              'View Source' in the browser, the tag is exactly as I wrote it in the page.
              Is this feature supported in 5.1. I've tried the phonebook example and it
              doesn't work either. All my other JSP pages work just fine.
              Any help would be appreciated...
              Steven Carter
              Senior Software Developer
              VideoSpheres Inc.
              Office: 613-270-9646 Ext. 3025
              FAX: 613-271-9442
              e-mail:[email protected]
              [att1.html]
              

  • How can I return some values from an applet invoked by jsp:plugin tag

    My JSP is something like that:
    <html>
         <head>
                 <title> . . . </title>
         </head>
         <script>
              function getValueFromApplet()
                   var src = document.pinApplet.checkPin();
                   document.myForm.j_username.value = document.pinApplet.tokenizeName(src);
                   alert(document.myForm.j_username.value);
                   document.myForm.j_password.value = document.pinApplet.tokenizePassword(src);
                   alert(document.myForm.j_password.value);
         </script>
            <body>
                    <jsp:plugin type="applet"
                          code="PinApplet.class"
                       codebase="/idp"
                       name="pinApplet"
                                width="300"
                                height="300">
                         <jsp:fallback> Authentication Form is not supported by the browser </jsp:fallback>
              </jsp:plugin>
                    <form action="https://xxx.xxx.xxx"
                   name="myForm"
                   method="post" onSubmit="return getValueFromApplet()">
              <table>
                   <td><input type="submit" value="OK" >
                   <td><input type="hidden" id="j_username" name="j_username" value=""></td>
                   <td><input type="hidden" id="j_password" name="j_password" value=""></td>
              </table>
              </form>
         </body>checkPin() returns "alice--alice"
    tokenizeName() returns the first token: alice
    tokenizePassword() returns the second token: alice
    When I test the applet in the IDE, it returns the values properly, but not in the JSP invokation.

    evnafets wrote:
    javascript will not be executing on the server. You can rule that one out.
    Is your Applet being initialised correctly?
    Where have you got the classes for it? I think the applet doesn't need any kind of initialization, because it doesn't have any variables and all the process is made in the method called by onsubmit()
    The applet is composed only by one class and I'm totally sure that the class is placed in the correct place.
    evnafets wrote:
    I would say put in a couple more alerts - one before the call to the applet, one after.
    put some logging statements in your applet to see if it gets there.In the javascript, there are two alerts between the three calls to the applet. Where do you advise me to put more alerts?
    I don't understand what do you refer when you say "logging statements"
    I am going to test again the call to the applet in order to find some kind of code that can be invalid or that can make the function to "crash"

  • Can't get jsp:plugin to work with jb5

    I am trying to get a Swing applet compiled with JDK 1.3.1 to run on a jsp page using the <jsp:plugin> tag. At this stage it is a ridiculously simple applet (just some JLabels and JTextFields) but I can't get it to work. Here is the jsp code:
    <jsp:plugin type="applet" code="nz.astarte.ganttapplet.GanttApplet"
    codebase="./WEB-INF/classes" jreversion="1.3.1"
    width="400" height="175">
    <jsp:fallback>
    Plugin support could not be determined
    </jsp:fallback>
    </jsp:plugin>
    When I run it in the jb5 ide nothing shows up at all. OK, I figured the ide doesn't support the plugin, so leaving the ide running (which provides me with a web server) I go into IE (version 5) and enter the url to the page, which is http://localhost:8080/AppletCommunications/GanttApplet.jsp
    I get the page, and the gray box saying loading the applet but the plugin console tells me:
    load: class nz.astarte.ganttapplet.GanttApplet not found.
    java.lang.ClassNotFoundException: java.io.FileNotFoundException: http://localhost:8080/AppletCommunications/WEB-INF/classes/nz/astarte/ganttapplet/GanttApplet.class
    Why not? Under the directory where the jsp page is located is the directory structure WEB-INF/classes/nz/astarte/ganttapplet and in that directory is a GanttApplet.class file.
    I cannot understand why it isn't found. Do applets work with the jb5 ide? Is there something blindingly obvious that I've missed?
    Thanks, Andrew

    I appear to have solved it, but it is not clear to me why.
    I created a jar file of the required classes, and placed it in the same directory as the jsp file. My jsp code then looked like:
    <jsp:plugin type="applet" code="nz.astarte.ganttapplet.GanttApplet"
    codebase="."
    archive="GanttApplet.jar"
    jreversion="1.3.1"
    width="400" height="175">
    <jsp:fallback>
    Plugin support could not be determined
    </jsp:fallback>
    </jsp:plugin>
    This works fine. However I would expect to be able to move the jar file to some other directory, so that the jar file and jsp files are separated. I spent hours trying to work out why it wouldn't work when I had the jar
    file in WEB-INF/classes (under the jsp file directory) and had codebase="WEB-INF/classes/". In the end I put the jar file into a directory I defined separately called wotnot and defined codebase="wotnot/"
    Now it works. However I still think I should be able to have the jar file anywhere, including WEB-INF/classes and would love for someone to tell me why not!
    Thanks, Andrew

  • Versions supported by Weblogic 8.1

    Hi,
    I am very new to java and weblogic. I am about to install weblogic 8.1 Service Pack 5. I wants to know which are best version of jdk, servlet/jsp, ejb and tomcat supported by weblogic 8.1.
    Please help me ..............
    Thanks & Regards
    -Sandeep

    Hi Sandeep,
    WLS 8.1 supports the JSP 1.2 specification from Sun Microsystems. JSP 1.2 includes support for defining custom JSP tag extensions. (See Programming JSP Extensions)
    WLS 8.1 also supports the Servlet 2.3 specification from Sun Microsystems.
    WLS 8.1 supports the Enterprise Java Beans 1.1 and 2.0 specifications.
    Please refer to the following links for additional information
    http://e-docs.bea.com/wls/docs81/jsp/intro.html
    http://e-docs.bea.com/wls/docs81/upgrade/upgrade51to81.html
    Cheers
    -raj

  • Help for jsp plugin

    The applet is not showing image on applet when running through following url. Remember It runs by simple applet tag in html but not through <jsp:plugin tag in jsp file.
    the following two links for same inker.jar file.
    not ok not running=====>"http://mycgiserver.com/~aftmycgijsp/jhan3.jsp"
    ok runing==============>"http://mycgiserver.com/~aftmycgijsp/jhan3.html"
    a) Tum.class in inker.jar with Image.jpg contain following code:
    image2 = getImage(getCodeBase(),"Image.jpg");
    g.drawImage(image2,0,0,this);
    b) I am using following tags in my jsp file,
    jhan3.jsp
    <html>
    <head>
    <jsp:plugin type="applet" code="Tum.class" codebase="http://www.mycgiserver.com/~aftmycgijsp/applets/jhan" jreversion="1.2" archive="inker.jar" width="171" height="185" >
    <jsp:fallback>
    Plugin tag OBJECT or EMBED not supported by browser.
    </jsp:fallback>
    </jsp:plugin>
    </body>
    </html>
    c) and the source file in my browser appears for above jsp is translated as to me as,
    <html>
    <head>
    <object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" codebase="http://java.sun.com/products/plugin/1.2.2/jinstall-1_2_2-win.cab#Version=1,2,2,0" height="185" width="171">
    <param name="java_archive" value="inker.jar">
    <param name="java_codebase" value="http://www.mycgiserver.com/~aftmycgijsp/applets/jhan">
    <param name="java_code" value="Tum.class">
    <param name="type" value="application/x-java-applet;version=1.2">
    <comment><embed type="application/x-java-applet;version=1.2" codebase="http://java.sun.com/products/plugin/" height="185" width="171" java_archive="inker.jar" java_codebase="http://www.mycgiserver.com/~aftmycgijsp/applets/jhan" java_code="Tum.class">
    <noembed></comment>
    Plugin tag OBJECT or EMBED not supported by browser.
    </noembed></embed></object>
    </body>
    </html>
    please send any suggestions.

    This jsp:plugin tag should work. BUt the problem is that not showing image from jar file. but ok when used with html applet tag.

  • Jsp:plugin problem

    hi,
    i am using jsp:plugin to handle applets.when i am placing the applet class file in the same jsp files directory itself its working.but,when i am placing the applet class file in the WEB-INF/classes directory it couldn't point the class file and its not working.here is the tag,
    <jsp:plugin type="applet" code="SampleAppletExample" codebase="WEB-INF/classes" height="400" width="500">
    </jsp:plugin>
    what is the problem with the tag.how can i pont the class file from jsp:plugin tag.
    any one knows please help me.
    regards,
    j.mouli

    Hi,
    Please check your codebase parameter again. That part of the directory (web-inf\classes is not visible to client i.e he cann't access it. By default the classes stored under web-inf\classes directory can be accessed from the jsp.
    Please find the extract from apache site related to this.
    "WEB-INF/classes/ - This directory contains any Java class files (and associated resources) required for your application, including both servlet and non-servlet classes, that are not combined into JAR files. If your classes are organized into Java packages, you must reflect this in the directory hierarchy under WEB-INF/classes/. For example, a Java class named com.mycompany.mypackage.MyServlet would need to be stored in a file named WEB-INF/classes/com/mycompany/mypackage/MyServlet.class.
    For further information on this, please browse through the 'Standard Directory Layout' section at http://jakarta.apache.org/tomcat/tomcat-3.3-doc/appdev/deployment.html
    Hope this helps.
    Good Luck.
    Gayam.Srinivasa Reddy
    Developer Technical Support
    Sun Micro Sysytems
    http://www.sun.com/developers/support/

  • Jsp:plugin minimalist

    Hello
    I have a context "demo" with a class, "demoApplet", in a package AppletDemo and I am unclear/unable to configure the jsp:plugin. I can do the following, which doesnt work, grin.
    <jsp:plugin type="applet" code="demoApplet.class" codebase="http://localhost:8083/demo/WEB-INF/class/AppletDemo" jreversion="1.4.2"> </jsp:plugin>
    What is the minimal correct config necessary to launch the applet? tia.

    Hi,
    Please check your codebase parameter again. That part of the directory (web-inf\classes is not visible to client i.e he cann't access it. By default the classes stored under web-inf\classes directory can be accessed from the jsp.
    Please find the extract from apache site related to this.
    "WEB-INF/classes/ - This directory contains any Java class files (and associated resources) required for your application, including both servlet and non-servlet classes, that are not combined into JAR files. If your classes are organized into Java packages, you must reflect this in the directory hierarchy under WEB-INF/classes/. For example, a Java class named com.mycompany.mypackage.MyServlet would need to be stored in a file named WEB-INF/classes/com/mycompany/mypackage/MyServlet.class.
    For further information on this, please browse through the 'Standard Directory Layout' section at http://jakarta.apache.org/tomcat/tomcat-3.3-doc/appdev/deployment.html
    Hope this helps.
    Good Luck.
    Gayam.Srinivasa Reddy
    Developer Technical Support
    Sun Micro Sysytems
    http://www.sun.com/developers/support/

  • Jsp plugin for eclipse3.2

    Hi ,
    can anyone ll give the link for jsp plugin for eclipse3.2
    as i used with the 3.0 plugin it's not working.
    thank u in advance

    sashu_priya wrote:
    Can anybody give me URL to get plugin for eclipse3.2. .No, this is a Java support forum, not an Eclipse support forum.
    And by the way, you didn't even specify which plugin you want.

  • JSP plugin call for applet

    How do I call an applet with the JSP plugin call? The applet works OK when called from an HTML file. However, when called from a JSP file, the applet is not found.
    Here's the code:
    <jsp:plugin type="applet" code="SelectList.class" codebase="applet"
    archive="bc4jhtml.jar,datatags.jar,uixtags.jar,bc4juixtags.jar,ojsp.jar,ojsputil.jar,oc4j.jar,servlet.jar,ojc.jar,xmlparserv2.jar,regexp.jar,share.jar,uix2.jar,xmlcomp.jar,jdevrt.jar,runtime12.jar,bc4jmt.jar,collections.jar,bc4jct.jar,jndi.jar,classes12.jar,nls_charset12.jar,bc4jimdomains.jar,ordim.jar,ordhttp.jar,jdevcm.jar,bc4jdomorcl.jar,bc4jdatum.jar,activation.jar,jcert.jar,jnet.jar,jta.jar,mail.jar,ejb.jar,jaxp.jar,jdbc.jar,jaas.jar,jsse.jar,bc4jui.jar,bigraphbean.jar,LW_PfjBean.jar"
    jreversion="1.2" width="1000" height="360" >
    <jsp:params>
    <jsp:param name="test" value="This is a test." />
    </jsp:params>
    <jsp:fallback>
    You need to install the Java plugin on your web browser to run this applet.
    </jsp:fallback>
    </jsp:plugin>

    You really don't need to put all the jar files in your archive list.
    Most likely, you just need to put the jar that contains the applet.
    And, few more dependencies jar files.
    Here is some sample code for your reference:
    <jsp:plugin type="applet" code="Clock2.class" codebase="applet" jreversion="1.2"
    width="160" height="150" >
    <jsp:fallback>
    Plugin tag OBJECT or EMBED not supported by browser.
    </jsp:fallback>
    </jsp:plugin>
    code attribute points to a class file "Clock2.class"
    under the directory under codebase attribute "applet"
    You may want to take a look into the HTML / JSP document about
    how the plugin tag works in HTML / JSP.

  • Forwarding JSP from NSAPI to WebLogic

    Does anyone know what the correct syntax is to forward a JSP from the
              NSAPI plugin to to WebLogic?
              I need to find out how it's coded in the obj.conf file for both single
              server and clustered servers.
              The examples in the WebLogic documentation does not seem to be working
              for me.
              Thanks
              Paul S. Burry
              Chief Technical Officer,
              Serapeion Technologies
              Voice: +1-415-350-0902
              Fax: +1-415-934-0747
              E-mail: [email protected]
              E-mail Pager: [email protected]
              

    In obj.conf:
              Service method="(GET|HEAD|POST|PUT)" type="text/jsp" fn="wl-proxy"
              WebLogicHost="hostname" WebLogicPort="7001"
              In file mime.types:
              type=text/jsp exts=jsp
              Robert Patrick <[email protected]> wrote in message
              news:[email protected]..
              > I have successfully used the ppath option with a pattern of "*.jsp" with
              > both single and clustered servers...
              >
              > Hope this helps,
              > Robert
              >
              > Paul Burry wrote:
              >
              > > Does anyone know what the correct syntax is to forward a JSP from the
              > > NSAPI plugin to to WebLogic?
              > > I need to find out how it's coded in the obj.conf file for both single
              > > server and clustered servers.
              > > The examples in the WebLogic documentation does not seem to be working
              > > for me.
              > >
              > > Thanks
              > > --
              > > Paul S. Burry
              > > Chief Technical Officer,
              > > Serapeion Technologies
              > > Voice: +1-415-350-0902
              > > Fax: +1-415-934-0747
              > > E-mail: [email protected]
              > > E-mail Pager: [email protected]
              >
              

  • Overiding classid/type on using jsp:plugin

    Is there a way to specify classid (IE and netscape 6) and type (Netscape4.x)
              when using tage <jsp:plugin/>
              I need to override the classid and type data generated by the weblogic as
              our applet is sensitive to the JRE version.
              <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" ......... >
              </OBJECT>
              <EMBED type="application/x-java-applet;version=1.3" ..... >
              </EMBED>
              Any help is appreciated.
              Thanks in advance,
              _Jp
              

    Yeah sorry. I started with just the java command and it crashed. So I was trying iterations of commands. I'm thinking that because it's an XSL file that has the html and xml format commands in it, which is then applied against (or called from) the xml data file (in the header) that it fails (with a can't render error).
    I tested it straight up in a jsp file and it returns properly. Any other ideas? Maybe not the best forum but I've always got good answers here. =)

  • Chinese Enabled Support for Weblogic 4.5.1 ???

              Hello!
              I tried to show Chinese words by modifying HelloWorld.jsp
              <%out.print("<p><b>HellollWorld!</b>");%>
              ^^^^^^ -> Chinese Words
              but it couldnot show those Chinese Words correctly while viewing it.
              Hello$H$HWorld! --> the results
              I wonder whether Weblogic 4.5.1 supports Chinese?
              If yes, can anyone tell me how to do it?
              thanks !
              Allen
              

    Allen,
              I do not know 4.5.1, but this works for 5.1: Did you set the proper
              content type? Try to add something like <jsp:directive.page
              contentType="text/html; charset=UTF-8"/>, adjusted to the encoding you
              actually use.
              Daniel
              -----Original Message-----
              From: Allen [mailto:[email protected]]
              Posted At: Monday, October 16, 2000 8:32 AM
              Posted To: jsp
              Conversation: Chinese Enabled Support for Weblogic 4.5.1 ???
              Subject: Chinese Enabled Support for Weblogic 4.5.1 ???
              Hello!
              I tried to show Chinese words by modifying HelloWorld.jsp
              <%out.print("<p><b>HellollWorld!</b>");%>
              ^^^^^^ -> Chinese Words
              but it couldnot show those Chinese Words correctly while viewing it.
              Hello$H$HWorld! --> the results
              I wonder whether Weblogic 4.5.1 supports Chinese?
              If yes, can anyone tell me how to do it?
              thanks !
              Allen
              

  • How to deploy a JSP with jsp:plugin with applet type?

    Hi,
    I am a new comer for JSP and when to try to a simple JSP with plugin for applet. Following is part of my JSP script:
    <jsp:plugin type="applet" code="DigitalClock" align="center" height="25" width="300"
    >
         <jsp:params>
              <jsp:param name="language" value="<%=request.getLocale().getLanguage()%>" />
              <jsp:param name="country" value="<%=request.getLocale().getCountry()%>" />
              <jsp:param name="bgcolor" value="FFFFFF" />
              <jsp:param name="fgcolor" value="CC0066" />
         </jsp:params>
              <jsp:fallback>
              <p>Unable to start plugin.</p>
         </jsp:fallback>
    </jsp:plugin>
    ===========
    And Java plugin tell me that can't find DigitalClock class. I want to ask how to deply this JSP using deploytool.
    Thanks,
    Wise

    Hi
    It should be in such a way,
    The Jsp:param is similar to PARAM used in Applet.
    <jsp:plugin type="applet"
    code="MyApplet.class"
    width="475" height="350"
    <jsp:params>
    <jsp:param name = "PARAM1" value="VALUE1" />
    </jsp:params>
    </jsp:plugin>
    jsp:fallback Element
    It provides alternate text to browsers that do not Support OBJECT or EMBED. You can use this element in the same way as you provide alternate text in your applet.
    <jsp:fallback>
    <b> Error: This example requires java </b>
    </jsp:fallback>
    </jsp:plugin>
    I hope this will help you.
    Thanks
    Bakrudeen
    Technical Support Engineer
    Sun MicroSystems Inc, India

  • Expressions not evaluating properly in jsp:plugin tag

    Hi there, running OC4J as Oracle9iAS (1.0.2.2.1)
    In the JSP1.1 spec dynamic expressions in the jsp:plugin <param> tag are clearly specified as below:
    <jsp:params>
    [ <jsp:param name="parameterName" value="{parameterValue | <%= expression %>}" /> ]+ </jsp:params>
    Unfortunately, attempting this in OC4J, the expression is simply displayed as a static String, for example the following JSP source:
         <jsp:params>
              <jsp:param name="rootSubAssembly" value="<%=rootSubAssembly%>" />
         </jsp:params>
    Would output "<%=rootSubAssembly%>" as the parameter value, rather than the dynamic value specified in the JSP above.
    Any ideas? We'd like to benefit from using the plugin tag over object/applet if at all possible.

    Hi there, running OC4J as Oracle9iAS (1.0.2.2.1)
    In the JSP1.1 spec dynamic expressions in the jsp:plugin <param> tag are clearly specified as below:
    <jsp:params>
    [ <jsp:param name="parameterName" value="{parameterValue | <%= expression %>}" /> ]+ </jsp:params>
    Unfortunately, attempting this in OC4J, the expression is simply displayed as a static String, for example the following JSP source:
         <jsp:params>
              <jsp:param name="rootSubAssembly" value="<%=rootSubAssembly%>" />
         </jsp:params>
    Would output "<%=rootSubAssembly%>" as the parameter value, rather than the dynamic value specified in the JSP above.
    Any ideas? We'd like to benefit from using the plugin tag over object/applet if at all possible.

Maybe you are looking for