Javascript allows setting of more variables? CP7

Hi,
I'm running CP7 and am just getting my feet wet with javascripting. Will javascript allow me to set more variables than I can through advanced actions? I am interested in trying to manipulate the quiz score vars that report to my LMS to customize some stuff. I want to change things like cpQuizPointsscored. Wondered if it would be possible through js, or is js limited by what it can get/set the same as the limitations withing advanced actions?
Thanks!
  Lori

You can do anything you want with any variable that is reported to the LMS as long as you "hijack" the functions and block Captivate from reporting. You would need to add a function that you use the call any scoring functions, set a boolean variable and if that variable is not true, return out of the function, thus disabling Captivate from reporting the score.
Based on how you set up the SCORM reporting in your Quiz Settings, Captivate will report to the LMS what you tell it to report. You can also turn off any reporting and make all of the SCORM call through JavaScript yourself. You can include the sormdriver.js file to your output html file after publishing without any reporting.
It's much easier if you create your own SCORM file to make any calls you wish to make.
We use our own SCORM files and control everything ourselves. You need to have a decent understanding of SCORM though to use this method.

Similar Messages

  • Is it allowed to set bmp instance variables in ejbFindByPrimaryKey

    Hello together,
    one simple question to the specification gurus:
    Is it allowed to set the instance variables of a Bean Managed Persistence
    Entity Bean inside the ejbFindByPrimary Key method?
    The Problem is:
    We are using OC4J (Oracle Containers 4 J2EE) and run multi threaded clients.
    In some situations it happens, that the same instance of an Entity in "pooled state"
    is used for concurrent ejbFindByPrimaryKey calls by the container.
    Due to the implementation of the ejbFindByPrimaryKey it sometimes happens,
    that during this call the Threads are switched and the value returned by the
    method, which is stored into an instance variable, is overwritten (some typical
    unwanted side effect in a multithreaded environment).
    So this leads to the question above!
    Ciao
    Stefan

    As far as I'm aware you shouldn't attempt to change the state in an ejbFindByPrimaryKey method - this should simply look up the appropriate instance, not alter the state. ejbLoad seems a more appropriate place to be doing that sort of thing.
    I'm not too sure, though - obviously your application will have very particular requirements.

  • In OBIEE 11g, how can you set a presentation variable value from javascript ?

    I want to set up presentation variable from a javascript variable. Does anyone knows the workaround for this ?

    SriniVEERAVALLI,
    Thanks for your suggestions. I want to make a custom prompt that is only my requirement. From JS I have made a custom slider prompt now I want to use this slider prompt to pass selected value in presentation variable. Since, we have slider prompt only for numbers, I have to use it for other values.
    I just want to make my post looks simple and focus on the specific problem.
    Anyways, thanks a lot for taking time to reply. Appreciate your help.

  • Set global x01 variable in javascript?

    Is it possible to set the x variables in javascript ? eg.
    $s('x01', 'some text');
    alert("my value = " + $v('x01');
    does not seem to be working for me
    Thanks
    Jon

    Hello Jon,
    It seems like I owe you an apology. I didn’t pay too much attention to the logic you are trying to implement, plus I thought you’ll also consider Rutger post. To be honest, I never tried to use x01-x10 outside an on-demand process, until your thread.
    So let’s start from the beginning. Although we are using the term global variables with regards to the x01-x10 variables (and they are indeed defined as global variables in the wwv_flow package) they don’t have the same functionality as application items, and in our context, mainly persistence. In fact, they were created to save us the need to define application items as temporary items, to be used only to pass values in AJAX processes.
    If you set one of these variables, using the addParam() method, its value will be available to you in the on-demand process that you reference in your AJAX request, but the value will not be set in session-state (like application/page items) and will not be persistence.
    If you want to use this value outside the on-demand process, you need to assign it to a page or application item. In your case the code
    :P1_MY_PAGE_VALUE := apex_application.g_x01;should be part of the on-demand ‘jmf_test' process. The P1_MY_PAGE_VALUE should be set with a Source Used of “Only …” so it will be populated from session state.
    The code of
    var ajaxRequest = new htmldb_Get(null, $v('pFlowId'),null, 0);should only be used when you need to save session state of application/page items from JavaScript (and not with the x01-x10 variables).
    Hope this time things are clearer and you’ll be able to achieve what you need. If, for any reason, they are not, please post again.
    Regards,
    Arie.
    Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.

  • Setting default environment variables.

    In HP-UX, I would set the HISTORY variable as follows:
    HISTFILE=$HOME/.sh_history
    HISTSIZE=500
    If it's working, I don't know how to use it...
    In HP-UX, <Esc><k> brings up previously executed commands.
    In Linux, the <Up Arrow> brings up previously executed commands.
    I've tried both of them, and a few other keystrokes, but to no avail...
    Any help would be appreciated...
    While we're on the subject of variables...

    Hi,
    Command History (vi mode)
    The fc command: a brief history lesson
    Take a look at the fc (fix command) man page. This command works almost exactly like the fc
    command in bash. You feed it the number of your
    previous history command and its execution is repeated. This command was actually introduced as
    history in the C shell, but has evolved
    since. By default, fc allows you to edit your previous commands with the ed editor (which can be
    changed by modifying the FCEDIT shell variable.
    Clearly, the Korn shell's command line editing features are more advanced and easier to use,
    however, there are three such cases where fc can be handy:
    Case 1: Repeating the Last Command Explicitly
    You may already be familiar with the fc operator "r" (bash/csh equivalent is "!!") which is a built-in
    alias that repeats the last command issued.
    Of course, if you prefer to use the !! syntax, you can use the following alias:
    alias !!='fc -e -'
    Case 2: Repeating the Last Command with Replacement
    If you're repeating the last command with only a slight modification, fc works great also. For
    example, suppose you ran this command:
    mv app-09.26.00.log oldlogs
    And you also want to move the file app-09.25.00.log to the oldlogs directory. In this case, you
    could use fc to accomplish your goal in less keystrokes.
    fc -e - 26=25
    or, you could use the Korn shell shortcut like this:
    r 26=25
    or even using the alias specified above:
    !! 26=25
    Case 3: [ESC]-v and Full vi Editing
    Alternatively, you can edit the entire command line with vi using the "v" command. This type of
    editing can be especially helpful for editing "for"
    or "while" loops that span multiple lines. This is actually another fc alias that edits the current line in
    full screen vi mode. However, since the
    command is executed immediately upon exiting vi, you should pay extra attention to the command
    syntax, especially when editing commands as root.
    Command Line Editing in vi Mode
    Instead of using fc to edit your previous commands, it's usually easier to use ksh built-ins in vi
    mode.
    You can use vi mode by setting the option like this:
    set -o vi (when in ksh already) OR ksh -o vi (when launching a ksh shell)
    In this mode, you'll want to get familiar with a few commands:
    Previous Command
    ---->
    [ESC]-k
    Use this key combination to access your
    previous command
    Next Command
    ---->
    [ESC]-j
    Use this key combination to access your
    next command (if applicable)
    Filename
    Completion
    ---->
    [ESC]-
    Use this key combination to complete a
    filename, or partial portion thereof
    Filename Check
    ---->
    [ESC]-=
    Use this key combination to show which
    files would complete the command at this
    point
    Caveats:
    There is no command completion in ksh88, though there is in ksh93.
    There is no tab completion in ksh88, though there is in pdksh and ksh93
    To use tab-complete in pdksh, you may need to use set -o vi-tabcomplete
    To use tab-complete in ksh93 you may need to use set -o viraw
    Commands can be editing using the standard vi editing keys, however, the arrow keys are not
    standard vi editing keys.
    There is no way (that I have discovered) to use arrow keys in ksh88
    Arrow keys should work fine in pdksh
    Arrow keys in ksh93 may need special key-bindings to work. Some samples are available
    here from www.kornshell.com.
    Finally, you can also find the last command you typed that included a certain string. This can often
    be faster than searching through
    previous command lines one at a time. To do so, use the syntax
    [ESC]-/string
    where string is the text string you're searching for. You can also use the "N" and "n" to move
    forward and backward in your searches, respectively.
    Other ksh Interactive Features (vi mode)
    Command-line Editing
    In conjunction with recalling your previous commands, you can also edit these commands.
    A subset of the most common editing commands are listed below.
    Forward One Character
    ---->
    [ESC]-l
    Backward One Character
    ---->
    [ESC]-h
    Delete One Character
    ---->
    [ESC]-x
    Replace One Character
    ---->
    [ESC]-r
    Forward End of Word
    ---->
    [ESC]-e
    Backward Beginning of Word
    ---->
    [ESC]-b
    Delete to End of Line
    ---->
    [ESC]-D
    Insert Text (current space)
    ---->
    [ESC]-i
    Insert Text (adjacent space)
    ---->
    [ESC]-a
    Move Cursor to Beginning of Line
    ---->
    [ESC]-^
    Move Cursor to End of Line
    ---->
    [ESC]-$
    Note: The [ESC] key is not necessary if you are currently in command-mode.
    Job Control
    Job control under the Korn shell actually works identically to job control under the bash shell.
    However, since its a very useful
    interactive shell feature, I'll summarize its uses here.
    Suppose for example you want to watch the system messages on a Solaris box, you might run this
    command:
    # tail -f /var/adm/messages
    But perhaps something isn't logging correctly and you need to make some changes to
    /etc/syslog.conf. You decide to send ^Z (suspend)
    to your tail process like this:
    ^Z[1] + Stopped (SIGTSTP) tail -f /var/adm/messages
    You still want the process to run however, so using the number in brackets, you send the process to
    the background like this:
    # bg %1
    [1] tail -f /var/adm/messages&
    Now, you're free to make your syslog changes, and when you're ready to return to your tail process
    you've forgotten which job it was.
    In this case, you would use the jobs command to see which jobs are tasked to the current shell like
    this:
    # jobs
    [3] + Stopped (SIGTSTP) ls -al /dev | more
    [2] - Stopped (SIGTSTP) find / 2>&1 > /dev/null
    [1] Stopped (SIGTSTP) tail -f /var/adm/messages
    Once you know what the job number is, you can return the job to the foreground using the
    command:
    # fg %1
    tail -f /var/adm/messages
    Note that if the job number is not specified the most current active job, indicated by the "+" is
    the default job. So, fg with no arguments would bring job 3 to the foreground.
    Alternatively, if you wanted to kill the job at this point, this could be accomplished by using
    the kill command in the following manner:
    # kill %1
    [1] + Terminated tail -f /var/adm/messages
    Thus, we can easily see how useful job control can be, especially if you have a limited number of
    login shells available.
    Revert back.
    Thanks.
    Senthilkumar
    SUN - DTS

  • Cp4 AS2 - Allow learner to copy variable to clipboard

    Is there a way to present the contents of a Cp variable to the learner in a way that allows them to copy its contents to the clipboard?
    I thought about passing the variable contents to javascript and using prompt() with default text set to the variable contents, but prompt() is disabled by default on IE7 which some of my target audience use.
    I can't use alert() as on some browsers you can't copy alert messages.
    I need a solution that covers a range of browsers and security settings which are out of my control.
    Thanks

    I have the same problem.
    Tried the plugin, didn't work, tried to edit user.js manually, didn't work (necessary entries have been there already from the plugin).
    I am on Ubuntu, FF8, in case that matters.
    Thx,
    T

  • Setting the value of an Application Item (setting a global variable);

    In APEX 3.2.0.00.27, I need to initialize a global variable to 0 to implement a variable for testing to see if anything on the page has changed. Will update to 1 when certain select lists on the page are changed. Have read through some similar questions and replies within the forum as well as other blogs and sites. So, I believe what I am doing is the way to go about this. Unfortunately, my initialization of an application item/global isn't happening yet. here's a rundown of what has been implemented:
    1) created an application item, G_CLASSIFICATION_ID_NEW in the shared components;
    2) created Javascript (JS) function called by addLoadEvent in the page html header region so when the page loads, the G_CLASSIFICATION_ID_NEW global/application item should get set to 0 with the following JS and using AJAX and htmldb_GET:
    <script type="text/javascript">
    function initVars()
    alert("before get initvars");
    var get = new htmldb_Get(null,$x('pFlowId').value,null,22);
    get.add('G_CLASSIFICATION_ID_NEW', 0);
    gReturn = get.get();
    if(gReturn){
    alert(gReturn.value);
    get = null;
    alert("after get initvars");
    alert("before call to initpage");
    addLoadEvent(initVars());
    </script>
    I've used the htmldb_Get with success for populating other global variables and running On Demand Processes with onchange JS calls in the html form element attributes within select lists on the page. Afterwards, I can check the globals via the Session window and searching on Application Items. Unfortunately, I'm missing something because my G_CLASSIFICATION_ID_NEW never gets populated when I load the page. The alerts all popup when the page is loaded, so I know the script is being executed when the page loads. the alert(gReturn.value) comes back undefined. And, needless to say, the G_CLASSIFICATION_ID_NEW to 0 is not occurring.
    I've tried the htmldb_Get with it calling an application process and without (set to null). From what I've read, you shouldn't need to call an on demand process to have the get.add set the global variable. Then again, this could be where I'm going wrong. however, as I've mentioned, this works for other functions called from an onchange to populate an application item, but the page has already loaded when the onchange(s) get executed. They may work because the page is already loaded when the onchange is called. My point here is that my other On demand processes are NOT setting or changing the global variables at all. The globals are getting set with the get.add(<app item>, <value>) portion of my other JS functions within the HTML Header region. So, I'm inclined to believe that I don't need the 'application_process=<some_odp>' parameter set, but if that's not true, please let me know. if so, what would need to be in the on demand process--ie, what would be the purpose of the get.add(<application item>, <value>) if I set the global variable in the on demand process because that's the only thing I could think of doing within an on demand process for this?
    If somebody can point out what I'm not understanding or failing to do here, that would be great. I'm doing fine with APEX, but wouldn't consider myself a guru with it just yet. I'm definitely not a JS/AJAX guru, and when things like this go astray, I get bogged down because I'm not sure of the problem. So, I'm hoping you gurus who monitor this forum can get me going in the right direction.
    thanks,
    bob

    Hi Jari,
    Does that javascript work if you place it some of region footer on page 22 ?Yes. I cut it out of the html header of the page, and put it in the footer of the first region on the page. It initializes the variable. Putting it into the footer of the first region on the page should work for me instead of having an extra region on the page that's being picked up from page 0.
    Is your page 22 authentication public ?No. This particular page is set for an ADMINISTRATOR only. That said, I am logged in as an administrator. So, I cannot see why setting authentication should make a difference as long as I have that authentication/authorization. Also, there will be other pages where I want to use this script or a similar script, but again, those pages will not be open to the public. the authentication will be "role" based where a user will not necessarily have to be an administrator, but they will have to have a certain role to access the page. Is there a known problem or something that precludes a html header JS script from doing an addloadevent when authentication is NOT public?
    thank you,
    bob

  • Do I need to set  system env variables for weblogic and SOA server installation?

    Hi All,
       I already have two weblogic application servers on my machine(that were installed by others).
    I observed some environment variables were also set in System variables(ORACLE_HOME,WEB_SERVER_HOME etc) section in Env variables section(Start Menu---> Computer --> properties ---).But why do we need to have system environment variables wherein we already have those variables in files like setDomainEnv.bat or/and setSOADoaminEnv.bat for each server.
    And one more thing system variables will be applicable for all servers(the whole machine) right.It may spoil the installation of new servers and present servers as variables should be unique to each server.
        I want to install weblogic and SOA server installation.
    So Can I remove the existing system variables(as they will applicable for every server) and install weblogic and SOA server installation without setting up the environment variables?
    Especially I have multiple Weblogic servers,In that case how it would be to have environment variables(JAVA_HOME,WL_HOME,ORACLE_HOME etc)?
    Please guide me on this to installl SOA suite .
    Thanks in advance

    Hi All,
       I already have two weblogic application servers on my machine(that were installed by others).
    I observed some environment variables were also set in System variables(ORACLE_HOME,WEB_SERVER_HOME etc) section in Env variables section(Start Menu---> Computer --> properties ---).But why do we need to have system environment variables wherein we already have those variables in files like setDomainEnv.bat or/and setSOADoaminEnv.bat for each server.
    And one more thing system variables will be applicable for all servers(the whole machine) right.It may spoil the installation of new servers and present servers as variables should be unique to each server.
        I want to install weblogic and SOA server installation.
    So Can I remove the existing system variables(as they will applicable for every server) and install weblogic and SOA server installation without setting up the environment variables?
    Especially I have multiple Weblogic servers,In that case how it would be to have environment variables(JAVA_HOME,WL_HOME,ORACLE_HOME etc)?
    Please guide me on this to installl SOA suite .
    Thanks in advance

  • Javascript change property of PHP variable according to date in list menu selection

    I'm creating a booking form which selects prices and dates from a Mysql databse according to the code transported in the URL.
    I have successfully got the form to display dates for this year and next year in a drop down menu/list form item.
    However, I would like to change the price according to what year the selected date falls in.
    The key variable that needs to change is this $coursefee
    If a date in 2009 date (e.g. 2009-10-12) is selected the varibiable $coursefee would change to be
    <?php $coursefee=$row_rs_course['price09'];?>
    And if a date like 2010-10-12 is selected the varibiable $coursefee would change to be
    <?php $coursefee=$row_rs_course['price10'];?>
    To complicate matters the menu is dyamically populated too:
    <select name="dates" class="course" id="dates">
    <?php
    do { 
    ?>
    <?php
    $date1 = strftime("%d %b",strtotime($row_rs_dates['start_date']));                       
    $date2 = strftime("%d %b %Y",strtotime($row_rs_dates['finish-date']));
    ?>
    <option value="<?php echo($date1." - ".$date2); ?>"><?php echo($date1." - ".$date2);?></option>
    } while ($row_rs_dates = mysql_fetch_assoc($rs_dates));
      $rows = mysql_num_rows($rs_dates);
    if($rows > 0) {
    mysql_data_seek($rs_dates, 0);
    $row_rs_dates = mysql_fetch_assoc($rs_dates);
    </select>
    I'm pretty sure the answer lies in the murky world of javascript but unfortunately I haven't the first clue about javascript.
    Can anyone help me with this?
    Cheers
    Dave

    Thanks David,
    I can see that would work and I'd have no problems doing that but wouldn't that mean that all the oher data the user had fillled in would dissapear?
    There are too many fields I think to transfer everything in the URL and the date selection field is way down the form and I think it would seem pretty odd to have it before name address etc. That's why I thought a javascript solution would be more suitable as it needn't rely on a page refresh.
    Cheers
    Dave

  • How to set the DISPLAY variable to run admsi.pl?

    Dear Experts,
    I'm trying to patch Oracle apps R12 using admsi.pl.
    hostname: black
    APPS db: VIS
    But I keep getting the error:
    Please set the DISPLAY variable and re-run this script
    This is what I did:
    VIS database and listener are already running.
    login to the linux server as unix user: applmgr
    cd /oapps/applmgr/VIS/apps/apps_st/appl/
    . APPSVIS_black.env
    cd /oapps/applmgr/VIS/apps/apps_st/appl/ad/12.0.0/bin/
    admsi.pl
    Invoking Oracle Patch Application Assistant....
    Please set the DISPLAY variable and re-run this script
    huh ?
    set | grep -i "display"
    DISPLAY=:0.0
    set | wc
    435 486 25235
    I notice that there are 36 .env files!
    For applmgr alone!!
    find /oapps/applmgr/ -type f -name "*.env" | wc
    36 36 2626
    For oracle, there are another 7 .env files!
    find /oapps/oracle/ -type f -name "*.env" | wc
    7 7 513
    Did I get the environment (env) file correct?
    Or do I need to run a few more env first?
    If so, which ones?
    What would the order of operations be?
    sqldeveloper has given me problems with Display sometimes.
    But even sqldeveloper works fine.
    What is the secret to get admsi.pl to run in the normal manner?
    Thank a lot!

    Thanks a lot, that worked! So the perl script was wrong.
    In the meantime, I had done this, and it seemed to work:
    admsi.pl -debug
    Gathering Information..
    Enter the patch_top : /oappsinstall/update12.1.1/7303030
    Enter the APPS user password:
    Logfile for this session is located at admsi.log
    Generating installation instructions for patch 7303030..
    Updating database....
    install_7303030.html generated successfully
    install_7303030.txt generated successfully
    cat /oapps/applmgr/VIS/apps/apps_st/appl/ad/12.0.0/bin/admsi.log
    Executing begin :value := ad_manual_step_object.is_step_already_done('per_hrglobal','120.2.12010000.1'); end;
    Generating installation instructions for patch 7303030..
    Updating database....
    install_7303030.html generated successfully
    install_7303030.txt generated successfully
    Performing final cleanup..
    Do you think this worked ok?
    Thanks again!

  • Facebook apps-enable javascript, all setting correct according to Mozilla help.

    Facebook apps-enable javascript, all setting correct according to Mozilla help.

    Hello CP752,
    It sounds like you are unable to delete the FaceTime account from your iPad. I would recommend closing all the running apps on the phone:
    iOS: Force an app to close
    http://support.apple.com/kb/ht5137
    Double-click the Home button.
    Swipe left or right until you have located the app you wish to close.
    Swipe the app up to close it.
    When you have done that and restart the phone and try updating the password again:
    iOS: Turning off and on (restarting) and resetting
    http://support.apple.com/kb/ht1430
    If it persists, I would next backup your device to iTunes with this article:
    iOS: How to back up and restore your content
    http://support.apple.com/kb/HT1766
    And restore it from your backup with this article:
    Use iTunes to restore your iOS device to factory settings
    http://support.apple.com/kb/ht1414
    Since backups do not store your passwords, this should, as a last resort allow you to update your password properly.
    Thank you for using Apple Support Communities.
    All the best,
    Sterling

  • Trouble Setting Windows Environment Variables

    My environment:
    Windows XP Professional
    Intellij 6.0.4
    JDK 1.4.
    I am seeing some very weird behavior when I try to get/set Environment Variables in Windows XP. I use the following code to read the variables:
    Process p = r.exec( "cmd.exe /c set" ); I create an environment varialbe through the Windows control panel, and it does not show up when I execute the above command. However, when I close my IDE and reopen it and run the same code, the variable appears. How is this possible? I am using the Windows XP cmd.exe in my program to read the variables. When I open a DOS window and type the same command, my variable is there.
    This is driving me crazy.
    i want my program to do some work, but then check a system variable to see if it should continue. I want a user to be able to stop processing by setting the environmen variable to true.
    Thanks!
    Nathan

    Runtime.exec has a lot of overloadings. Two of them
    allows you to specify the environment variables.
    exec
    public Process exec(String[] cmdarray,
    String[] envp,
    File dir)
    throws IOExceptionExecutes the specified command and
    arguments in a separate process with the specified
    environment and working directory.
    cmdarray - array containing the command to call and
    its arguments.
    envp - array of strings, each element of which has
    environment variable settings in format name=value.
    dir - the working directory of the subprocess, or null
    if the subprocess should inherit the working directory
    of the current process.
    I had this sample program:
    public class SetVarExample {
    public static void main (String[] args) throws Exception {
         String[] cmd_env= new String[] {"password="+"ABCD","Path=C:\\Sun\\AppServer\\jdk\\bin"};
         String cmd = "cmd /c SET ";
         Runtime.getRuntime().exec(cmd,cmd_env);
    System.out.println( "Finish ...." );
    I tried it in a command prompt. But looks like when the program exits, it's a whole new process and so it does not retain the env variables set in the java program.
    Any suggestions? Am I doing it worng?
    thanks

  • Can someone tell me why this is not setting the session variable?

    first page
    <?php
    // script1.php
    session_start();
    echo "<form action=\"script2.php\" method=\"post\"
    name=\"name1\">";
    echo "Your name: <input name=\"name\" type=\"text\"
    size=\"20\" value=\"\">  ";
    echo "<input name=\"submit\" type=\"submit\"
    value=\"Submit\">";
    echo "</form>";
    ?>
    second page
    <?php
    // script2.php
    session_start();
    echo('Hello, ' . $_SESSION['name1']);
    ?>

    jlw12689 wrote:
    > second page
    >
    > <?php
    > // script2.php
    > session_start();
    > echo('Hello, ' . $_SESSION['name1']);
    > ?>
    You need to set the session variable first.
    <?php
    session_start();
    if (isset($_POST['name1'])) $_SESSION['name1'] =
    $_POST['name1'];
    echo 'Hello, ' . $_SESSION['name1'];
    ?>
    By the way, using echo to create your form on page one is a
    complete
    waste of time. Just use an ordinary HTML form - a lot less
    typing, and a
    lot more efficient.
    David Powers
    Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    http://foundationphp.com/

  • How to set the Environment Variable

    I'm going through a tutorial on how to create an application and run from the command prompt. I have finished installing my jdk 6 Upadate 5 but i don't know how to set the Environment Variable for the javac compiler and the java interpreter to find my program.
    I have created an application called "ExampleProgram" and have saved it on drive C:. How do i set the Environment Variable so that the "javac" compiler and the "java" interpreter can find it

    gyesa_say wrote:
    I'm using Windows XP Service Pack 2.A very bad choice to go with Windows. Personally I prefer Linux.
    I Google and had several information on how set it, but i tried all of them and none seem to work.I typed "how to set environmental variable in winxp" in Google and the very first link provided all the information I needed (you need). These things will make much more sense if you go through it yourself rather than having someone else spoon-fed you the answer.

  • Assigning a javascript value to a JSP variable

    How do i assign a javascript value to a JSP variable?
    eg
    <%
    String JSPvar;
    %>
    <script language="JavaScript1.2">
    <!--
    var javascriptVar="hey"
    -->
    </script>
    <%
    JSPvar = javascriptVar ???
    %>

    You do know that the JSP runs on the server and generates HTML, including Javascript, that is executed on the client, don't you?

Maybe you are looking for

  • [LaserJet Pro 200 color MFP M276nw] only vertical lines when scanning, scanner broken?

    Hi all! I have a problem with the scanner in my HP all in one. If I scan (using the printer function or apples ImageCapture: same result) the output is just a lot of vertical stripes (in colors when in color mode). Not a trace of the image I try to s

  • Capitalization of cwip- Business area posting

    Dear All, We are capitalizing assets through Internal Orders. The orders are created with respective business area wise and business area has given in the order. At the period end process While execution of  Ko8G the system is posting corrects FI ent

  • Coding on a Picture in Java

    Hi guys, i have a project to do and it has to be done in Java, unfortunately i'm not too good with java. I need to create a Matrix in java and at the same time try and superimpose a picture on it. The picture will be that of a street intersection tha

  • Jpeg opens in email

    When I try to attach my JPEG files to my email, they open as a picture in my email message instead of as a file. Any help?

  • Premiere Pro CC Update has Apple Magic Mouse Timeline Scrolling Backwards

    I've used the Apple Magic Mouse and for thousands of hours on Premiere Pro versions CS5 and CS6 and I just updated to CC.  On the Magic Mouse, I used to press Option and then swipe right on the mouse to zoom in on the timeline and Option + swipe left