Need javax.el package

hi there,
currently, I use JDK 1.5_08, and update my web application to use JSF1.2. As I understand, javax.el package is part of Java EE 5 SDK. but I don't want to install EE 5 SDK.
where can I get the jar of javax.el package?
Many thanks,
lluo

javax.el is a part of JavaEE 5. So, Java EE 5 SDK is a right place where you can get it. However, do not be so optimistic. Taking this package will force you to take the rest. If you do not want to install Java EE SDK , but want to use JSF 1.2, only one way to go is using facelets.
If you have existing working application and want to migrate it to JSF1.2+Facelets, it might be a challenge. I mean replacing jsp with xhtml.
Working template for JSF1.2+Facelets: http://blog.exadel.com/?p=23

Similar Messages

  • Need javax.media package

    Hi.. Everyone
    where do i get this javax.media package ? will it not be available with jdk?
    Thanks in advance.

    Some of it is included with JMF...you have to install JMF specificlly to have access to the javax.media classes that JMF uses...

  • Error when using javax.script package

    Hi
    I want to call a javascript method from a .js file from .java class.
    when i searched, i came to understand that using jdk1.6 i can use javax.script package tht provide me what i needed.
    using the reply i got from i earlier post, i tried one example.
    public void show() {
    ScriptEngineManager engineMgr = new ScriptEngineManager();
    ScriptEngine engine= engineMgr.getEngineByName("JavaScript");
    try {
    engine.eval(new FileReader("D:/ShowScript.js"));
    Invocable invocableEngine = (Invocable) engine;
    //show_message is my function in ShowScript.js file
    invocableEngine.invokeFunction("show_message",null);
    } catch (Exception e) {
    e.printStackTrace();
    ShowScript.js
    function show_message()
    println("===> hi");
    alert("hi");
    When i execute my program, im getting the following error
    javax.script.ScriptException: sun.org.mozilla.javascript.internal.EcmaError: ReferenceError: "alert" is not defined. ( #8) in at line number 8
    at com.sun.script.javascript.RhinoScriptEngine.invoke(RhinoScriptEngine.java:184)
    at com.sun.script.javascript.RhinoScriptEngine.invokeFunction(RhinoScriptEngine.java:142)
    at testbuiltin.backing.Show_alert.show(Show_alert.java:81)
    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:597)
    at com.sun.el.parser.AstValue.invoke(AstValue.java:151)
    at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
    When i remove the alert() from the js file, the println is working. But what i neede is the alert.
    Can anyone plz help me to solve this problem.

    As you're talking about "backing beans", are you using JSF?
    After all, this is definitely not the way to let Java and JS interact with each other. Java runs at the server side. JS runs at the client side. Java can write JS code to the response, but definitely cannot call it. JS can access the HTML DOM and invoke requests to the server (form.submit() and AJAX and so on) and send parameters along the request, but definitely cannot call Java classes and methods independently. Nothing more and nothing less than that.

  • Error using javax.mail package

    Hi,
    I have included the package javax.mail.* in my code.I have downloaded
    jaf 1.0.2 and javamail 1.1.3 from the Sun Microsystems website.
    When i try to compile my code i get the error message:
    com/voxspectrum/ccvox/EmailServer.java:55: cannot resolve symbol
    symbol : class MimeMessage
    location: class com.voxspectrum.ccvox.EmailServer
    javax.mail.Message msg = new MimeMessage(session);
    I am using JDK ver 1.3.1_02. What should i set my path and classpath as, if i am using javax.mail package?
    Please could you help me out with this problem!

    Hi Nisha
    You need to include the path to the mail.jar and activation.jar files in your classpath.
    How you do it depends on the OS you are running on
    in Windows 95 /98 the easiest way is to edit the autoexec.bat file and add the settings to your already existing classpath statement i.e.
    set CLASSPATH=%CLASSPATH%;C:\richard\javamail-1.3\mail.jar C:\richard\jaf-1.0.2\activation.jar
    (excuse the word wrapping) then reboot
    on Linux / Solaris edit the .profile file for your user and set the CLASSPATH variable to
    CLASSPATH=$CLASSPATH:<pathtofile>/mail.jar:<pathtofile>/activation.jar
    export CLASSPATH
    and that should do it
    Hope this helps

  • Javax.servlet package

    hi i am using netbeans but i want to deploy some servlets in my mobile application but i am getting problem in accessing javax.servlet package. can anyone tell me where can i get this one. my application is stuck now ......plz reply me fast...... i search a lot i got the specs of it but not the api.

    I wonder what you're trying to do.
    In my case, I have installed Tomcat 5.0. This installation included a jar file containing the different servlet classes I need to develop servlets. This jar file is in the folder C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib.
    I did not need to move the jar files from Tomcat to the folder of my J2SDK.
    But I had to add en environment variable under Windows XP, namely CATALINA_HOME to let the computer know where the folder of Tomcat was. With this variable, the jar file containing the classes for servlet programming can be found.

  • How do I get the javax.servlet package?

    I have a simple question. I downloaded the JAVA platform Standard Edition SDK 1.6.0 and find that it doesn't have the javax.servlet package? From where can I get it and how to install and configure?

    hi,
    you don't have servlet in J2SE... you can get it
    from J2EE ... download the latest J2EE .. the
    package is available in j2ee.jar file..
    ou can download it from:
    http://java.sun.com/javaee/downloads/index.jsp
    -- Abdel Raoof Olakara
    http://olakara.googlepages.com
    You are quite wrong my friend... Servlets don't depend on any J2EE container, the only thing you need is a J2SE edition... check this:
    http://en.wikipedia.org/wiki/Java_Servlet
    MeTitus

  • I want javax.mail package

    Hi all,
    Please tell me the location where I need to download the javax.mail package.
    Thanks
    Anand

    http://java.sun.com/products/javamail/index.html

  • Where are javax.* packages?

    Where are the javax.* packages, like javax.servlet? Are they built-in components of J2SE API? Or must I download and install them separately?
    And do I need to set CLASSPATH to point to these .jar files?
    Thank you!

    many of the javax.* packages are included in J2SE. However the javax.servlet packages are part of J2EE which is a separate download.
    refer the the API's to know which are where.

  • Javax.security package ?? Key

    Hi..
    It's my first time to mess around with the
    javax.crypto package. this is what i've done till now..
    /CODE/
    import java.security.AlgorithmParameters;
    import javax.crypto.*;
    try
    Cipher cipher = Cipher.getInstance("DES");
    cipher.init(Cipher.ENCRYPT_MODE, ---------);
    catch(NoSuchPaddingException Padding_ex)
    catch(java.security.NoSuchAlgorithmException Algo_ex)
    /CODE/
    Now while initializing the Cipher object what should be put in the Key parameter ???
    Do i have to create one, a key generator, and if yes how ?? I'm doing this for the purpose of encrypting a String that iv'e entered then decrypt it ...

    you need to create a Key first i.e
    so in the method you will pass key of type SecretKey
    Create a key and store it in a file as below
    ==================================
    Provider sunJce = new com.sun.crypto.provider.SunJCE();
    Security.addProvider(sunJce);
    //create key generator
    KeyGenerator generator = KeyGenerator.getInstance(keyType);
    generator.init(168, new SecureRandom()); //using 168 bit keys; key size must be either 112 or 168
    //generate key
    Key key = generator.generateKey();
    //write key to file
    ObjectOutputStream outStream = new ObjectOutputStream(new FileOutputStream(workingFile.getCanonicalPath()));
    outStream.writeObject(key);
    outStream.close();

  • Javax.ejb package

    Hi
    I am new to java, i just want to understand this, does the javax.ejb package come with J2EE jar file or must i download an SDK of some sort to have it my environment? I am currently using NetBeans 5.5 and getting package does not exist error.
    Someone please clarify
    thank you

    Actually the javax.ejb package is not present ordinary J2SE.
    It's present in the J2EE v1.4. You can download this from http://java.sun.com/j2ee/1.4/download.html.
    The javax.ejb is present in the j2ee.jar which is present in C:\Sun\AppServer\lib\j2ee.jar (installed in C: drive).
    Before compiling, classpath needs to declared either in environmental variables or in the command prompt.
    classpath: C:\Sun\AppServer\lib\j2ee.jar;C:\Sun\AppServer\bin;
    Then your javax.ejb package will be included.

  • Javax comm package

    Do I need to download the javax comm package or what. If yes , what is url for downloading

    What platform are you using, javax.comm is easy on Windows and Solaris http://java.sun.com/products/javacomm/downloads/index.html. On Linux you will need a third party driver from http://www.rxtx.org/.

  • Javax.naming package in j2se but not j2ee

    Hello,
    From on the documentation I see so far the javax.naming package exists in the J2SE. Unfortunately I d/l and installed J2EE. Shoudln't J2EE be a superset of j2se? Or the the packages just renamed to something else in it?

    Yes j2ee is a superset to jj2se. j2se contains all the standard packages that you need for writing java apps.

  • Development kit which includes the javax.servlet package

    Which java development kit(s) contain the javax.servlet package.v I can't seem to find one. Thanks

    You might want to ask this on the Java forum - but if you want to run a servlet you need a Java EE server - something like Glassfish or WebLogic or Tomcat.
    The Java forums are here:
    https://forums.oracle.com/forums/category.jspa?categoryID=285
    Right now you are in the JDeveloper forum - and by the way, if you download JDeveloper you'll get everything you need to develop and test run your servlet.

  • I don't need the full package. Is there an easy way to change from the full to photographer's package?

    I'm trying to save money and realize that I don't need the full package. I wanted to just change over to photographer's pack with just Lightroom and Photoshop but I seem to be missing the way to do that through my account. Is there an easier way?

    http://helpx.adobe.com/x-productkb/policy-pricing/return-cancel-or-change-order.html

  • Import javax.mail package does not exists

    Hi,
    when i tried to compile the source code for email using jdk1.3.1, it compiled fine. but when i tried to compile using jdk1.4.., it had the following errors such as
    import javax.mail package does not exists,
    import javax.mail.internet package does not exists
    package javax.activation does not exist
    Is it because of the jdk version problem???
    Pls help me

    I have the same problem with javax.ejb
    Now i've downloaded and installed the j2ee and set my classpath to the j2ee.jar. I've had to make a new path cause i'm running XP.
    This doesn't work.
    to compile it in Jcreator or JBuilder I can make it work by adding this package (j2ee.jar) in the project settings - required libraries.
    But I have to do this for every project again and again.
    I can make it work but i thougt the classpath would be enough ??
    Bassegio

Maybe you are looking for

  • Adobe Camera Raw 7.2 for Photoshop Elements 10?

    I have a new camera (Sony RX100) and it's RAW fies are not supported by Adobe until ACR 7.2.  My version of PSE 10 has ACR 6.7. I spent the morning trying to figure out if I can install ACR 7.2 into PSE10.  What should happen is that I click on Help>

  • Satellite L755 - Error when uninstalling Bluetooth Stack

    _*In brief_:* when i am trying to unistall the Bluetooth stack I get the error 'Error applying transforms. Verify that the specified transform paths are valid' *_Details*:_ I Have Satellite L755 . It comes with Windows 7. I formatted it and Installed

  • File disappears in finder on click, but i can see in list view

    today i had a strange thing for the first time (10.9.1), i clicked on several files in the finder, and within a fraction of a second the file was gone. (on the click) i searched for them, and no results, but i went into list view (home>desktop>"listv

  • Two sound outputs on one box

    Is it possible for one to configure a system to use two sound outputs: 1) HDMI and 2) standard RCA stereo out?  My goal would be to have the main system sound use the HDMI (applications like mplayer for example) and to also have mpd to use the standa

  • The plugin container crashes if the computer goes into sleep mode or screensaver mode

    it seems everytime I put my computer into sleep mode or if it goes into screensaver mode the plugin container crashes