Script for jsp

<script type="text/javascript">
function functiontest(process,empname)
alert(process);
alert(empname);
document.empdetform.processName.value=process;
document.empdetform.empname.value=empname;
document.empdetform.submit();
</script>
<c:forEach var="empData" items="${empAllData}">
     <tr>
                    <td width="15%"><c:out value="${empData.empname}"/></td>
                    <td width="12%"><c:out value="${empData.empid}"/></td>
                    <td width="12%"><c:out value="${empData.username}"/></td>
                    <td width="12%"><c:out value="${empData.password}"/></td>
                    <td width="21%"><c:out value="${empData.dob}"/></td>
                    <td width="12%"><c:out value="${empData.email}"/></td>
                    <td width="11%"><c:out value="${empData.age}"/></td>
                    <td width="12%"><c:out value="${empData.sex}"/></td>
                    <td width="12%"><c:out value="${empData.city}"/></td>
                    <td width="12%"><a href="# onClick=javascript:functiontest('EDIT','<c:out value="${empData.empname"/>');><b><font color="#800080">Edit</font></b></a></td>
                    <td width="12%"><a href="#" onClick=javascript:functiontest('Delete','<c:out value="${empData.empname}"/>');><b><font color="#800080">Delete</font></b></a></td>
     </tr>
</c:forEach>
     <input type="hidden" name="processName"/>
i have wirte the script to pass the value in hiddenfields,the value is not passed to the servlet and the request action is not processed for the servlet.Can anyone correct the right script.(I am getting the alert of both values)

STM12 wrote:
i have wirte the script to pass the value in hiddenfields,the value is not passed to the servlet and the request action is not processed for the servlet.Can anyone correct the right script.(I am getting the alert of both values)What do you mean by " the request action is not processed for the servlet"?
Do you mean that the servlet is not being called at all?

Similar Messages

  • How can I set up breakpoints in eclipse for jsp?

    I saw somebody can set up breakpoints in eclipse for jsp.
    But I can not do that on my eclipse.
    What's the difference?
    Thanks.

    I don't think this had a keyboard shortcut even before (checked in CS6). There's an alternative though.
    1. Create a JSFL file with following code and save it in the commands folder as 'Remove Tween'.
         fl.getDocumentDOM().getTimeline().setFrameProperty('tweenType', 'none');
    2. Now goto Edit Menu > Keyboard Shortcuts..
    3. Search for 'Remove Tween' and assign a keyboard shortcut to it.
    Now everytime you press the assigned key - jsfl script is executed which essentially removes the tween from selected frame. (works for Classic and Shape tween but not Motion Tweens)

  • Getting error while running script for online backup

    Hi,
    I am running a script for online backup but ended up with an the below error.
    *ERROR* [Backup Worker Thread] com.day.crx.core.backup.Backup Failed to create temporary directory
    Please help out in resolving this.
    Thanks in Advnace.
    Maheswar

    Hi mahesh,
    If you are using backup feature from crx console, I mean http://localhost:4502/crx/config/backup.jsp  I can say that we had also some problems with this functionalities.
    First off all what you need to check are the permissions, because when you check a source code there is line which creates a File object using a path specified by you to make a backup of repository.
    File targetDir = new File(req.getParameter("targetDir", listDir.getParentFile().getAbsolutePath()));
    You need to have sure that the proper read write access has been granted for this path.
    Another issue is that maybe there was already prepared some hotfix if you are using CQ5.4. Please refer to the following link:
    http://dev.day.com/content/kb/home/Crx/CrxSystemAdministration/CRXOnlineBackup.html
    and also to this one:
    http://dev.day.com/content/docs/en/crx/current/release_notes/overview.html which contains a hotfix number #34797 which was applied to backup.jsp file.
    Regards,
    kasq

  • Are there any information gathering tools or scripts for Sun VDI 3.1.1?

    Hi,
    Are there any information gathering tools or scripts for Sun VDI 3.1.1?
    for problem reporting or service supportting , such as
    ut_gather, a ksh based tool to collect all Sun Ray related information from a Sun Ray server.
    http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/ut_gather_1_4_6
    http://www.sun.com/service/gdd/index.xml
    Sun Explorer Data Collector in The Sun Services Tools Bundle (STB)
    http://www.sun.com/service/stb/index.jsp
    http://www.unix-consultants.co.uk/examples/scripts/linux/linux-explorer/
    http://www.slideshare.net/Aeroplane23/information-gathering-2
    Windows MPSreports, msinfo32
    Redhat sysreport
    Suse Siga reportconfig
    Any advice would be appreciated.
    Thanks,

    ut_gather versions are available on MOS under reference #1260464.1

  • Popup Script for Save, edit & Delete Records

    Hi Friends,
    I developed an application, has got buttons like Save, edit, delete particular records. Is there any Java script for the above, to show popup Screens, like the   confirm java script
    <SCRIPT LANGUAGE="javascript">
    <!--
    function CONFIRM(){if (!confirm
    ("Are you Sure to  Edit Record?Ok=Yes,Cancel=No "))
    history.go(-1);return " "}
    document.writeln(CONFIRM())
    <!-- END -->
    </SCRIPT>
    pls mail me any sample code & Relevant weblogs regarding this.
    Regards
    CSM Reddy

    Hi,
    The following code will work... i have tested it.
    <b>test.jsp</b>
    <%@ page language="java" %>
    <html>
         <head>
              <title>
                   TestForm
              </title>
         </head>
         <script type="text/javascript">
    function confirmSAVE() {
    var save = confirm("Do u really want to save")
    if (save){
    alert("edit confirmed")
    window.document.myForm.action="test.jsp"
    window.document.myForm.submit()
    else
    alert("edit cancelled")
    function confirmDelete() {
    var del = confirm("Do u really want to delete")
    if (del){
    alert("del confirmed")
    window.document.myForm.action="test.jsp"
    window.document.myForm.submit()
    else
    alert("del cancelled")
    </script>
         <form name="myForm">
         <body>
              <table>
              <tr>
              <td colspan="2" align="center"><input type="button" style="background-color: #ffffff" name=save onclick="confirmSAVE()" value="SAVE">
              </td>
              <td colspan="2" align="center"><input type="button" style="background-color: #ffffff" name=delete onclick="confirmDelete()" value="DELETE">
              </td>          
              </tr>
              </table>
         </body>
         </form>
    </html>
    When you confirm edit or delete, the same test page will be displayed.
    Regards,
    Uma
    Message was edited by: Uma Maheswari

  • Eclipse editor gives error for web.xml for jsp-config

    Hi All,
    I am using following web.xml . Eclipse europa editor gives warning if <jsp-config> is added. Is anyone have idea about it.
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    <web-app>     
         <display-name>Cart</display-name>               
         <servlet>
    <servlet-name>RequestHandler</servlet-name>
    <servlet-class>com.amazon.helper.LoginListener</servlet-class>
    </servlet>      
         <servlet-mapping>
    <servlet-name>RequestHandler</servlet-name>
    <url-pattern>cart.loginUser</url-pattern>
    </servlet-mapping>
    <jsp-config>
         <jsp-property-group>
         <url-pattern>*.jsp</url-pattern>
                   <scripting-invalid>true</scripting-invalid>
         </jsp-property-group>
    </jsp-config>
    </web-app>

    Your web.xml file is out of date.
    You have a DTD there for the Servlet 2.2 spec.
    The jsp-config tag was introduced to web.xml as of the Servlet 2.4 specification - which is why it is complaining in your editor.
    Seeing as you have Tomcat 6, I would recommend you change your web.xml to look like this
    - removed the DTD
    - change the web-app tag to include schema information
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5">
    <display-name>Cart</display-name>
    <servlet>
    <servlet-name>RequestHandler</servlet-name>
    <servlet-class>com.amazon.helper.LoginListener</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>RequestHandler</servlet-name>
    <url-pattern>cart.loginUser</url-pattern>
    </servlet-mapping>
    <jsp-config>
    <jsp-property-group>
    <url-pattern>*.jsp</url-pattern>
    <scripting-invalid>true</scripting-invalid>
    </jsp-property-group>
    </jsp-config>
    </web-app>Cheers,
    evnafets

  • Problem installing BEA Workshop for jsp

    Hi,
    I am trying to install the BEA Workshop for JSP. Though when I satisfy min jdk version as shown, I still into installation problems.
    C:\Profiles\sys1mi\Desktop\temp>java -version
    java version "1.4.2_11"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.
    Java HotSpot(TM) Client VM (build 1.4.2_11-b06, mixed mode)
    I had multiple JDK versions which I deleted but still unable to install. Below is the attached log. Please let me know if this helps.
    Thanks,
    Prateek
    looking in C:\Program Files\Java\j2re1.4.2_11\bin
    Found: C:\Program Files\Java\j2re1.4.2_11\bin\java.exe
    Found: C:\Program Files\Java\j2re1.4.2_11\bin\javaw.exe
    looking in C:\Program Files\JavaSoft\JRE\1.3.1_02\bin
    looking in C:\Program Files\JavaSoft\JRE\1.3.1_02\bin
    looking in C:\Program Files\Java\j2re1.4.2_11\bin
    Found: C:\Program Files\Java\j2re1.4.2_11\bin\java.exe
    Found: C:\Program Files\Java\j2re1.4.2_11\bin\javaw.exe
    looking in C:\Program Files\Java\j2re1.4.2_03\bin
    Found: C:\Program Files\Java\j2re1.4.2_03\bin\java.exe
    Found: C:\Program Files\Java\j2re1.4.2_03\bin\javaw.exe
    looking in C:\Program Files\Java\j2re1.4.2_11\bin
    Found: C:\Program Files\Java\j2re1.4.2_11\bin\java.exe
    Found: C:\Program Files\Java\j2re1.4.2_11\bin\javaw.exe
    ...Finished searching through the registry for VMs
    Searching through the path for VMs...
    Looking in C:\Profiles\sys1mi\temp_installs\j2sdk1.4.2_11\bin
    Found: C:\Profiles\sys1mi\temp_installs\j2sdk1.4.2_11\bin\java.exe
    Found: C:\Profiles\sys1mi\temp_installs\j2sdk1.4.2_11\bin\javaw.exe
    Looking in C:\PROGRA~1\FileNet\IDM
    Looking in C:\PROGRA~1\FileNet\Shared
    Looking in C:\Program Files\CA\SharedComponents\PEC\bin
    Looking in C:\WINNT\system32
    Ignoring 'C:\WINNT\system32\java.exe' because it is in a Windows System Dire
    ctory.
    Ignoring 'C:\WINNT\system32\javaw.exe' because it is in a Windows System Dir
    ectory.
    Ignoring 'C:\WINNT\system32\jre.exe' because it is in a Windows System Direc
    tory.
    Ignoring 'C:\WINNT\system32\jrew.exe' because it is in a Windows System Dire
    ctory.
    Found: C:\WINNT\system32\jview.exe
    Found: C:\WINNT\system32\wjview.exe
    Looking in C:\WINNT
    Ignoring 'C:\WINNT\java.exe' because it is in a Windows System Directory.
    Ignoring 'C:\WINNT\javaw.exe' because it is in a Windows System Directory.
    Ignoring 'C:\WINNT\jre.exe' because it is in a Windows System Directory.
    Ignoring 'C:\WINNT\jrew.exe' because it is in a Windows System Directory.
    Looking in C:\WINNT\System32\Wbem
    Looking in c:\Fusa\DLL
    Looking in C:\TD
    Looking in C:\Program Files\CA\AllFusion Harvest Change Manager
    Looking in C:\Progra~1\OraNT\9i\bin
    Looking in C:\Program Files\IBM\Trace Facility\
    Looking in C:\Program Files\IBM\Personal Communications\
    Looking in C:\Program Files\F-Secure\Ssh\program
    Looking in C:\PROGRAM FILES\ULTRAEDIT
    Looking in C:\Program Files\FileNet\FNSW\CLIENT\BIN
    Looking in C:\Program Files\FileNet\FNSW\CLIENT\SHOBJ
    Looking in C:\Program Files\IONA\Orbix_2.3c\BIN
    Looking in C:\Profiles\sys1mi\temp_installs\j2sdk1.4.2_11\bin
    Found: C:\Profiles\sys1mi\temp_installs\j2sdk1.4.2_11\bin\java.exe
    Found: C:\Profiles\sys1mi\temp_installs\j2sdk1.4.2_11\bin\javaw.exe
    Looking in C:\Profiles\sys1mi\temp_installs\j2sdk1.4.2_11\bin
    Found: C:\Profiles\sys1mi\temp_installs\j2sdk1.4.2_11\bin\java.exe
    Found: C:\Profiles\sys1mi\temp_installs\j2sdk1.4.2_11\bin\javaw.exe
    Looking in C:\PROGRA~1\FileNet\IDM
    Looking in C:\PROGRA~1\FileNet\Shared
    Looking in C:\Program Files\CA\SharedComponents\PEC\bin
    Looking in C:\WINNT\system32
    Ignoring 'C:\WINNT\system32\java.exe' because it is in a Windows System Dire
    ctory.
    Ignoring 'C:\WINNT\system32\javaw.exe' because it is in a Windows System Dir
    ectory.
    Ignoring 'C:\WINNT\system32\jre.exe' because it is in a Windows System Direc
    tory.
    Ignoring 'C:\WINNT\system32\jrew.exe' because it is in a Windows System Dire
    ctory.
    Found: C:\WINNT\system32\jview.exe
    Found: C:\WINNT\system32\wjview.exe
    Looking in C:\WINNT
    Ignoring 'C:\WINNT\java.exe' because it is in a Windows System Directory.
    Ignoring 'C:\WINNT\javaw.exe' because it is in a Windows System Directory.
    Ignoring 'C:\WINNT\jre.exe' because it is in a Windows System Directory.
    Ignoring 'C:\WINNT\jrew.exe' because it is in a Windows System Directory.
    Looking in C:\WINNT\System32\Wbem
    Looking in c:\Fusa\DLL
    Looking in C:\TD
    Looking in C:\Program Files\CA\AllFusion Harvest Change Manager
    Looking in C:\Progra~1\OraNT\9i\bin
    Looking in C:\Program Files\IBM\Trace Facility\
    Looking in C:\Program Files\IBM\Personal Communications\
    Looking in C:\Program Files\F-Secure\Ssh\program
    Looking in C:\PROGRAM FILES\ULTRAEDIT
    Looking in C:\Program Files\FileNet\FNSW\CLIENT\BIN
    Looking in C:\Program Files\FileNet\FNSW\CLIENT\SHOBJ
    Looking in C:\Program Files\IONA\Orbix_2.3c\BIN
    Looking in C:\LOGS\user\temp_installs\apache-ant-1.7.0\bin
    Looking in C:\Program Files\GnuWin32\bin
    ...Finished searching through the path for VMs
    ORDERING VMS
    1: C:\Profiles\sys1mi\temp_installs\j2sdk1.4.2_11\bin\java.exe (in path)
    2: C:\Profiles\sys1mi\temp_installs\j2sdk1.4.2_11\bin\javaw.exe (in path)
    3: C:\WINNT\system32\jview.exe (in path)
    4: C:\WINNT\system32\wjview.exe (in path)
    5: C:\Program Files\Java\j2re1.4.2_03\bin\java.exe (in registry at HKEY_LOCAL_MA
    CHINE\SOFTWARE\JavaSoft\Java Plug-in\1.4.2_03)
    6: C:\Program Files\Java\j2re1.4.2_03\bin\javaw.exe (in registry at HKEY_LOCAL_M
    ACHINE\SOFTWARE\JavaSoft\Java Plug-in\1.4.2_03)
    7: C:\Program Files\Java\j2re1.4.2_11\bin\java.exe (in registry at HKEY_LOCAL_MA
    CHINE\SOFTWARE\JavaSoft\Java Plug-in\1.4.2_11)
    8: C:\Program Files\Java\j2re1.4.2_11\bin\javaw.exe (in registry at HKEY_LOCAL_M
    ACHINE\SOFTWARE\JavaSoft\Java Plug-in\1.4.2_11)
    9: C:\Program Files\Java\j2re1.4.2_11\bin\java.exe (in registry at HKEY_LOCAL_MA
    CHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.4)
    10: C:\Program Files\Java\j2re1.4.2_11\bin\javaw.exe (in registry at HKEY_LOCAL_
    MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.4)
    11: C:\Program Files\Java\j2re1.4.2_03\bin\java.exe (in registry at HKEY_LOCAL_M
    ACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.4.2_03)
    12: C:\Program Files\Java\j2re1.4.2_03\bin\javaw.exe (in registry at HKEY_LOCAL_
    MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.4.2_03)
    13: C:\Program Files\Java\j2re1.4.2_11\bin\java.exe (in registry at HKEY_LOCAL_M
    ACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.4.2_11)
    14: C:\Program Files\Java\j2re1.4.2_11\bin\javaw.exe (in registry at HKEY_LOCAL_
    MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.4.2_11)
    Searching for console vm.
    lax.nl.valid.vm.list=J2 J1 MSJ
    lax.nl.current.vm=.
    was not a valid Win32 executable.
    SUCCESS! C:\Profiles\sys1mi\temp_installs\j2sdk1.4.2_11\bin\java.exe
    Using JNI INVOCATION to simulate the following batch script:
    BATCH SCRIPT
    cd "C:\Profiles\sys1mi\LOCALS~1\Temp\I1180638584\Windows"
    set CLASSPATH=C:\Profiles\sys1mi\LOCALS~1\Temp\I1180638584\InstallerData\IAClass
    es.zip;C:\Profiles\sys1mi\LOCALS~1\Temp\I1180638584\Windows\resource\jdglue.zip;
    C:\Profiles\sys1mi\LOCALS~1\Temp\I1180638584\InstallerData\Execute.zip;C:\Profil
    es\sys1mi\LOCALS~1\Temp\I1180638584\Windows\InstallerData\Execute.zip;C:\Profile
    s\sys1mi\LOCALS~1\Temp\I1180638584\InstallerData\Resource1.zip;C:\Profiles\sys1m
    i\LOCALS~1\Temp\I1180638584\Windows\InstallerData\Resource1.zip;C:\Profiles\sys1
    mi\LOCALS~1\Temp\I1180638584\InstallerData;C:\Profiles\sys1mi\LOCALS~1\Temp\I118
    0638584\Windows\InstallerData;
    C:\Profiles\sys1mi\temp_installs\j2sdk1.4.2_11\bin\java.exe -Xms16777216 -Xmx503
    31648 -noverify com.zerog.lax.LAX C:\\Profiles\\sys1mi\\LOCALS~1\\Temp\\I1180638
    584\\Windows\\WorkshopInstaller.lax C:\\Profiles\\sys1mi\\LOCALS~1\\Temp\\env.pr
    op
    executing java...
    LAX Version = 5.5
    IAResourceBundle: create resource bundle: en
    LOADING Resource path: i18nresources\custom_en
    LOADING Resource path: locales\custom_en
    seaFilename = WorkshopInstaller
    Default properties location = C:\Profiles\sys1mi\Desktop\temp\
    Installer PropertiesFile = C:\Profiles\sys1mi\Desktop\temp\installer.properties
    UI Mode set to Default - SWING.
    InstallAnywhere 6.0 Enterprise
    Thu May 31 15:10:23 EDT 2007
    Free memory = 14953 kB
    Total memory = 16320 kB
    No arguments.
    java.class.path:
    C:\Profiles\sys1mi\LOCALS~1\Temp\I1180638584\InstallerData\IAClasses.zip
    C:\Profiles\sys1mi\LOCALS~1\Temp\I1180638584\Windows\resource\jdglue.zip
    C:\Profiles\sys1mi\LOCALS~1\Temp\I1180638584\InstallerData\Execute.zip
    C:\Profiles\sys1mi\LOCALS~1\Temp\I1180638584\Windows\InstallerData\Execute.z
    ip
    C:\Profiles\sys1mi\LOCALS~1\Temp\I1180638584\InstallerData\Resource1.zip
    C:\Profiles\sys1mi\LOCALS~1\Temp\I1180638584\Windows\InstallerData\Resource1
    .zip
    C:\Profiles\sys1mi\LOCALS~1\Temp\I1180638584\InstallerData
    C:\Profiles\sys1mi\LOCALS~1\Temp\I1180638584\Windows\InstallerData
    C:\Profiles\sys1mi\temp_installs\j2sdk1.4.2_11\lib\dt.jar
    C:\Profiles\sys1mi\temp_installs\j2sdk1.4.2_11\lib\htmlconverter.jar
    C:\Profiles\sys1mi\temp_installs\j2sdk1.4.2_11\lib\tools.jar
    ZGUtil.CLASS_PATH:
    C:\Profiles\sys1mi\LOCALS~1\Temp\I1180638584\InstallerData\IAClasses.zip
    C:\Profiles\sys1mi\LOCALS~1\Temp\I1180638584\Windows\resource\jdglue.zip
    C:\Profiles\sys1mi\LOCALS~1\Temp\I1180638584\InstallerData\Execute.zip
    C:\Profiles\sys1mi\LOCALS~1\Temp\I1180638584\InstallerData
    C:\Profiles\sys1mi\temp_installs\j2sdk1.4.2_11\lib\htmlconverter.jar
    sun.boot.class.path:
    C:\Profiles\sys1mi\temp_installs\j2sdk1.4.2_11\jre\lib\rt.jar
    C:\Profiles\sys1mi\temp_installs\j2sdk1.4.2_11\jre\lib\i18n.jar
    C:\Profiles\sys1mi\temp_installs\j2sdk1.4.2_11\jre\lib\sunrsasign.jar
    C:\Profiles\sys1mi\temp_installs\j2sdk1.4.2_11\jre\lib\jsse.jar
    C:\Profiles\sys1mi\temp_installs\j2sdk1.4.2_11\jre\lib\jce.jar
    C:\Profiles\sys1mi\temp_installs\j2sdk1.4.2_11\jre\lib\charsets.jar
    C:\Profiles\sys1mi\temp_installs\j2sdk1.4.2_11\jre\classes
    java.ext.dirs:
    C:\Profiles\sys1mi\temp_installs\j2sdk1.4.2_11\jre\lib\ext
    java.version == 1.4.2_11 (Java 2+)
    java.vm.name == Java HotSpot(TM) Client VM
    java.vm.vendor == Sun Microsystems Inc.
    java.vm.version == 1.4.2_11-b06
    java.vm.specification.name == Java Virtual Machine Specification
    java.vm.specification.vendor == Sun Microsystems Inc.
    java.vm.specification.version == 1.0
    java.specification.name == Java Platform API Specification
    java.specification.vendor == Sun Microsystems Inc.
    java.specification.version == 1.4
    java.vendor == Sun Microsystems Inc.
    java.vendor.url == http://java.sun.com/
    java.class.version == 48.0
    java.compiler == null
    java.home == C:\Profiles\sys1mi\temp_installs\j2sdk1.4.2_11\
    jre
    java.io.tmpdir == C:\Profiles\sys1mi\LOCALS~1\Temp\
    os.name == Windows XP
    os.arch == x86
    os.version == 5.1
    path.separator == ;
    file.separator == \
    file.encoding == Cp1252
    user.name == sys1mi
    user.home == C:\Profiles\sys1mi
    user.dir == C:\Profiles\sys1mi\LOCALS~1\Temp\I1180638584\Wi
    ndows
    user.language == en
    user.region == null
    Installer: InstallAnywhere 6.0 Enterprise Build 2262
    System's temporary directory = C:\Profiles\sys1mi\Local Settings\Temp
    Installer: looking for Win32 DLLs in C:\Profiles\sys1mi\LOCALS~1\Temp\I118063858
    4\InstallerData\..\Windows\resource
    allocating more
    allocating more
    allocating more
    allocating more
    RepositoryManager: lock acquired on: C:\Program Files\Zero G Registry\.com.zerog
    .registry.lock
    allocating more
    allocating more
    allocating more
    allocating more
    IAVariables: Converting property: prop, to: 0000-trial
    Searching for Resources - C:\Profiles\sys1mi\Local Settings\Temp\I1180638584\In
    stallerData\Disk1\InstData\Resource1.zip
    launchDir: C:\Profiles\sys1mi\Desktop\temp
    installer.properties exists? true
    version: IS_TRIAL_VERSION
    prod: 0000
    build id=608
    versionInfo: major: 3 minor: 3 micro: 0 buildNumber: 608 release name:
    java.io.IOException: CreateProcess: $USER_INSTALL_DIR$$/$jre\jre\bin\java.exe -v
    ersion error=2
    at java.lang.Win32Process.create(Native Method)
    at java.lang.Win32Process.<init>(Win32Process.java:66)
    at java.lang.Runtime.execInternal(Native Method)
    at java.lang.Runtime.exec(Runtime.java:566)
    at java.lang.Runtime.exec(Runtime.java:428)
    at java.lang.Runtime.exec(Runtime.java:364)
    at java.lang.Runtime.exec(Runtime.java:326)
    at com.m7.installer.InstallerUtil.getVersion(InstallerUtil.java:154)
    at com.m7.installer.InstallerUtil.checkVersion(InstallerUtil.java:101)
    at com.m7.installer.CheckInstallerVM.install(CheckInstallerVM.java:33)
    at com.zerog.ia.installer.actions.CustomAction.installSelf(DashoA8113)
    at com.zerog.ia.installer.AAMgr.a(DashoA8113)
    at com.zerog.ia.installer.AAMgr.a(DashoA8113)
    at com.zerog.ia.installer.AAMgr.b(DashoA8113)
    at com.zerog.ia.installer.AAMgr.c(DashoA8113)
    at com.zerog.ia.installer.AAMgr.a(DashoA8113)
    at com.zerog.ia.installer.AAMgr.b(DashoA8113)
    at com.zerog.ia.installer.AAMgr.c(DashoA8113)
    at com.zerog.ia.installer.AAMgr.a(DashoA8113)
    at com.zerog.ia.installer.AAMgr.b(DashoA8113)
    at com.zerog.ia.installer.AAMgr.c(DashoA8113)
    at com.zerog.ia.installer.AAMgr.a(DashoA8113)
    at com.zerog.ia.installer.AAMgr.b(DashoA8113)
    at com.zerog.ia.installer.AAMgr.c(DashoA8113)
    at com.zerog.ia.installer.AAMgr.a(DashoA8113)
    at com.zerog.ia.installer.AAMgr.a(DashoA8113)
    at com.zerog.ia.installer.Main.b(DashoA8113)
    at com.zerog.ia.installer.Main.d(DashoA8113)
    at com.zerog.ia.installer.Main.a(DashoA8113)
    at com.zerog.ia.installer.Main.main(DashoA8113)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.zerog.lax.LAX.launch(DashoA8113)
    at com.zerog.lax.LAX.main(DashoA8113)
    JRE command: $USER_INSTALL_DIR$$/$jre\jre\bin\java.exe -version
    JRE version: null

    Do you have multiple versions of Java installed? I had a weird problem a
    while back with a messed up registry and multiple Java installations.
    br
    Jessica Gaudette wrote:
    Hi,
    I am having the identical problem, but with BEA Workshop Studio. I've followed the instructions provided to resolve it, but I still get the same error, What am I doing wrong? Below is my variable:
    PATH=C:\Program Files\Java\jdk1.5.0\bin
    When I hold down the control button to get the error log it APPEARS to locate the JDK, but at the very end, when it looks for the JRE it is null.

  • What's a good editor for JSP?

    Is there a text editor available that is customized for JSP? For example, I use Allaire (now Macromedia) Studio for writing ColdFusion and it's nice because it has built in shortcuts for the tags, comments, etc, which saves keystrokes. Is there something similar for JSP coding?

    dreamweaver doesn't do anything for you, if you want
    to use Java as your embedded scripting lang (unlike if
    u want to use javascript), so it's no better than
    notepad, apart from it uses colours, and you can see a
    preview (but only of the static bits!).It's better than notepad in that you can specify all your server and ftp details

  • Revised script for online backup

    Hi everybody,
    in http://linux-dba.gutzmann.com you can find a revised and
    enhanced version of a script for a full online backup. It
    requires the database to be in archive mode, of course, and
    contains compress steps so you can use it for a disk backup.
    Any comments are welcome.
    Cheers
    Thomas
    null

    Hi mahesh,
    If you are using backup feature from crx console, I mean http://localhost:4502/crx/config/backup.jsp  I can say that we had also some problems with this functionalities.
    First off all what you need to check are the permissions, because when you check a source code there is line which creates a File object using a path specified by you to make a backup of repository.
    File targetDir = new File(req.getParameter("targetDir", listDir.getParentFile().getAbsolutePath()));
    You need to have sure that the proper read write access has been granted for this path.
    Another issue is that maybe there was already prepared some hotfix if you are using CQ5.4. Please refer to the following link:
    http://dev.day.com/content/kb/home/Crx/CrxSystemAdministration/CRXOnlineBackup.html
    and also to this one:
    http://dev.day.com/content/docs/en/crx/current/release_notes/overview.html which contains a hotfix number #34797 which was applied to backup.jsp file.
    Regards,
    kasq

  • Is any free tool bar for jsp page?

    hi,
    I am having web pages.
    so I am entering some data in text area.
    how to select the font ,size,colors in jsp page.
    i want features like word in jsp page.
    is it any free software available to change font,color of text.
    Thanks
    siva

    and here is the js script for textEditorContent.js ...
    function boldThis(from)
        strSelection = document.selection.createRange().text
        if (strSelection == "")
            document.form1.text.focus()
            if (from == 2) document.form1.text.select()
                strSelection = document.selection.createRange().text
            document.selection.createRange().text = strSelection + "<b></b>"
        else
            document.selection.createRange().text = "<b>" + strSelection + "</b>"
        return;
    function underlineThis(from)
        strSelection = document.selection.createRange().text
        if (strSelection == "")
            document.form1.text.focus()
            if (from == 2) document.form1.text.select()
                strSelection = document.selection.createRange().text
            document.selection.createRange().text = strSelection + "<u></u>"
        else
            document.selection.createRange().text = "<u>" + strSelection + "</u>"
        return;
    function italicThis(from)
        strSelection = document.selection.createRange().text
        if (strSelection == "")
            document.form1.text.focus()
            if (from == 2) document.form1.text.select()
                strSelection = document.selection.createRange().text
            document.selection.createRange().text = strSelection + "<i></i>"
        else
            document.selection.createRange().text = "<i>" + strSelection + "</i>"
        return;
    function fontThis(from)
        var ind=document.form1.fontnames.selectedIndex;
        newfont=document.form1.fontnames[ind].value;
        strSelection = document.selection.createRange().text
        if (strSelection == "")
            document.form1.text.focus()
            if (from == 2) document.form1.text.select()
                strSelection = document.selection.createRange().text
            document.selection.createRange().text = strSelection + "<font face='"+newfont+"'></font>"
        else
            document.selection.createRange().text = "<font face='"+newfont+"'>" + strSelection + "</font>"
        return;
    function sizeThis(from)
        var ind=document.form1.fontsizes.selectedIndex;
        newsize=document.form1.fontsizes[ind].value;
        strSelection = document.selection.createRange().text
        if (strSelection == "")
            document.form1.text.focus()
            if (from == 2) document.form1.text.select()
                strSelection = document.selection.createRange().text
            document.selection.createRange().text = strSelection + "<font size='"+newsize+"'></font>"
        else
            document.selection.createRange().text = "<font size='"+newsize+"'>" + strSelection + "</font>"
        return;
    function colorThis(from)
        var ind=document.form1.colors.selectedIndex;
        newcolor=document.form1.colors[ind].value;
        strSelection = document.selection.createRange().text
        if (strSelection == "")
            document.form1.text.focus()
            if (from == 2) document.form1.text.select()
                strSelection = document.selection.createRange().text
            document.selection.createRange().text = strSelection + "<font color='"+newcolor+"'></font>"
        else
            document.selection.createRange().text = "<font color='"+newcolor+"'>" + strSelection + "</font>"
        return;
    function newlineThis()
        strSelection = document.selection.createRange().text
        if (strSelection == "")
            document.form1.text.focus()
        document.selection.createRange().text = strSelection + "<br>";
        return;
    function insertPic()
        var ind=document.form1.pictures.selectedIndex;
        if(ind==0)
            alert(msg15)
            return false;
        newpic=document.form1.pictures[ind].value;
        strSelection = document.selection.createRange().text
        if (strSelection == "")
            document.form1.text.focus();
        document.selection.createRange().text = strSelection +"<img border=0 src='"+newpic+"'>";
        return;
    function ahrefThis()
        strSelection = document.selection.createRange().text
        if (strSelection == "")
            document.form1.text.focus()
        document.selection.createRange().text = "<a href='" + document.form1.hyperlinknm.value + "' target='_blank'>" + strSelection + "</a>"
        return;
    function textview()
        popupWindow5=open("EDETAIL_Text_View.jsp",'Windown','scrollbars=YES,resizable=YES,left=10,top=20,toolbar=no,width=1000,height=600');
        if (popupWindow5.opener == null)
            popupWindow5.opener = self;
        popupWindow5.focus();
    function callSave(size, module, msg)
        if(!checkMaxLength(document.form1.text,size,msg))
            return;
        if(isBlank(document.form1.text.value))
            alert(module+" "+msg11);
            document.form1.text.focus();
            document.form1.text.select();
            return false;
        if(module=='Question')
            var tempstr ="";
            var count = document.form1.rowCount.value;
            var ind = document.form1.anstype.selectedIndex;
            for (i=0; i<count; i++)
                if(count==1)
                    if(ind>0)  // RADIO or CHECKBOX or DROPDOWN
                        tempstr = document.form1.answerDesc.value;
                    if(ind==1) // RADIO BUTTON
                        if(!checkMaxLength(document.form1.answerDesc,500,"Answer Option"))
                            return;
                        if(!checkMaxLength(document.form1.feedbackDesc,500,"Answer Option"))
                            return;
                else
                    if(ind>0)  // RADIO or CHECKBOX or DROPDOWN
                        tempstr = document.form1.answerDesc.value;
    if(ind==1) // RADIO BUTTON
    if(!checkMaxLength(document.form1.answerDesc[i],500,"Answer Option"))
    return;
    if(!checkMaxLength(document.form1.feedbackDesc[i],500,"Answer Option"))
    return;
    if(ind>0)
    if(isBlank(tempstr) )
    alert(msg12);
    if(count==1)
    document.form1.answerDesc.focus();
    document.form1.answerDesc.select();
    else
    document.form1.answerDesc[i].focus();
    document.form1.answerDesc[i].select();
    return false;
    for (j=i+1; j<count; j++)
    if(document.form1.answerDesc[i].value==document.form1.answerDesc[j].value)
    alert(msg13);
    document.form1.answerDesc[j].focus();
    document.form1.answerDesc[j].select();
    return false;
    document.form1.submit();
    This function is used to go back to previous screen
    function goBack()
    if(window.confirm(msg14))
    if(document.form1.From.value=="Page")
    document.form1.action="EDETAIL_Add_Page_Content.jsp";
    else
    document.form1.action="EDETAIL_Upload_Text_Editor.jsp";
    document.form1.submit();
    By the way didnt this forum itself give you a big hint on Bold, Itallic & underline ?

  • News script in JSP HELLP!!!

    I am a beginer with JSP (i did something in PHP), i must do a news script for school and i don't have time to learn all about jsp. So cam someone tell mi the basics. I have the java and the tomcat server. I make a database in MYSQL but i dont know how to make it work with jsp.
    I must do something very simple a login and a form for the input of the newses.
    PS soooy for my english.

    See whetehr ethis helps. Yuo need to change the Driver Class for MySQL
    <HTML>
    <BODY>
    <%@ page import="java.sql.*" %>
    <%
    String strErrorMessage = " ";
    Connection conn = null;
    Statement stmt = null;
    if (request.getParameter ("n_entrada") != null)
    try
    Class.forName("com.jnetdirect.jsql.JSQLDriver").newInstance();
    conn = DriverManager.getConnection ("jdbc:JSQLConnect://<ServerIP>:Port/database=<dbname>/user=sa/password=sesame");
    stmt = conn.createStatement ();
    StringBuffer sbfQuery= new StringBuffer ();
    sbfQuery.append ("INSERT INTO destinatarios ");
    sbfQuery.append (" VALUES (" + request.getParameter ("n_entrada") + ",");
    sbfQuery.append ("'" + request.getParameter ("cod_entrada") + "')");
    stmt.executeUpdate (sbfQuery.toString ());
    strErrorMessage = "Cod. Dest. Successfull inserted";
    catch (Exception expGeneral)
    expGeneral.printStackTrace ();
    strErrorMessage = "" + expGeneral;
    finally
    if (stmt != null)
    stmt.close ();
    if (conn != null)
    conn.close ();
    %>
    <form method="get" action="Request.jsp">
    <table border="0" cellpadding="3" cellspacing="3" align="center">
    <tr>
    <td class="bolddark">N� Entrada :</td>
    <td><input type="text" name="n_entrada" class="formstyleShort" value=""</td>
    <td class="bolddark">C�digo Entrada:</td>
    <td><input type="text" name="cod_entrada" class="formstyleShort" value=""></td>
    </tr>
    <tr>
    <td colspan="4" align="left">
    <input type="submit" value="Inserir" class="formButton">
    <%-- Start of MR mr_smcoa_005 --%>
    </td>
    </tr>
    <tr>
    <td colspan="4" align="left">
    <FONT COLOR='RED'><B><%=strErrorMessage%></B></FONT>
    </td>
    </tr>
    </table>
    </BODY>
    </HTML>

  • Java script in Jsp Dynpage

    Hi all,
    Can any one give me a sample code for using a java script in jsp dynpage which invokes on client click. I mean i want to call a java script function on client click.

    Hi,
    Check these:
    https://wiki.sdn.sap.com/wiki/display/Snippets/JSPDynPage-Howtohideanelementonclienteventingaswellaschangethetextofthebutton+dynamically
    Search for onClientClick in above link and you will find the corresponding javascript function that is called when user clicks the button.
    Regards,
    Praveen Gudapati

  • Is there any possibility running a Perl Script in JSP?

    Is there any possibility running a Perl script in JSP and get the value of the JSP variable? The JSP page is running in TOMCAT 5.0 server.

    i am created one script .... i want to replace it the older one ... it is possible in development server ..... is there any possibility to assingn the form in quality server ?????
    is there any other way to assign the form to transaction with out using NACE?.
    Well regarding you question about the system to have it assigned, ideally you need to assign it in development and mopve it up stacks. However, i aint sure of the roles you are assigned with for doing any config changes in QS. and the config needs to be done through NACE. Following is the process.
    You need to first find the Output type and the standard form attached to the existing program/ tcode. This info can be fetcehd from TNAPR table. Once you have got the details, you can then get into NACE tcode to configure your new custom form instaed of the existing Standard one. Get the application type, output type from TNAPR table. Then select the particular outpput type in NACE nad click on processing routine. This is the place where the new form name needs to be updated.
    Hope this helps!
    Cheers!
    Varna
    Edited by: Varna17 on Sep 24, 2009 7:10 AM

  • Creating SQL-Loader script for more than one table at a time

    Hi,
    I am using OMWB 2.0.2.0.0 with Oracle 8.1.7 and Sybase 11.9.
    It looks like I can create SQL-Loader scripts for all the tables
    or for one table at a time. If I want to create SQL-Loader
    scripts for 5-6 tables, I have to either create script for all
    the tables and then delete the unwanted tables or create the
    scripts for one table at a time and then merge them.
    Is there a simple way to create migration scripts for more than
    one but not all tables at a time?
    Thanks,
    Prashant Rane

    No there is no multi-select for creating SQL-Loader scripts.
    You can either create them separately or create them all and
    then discard the one you do not need.

  • Error while executing script for sharepoint online (office 365) - the remote server returned an error: (503) server unavailable

    error while executing script for sharepoint online (office 365) - the remote server returned an error: (503) server unavailable.
    I am creating many site collections reading records from sharepoint list using powershell in sharepoint online tenant (office 365).
    Few site collections are created and then getting above error so this error record will be skipped then few succeeding record processed then again getting error.
    pattern is like:
    success
    success
    success
    success
    Error
    success
    success
    success
    success
    success
    success
    error
    success

    Hi,
    As it is an online environment, to troubleshoot this issue in an easier way, I suggest you contact Office 365 Support to see if there is any useful information in
    the log files in the server side:
    https://support.office.com/en-us/article/Contact-Office-365-for-business-support-32a17ca7-6fa0-4870-8a8d-e25ba4ccfd4b?ui=en-US&rs=en-US&ad=US
    Best regards
    Patrick Liang
    TechNet Community Support

Maybe you are looking for