Java Usage Concept Questions

I have a java Command line running program. Which allow input/edit data of clients and store them into a Flat file. The problem is that i have to make a GUI, ( a thin web based client ) and using only HTML and Javascript.
The next step is the db should be frontended by servlet or JSP that interact with thin client to perform the database retrievals.
Now my concept Questions:
1. Is it possible to communicate to a Java Program using HTML and Javascript? If so, any exampler, pointers?
2. I was thinking of using HTML and Javascript to directly modify the Database. ( Since it is a flat file therefore nothing more than a txt file ) But isn't this side stepping the problem?
3. If i could modify the Flat file using HTML and Javascript only. Why would i need JSP and Servlets? And if i could do it with JSP and Servlets only why would i need the think client ( HTML bit )?
If all of above 3 are correct ( conceptialy ), what is the orginal command line java program for?
The last question is why i think i have the concept wrong. Please i am new to web programming so feel free to point out any error.

Hello,
You a little off on a few things. let me explain what each is used for to give you a better idea what each i used for.
HTML - Used to format data. Is static and can't do any File I/O and such
Javascript - Is usaually used for client side validation and some cool effects.
JSP - Is a scripting language that allows you to execute code on the server to create dynamic content and server side stuff like saving to a DB or a file
Servlets - Kinda like JSP but gives you more control over a few things. Usaually used for form processing and Servlet/Applet communication
for you application i would probably embed HTML/JavaScript for layout and validation into a JSP page for your display pages.. then build JSP pages to handle all you business logic and processing.
--Zer0C00L                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • Concept Question about EDI and Error Processing

    Hello All,
    This is a concept question, I was wondering how others would approach this scenario.
    Let's take this scenario. In EDI often the transmission for a purchase order comes in with an invalid material number. Normal error processing is for the EDI team to research the issue (find the correct matnr), edit the idoc and reprocess the Idoc.  I would like to move that type of error processing out of the hands of the EDI folks and into the hands of the business users.
    How would they correct the material number? It has to be more intuitive than editing an IDoc, it has to be an easy and intuitive user interface. This process has to also work for many types of EDI transmissions both inbound and outbound.
    There would be many ways to handle this: create a report with an editable grid that would change the idoc during input and create the order with the corrections, convert the idoc to xml and use simple transformations, use an xsl report...etc.  You get the point. 
    How would you approach this?  Before I start the design I want to make sure I've given all the options due consideration...all options, webdynpro, transformations, regex, you name it...all is available, except there is no XI. 
    Personally I'm leaning towards an editable grid and processing buttons that would post the idoc in background...but I do that type of thing all the time and I may be in a rut and neglecting better design options.
    Thanks for your input,
    Greg

    <b>Paul:</b> So it runs the transaction silently in BDC format, until the error occurs, then opens up in dialogue to allow the user to change the invalid material, and then continue on with processing.
    This works when the processing function module uses BDC. But even then I think this is possibly nice from user perspective, but a nightmare from auditing perspective. I.e. correct me if I'm wrong, but I'm pretty sure there's no log indicating that the user changed the material number. Thus for anybody comparing the IDoc contents against the posted document (including change history) there's no trail that shows this change. Of course you can assume that this is what must have happened, but I personally prefer if I can track in the system what happened and have proof for that.
    <b>Reddy:</b>
    <ol>
    <li>it can be run daily basis, which should select all idocs which are in status 51 with message number (..related to wrong material number). report output should inlcude :idoc number-wrong mat no- space for new material to be entered by business against wrong 1. And there should be one button for RUN.</li>
    <li>After RUN, the material number should be changed to new 1 in segments and idocs should be reprocessed.</li>
    <li>repeat the run until business enter right mat num.</li>
    </ol>
    Design seems to limited to me (takes care only of one error message). Might work if that's the main pain point and this is the only one the user is dealing with. Otherwise I'd expect pretty soon they start complaining about having to use different tools for the possible errors. I'd keep the report more general, but allow this special form of processing only for a given error message (otherwise it's a normal re-process as triggered for example via BD87).
    Also, I assume that when you talk of changing the IDoc you mean that you actually keep an original copy around (like SAP does when you edit an IDoc). Often this is required from an auditing perspective. I'm not sure why you wouldn't want to check the material number <em>before</em> trying to process the IDoc to avoid wasting system resources (but maybe I misunderstood the step).
    Anyhow, in theory you could also achieve all of this via workflow. You can add custom columns to the work item overview in the inbox, only issue here is that it doesn't scale well (so issues with larger volumes).

  • Java application- database related concept question

    hi Friends,
    I have 2 concept related questions,can someone please help me on how to implement them.I am making a java-based VOTING application.First thing,I am making a generic application,so I
    don't know how many contestants would be there in each contest.
    So,how can I design my database table??Should I try to create a database table on the fly,depending upon how many contestant are there to participitate??
    Secondly,if somebody sends a vote like "contest_name contestant_name",I want to increment the counter of that particular person by one.So,should i have a separate database table,with the
    name of all the contestant and their repective counters.What if somebody sends a wrong contestant name,do i need to query the database for that too,or i can store beforehand all the contestant names in the session or somewhere else.........please help
    Thanks

    Layer 4.

  • Java package concept in ABAP Objects

    Hi, just a question on grouping of classes in ABAP Objects.
    In Java, you can group classes by "package" to avoid
    namespace collision, my question, in ABAP Objects, how
    do you group classes to avoid namespace collision?
    I know that there is package concept in SAP/ABAP but it
    is different concept in Java.
    Thanks in advanced for your reply.

    Hello One and Lonley,
    the package concept in ABAP and Java is quite different. In java the package name is part of the development object in ABAP not. So any class pool name is global unique. In combination with the restriction on 30 chars this leads often to somehow cryptic names.
    The only way to escape this somehow is the excessive use of local classes. That mean classes defined within main programs. If you are on 7.00 you may check FuGr SAPLSAUNIT_TREE_CTRL_LISTENER for this technique.
    Best Regards
      klaus

  • BI java usage type installation error

    hello everyone,
    Please help me resolve the following:
    Question1
    the system was earlier installed with following usage types:
    -as abap, as java, epc, ep (all on same machine)
    Now i want to addin BI-Java. During the installation I encounter error at phase "Install Java Engine" as follows:
    sapinst.log
    INFO 2009-02-15 03:22:23
    Output of C:\j2sdk1.4.2_12\bin\java.exe -classpath "C:/Program Files/sapinst_instdir/ERP/LM/AS-JAVA/ADDIN/ORA/CENTRAL/CI/install/sharedlib/launcher.jar" -Xmx256m com.sap.engine.offline.OfflineToolStart com.sap.security.core.server.secstorefs.SecStoreFS "
    sapdev/sapmnt/DEV/SYS/global/security/lib/tools/iaik_jce.jar;
    sapdev/sapmnt/DEV/SYS/global/security/lib/tools/iaik_jsse.jar;
    sapdev/sapmnt/DEV/SYS/global/security/lib/tools/iaik_smime.jar;
    sapdev/sapmnt/DEV/SYS/global/security/lib/tools/iaik_ssl.jar;
    sapdev/sapmnt/DEV/SYS/global/security/lib/tools/w3c_http.jar;C:/Program Files/sapinst_instdir/ERP/LM/AS-JAVA/ADDIN/ORA/CENTRAL/CI/install/lib;C:/Program Files/sapinst_instdir/ERP/LM/AS-JAVA/ADDIN/ORA/CENTRAL/CI/install/sharedlib;D:\usr\sap\DEV\DVEBMGS00\exe\ojdbc14.jar" insert -s DEV -f
    sapdev/sapmnt/DEV/SYS/global/security/data/SecStore.properties -k
    sapdev/sapmnt/DEV/SYS/global/security/data/SecStore.key admin/host/DEV sapdev is written to the logfile SecureStoreInsert.log.
    WARNING 2009-02-15 03:22:24
    Execution of the command "C:\j2sdk1.4.2_12\bin\java.exe -classpath "C:/Program Files/sapinst_instdir/ERP/LM/AS-JAVA/ADDIN/ORA/CENTRAL/CI/install/sharedlib/launcher.jar" -Xmx256m com.sap.engine.offline.OfflineToolStart com.sap.security.core.server.secstorefs.SecStoreFS "
    sapdev/sapmnt/DEV/SYS/global/security/lib/tools/iaik_jce.jar;
    sapdev/sapmnt/DEV/SYS/global/security/lib/tools/iaik_jsse.jar;
    sapdev/sapmnt/DEV/SYS/global/security/lib/tools/iaik_smime.jar;
    sapdev/sapmnt/DEV/SYS/global/security/lib/tools/iaik_ssl.jar;
    sapdev/sapmnt/DEV/SYS/global/security/lib/tools/w3c_http.jar;C:/Program Files/sapinst_instdir/ERP/LM/AS-JAVA/ADDIN/ORA/CENTRAL/CI/install/lib;C:/Program Files/sapinst_instdir/ERP/LM/AS-JAVA/ADDIN/ORA/CENTRAL/CI/install/sharedlib;D:\usr\sap\DEV\DVEBMGS00\exe\ojdbc14.jar" insert -s DEV -f
    sapdev/sapmnt/DEV/SYS/global/security/data/SecStore.properties -k
    sapdev/sapmnt/DEV/SYS/global/security/data/SecStore.key admin/host/DEV sapdev" finished with return code 2. Output:
    SAP Secure Store in the File System - Copyright (c) 2003 SAP AG
    A key/value pair with this key already exists in the store.
    ERROR 2009-02-15 03:22:24
    CJS-30051 Cannot insert a key value pair into the secure store fails; see output of log file SecureStoreInsert.log:
    SAP Secure Store in the File System - Copyright (c) 2003 SAP AG
    A key/value pair with this key already exists in the store..
    SecureStoreInsert.log
    SAP Secure Store in the File System - Copyright (c) 2003 SAP AG
    A key/value pair with this key already exists in the store.
    oh and btw...the issue remains with both administrator/devadm
    OR Question 2
    If the above scenario isnt possible, and I performed an uninstall, and after installing all the usage types again, and recovering the database....will i be able to get my integrated BI/ERP client back with it .. or will i have to perform the setup of BI client again ?
    Thanks for your valuable replies.
    Regards,

    First of all... As per SAP Installation guide additional usage type BI installation is POSSIBLE. 
    Please check SAP Note [883948|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=883948]
    And I guess you have all the primary required components.i.e. ABAP,Java, EP, EPC ...
    Question1
    the system was earlier installed with following usage types:
    -as abap, as java, epc, ep (all on same machine)
    Now i want to addin BI-Java. During the installation I encounter error at
    phase "Install Java Engine" as follows:
    ERROR 2009-02-15 03:22:24
    CJS-30051 Cannot insert a key value pair into the secure store fails; see output
    of log file SecureStoreInsert.log:
    A key/value pair with this key already exists in the store..
    Above error is basically because of JDK and not because of BI
    Please check following blogs...
    [Re: key value pair error;
    [SAPNW2004sJavaSP9_Trial- SecureStoreInsert ERROR;
    SAP Note [1071472|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1071472]
    As per this... following could be reason.
    1. check that iaik_jce_export.jar file is NOT included into the CLASSPATH.
    2.Use only one JDK version (or remove the other installed versions from the used environment variables).
    3. SAP Note [739043|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=739043]
    OR Question 2
    If the above scenario isnt possible, and I performed an uninstall,
    and after installing all the usage types again, and recovering the database....
    will i be able to get my integrated BI/ERP client back with it ..
    or will i have to perform the setup of BI client again ?
    I guess It might be difficult to UNINSTALL - may cause some inconsistencies in the current system.
    Still - If you really Don't want BI now... Best option could be full restore and recovery.- If you have consistent backup.
    But if you want BI - then, since above problem is because of JDK , I think it could be resolved.
    Let us know if anything....

  • Simple Java Network Programming Question

    import java.io.*;
    import java.net.*;
    public class ConsumerClient
         private static InetAddress host;
         private static final int PORT = 1234;
         private static Socket link;
         private static Resource item;
         private static BufferedReader in;
         private static PrintWriter out;
         private static BufferedReader keyboard;
         public static void main(String[] args)     throws IOException
              try
                   host = InetAddress.getLocalHost();
                   link = new Socket(host, PORT);
                   in = new BufferedReader(new InputStreamReader(link.getInputStream()));
                   out = new PrintWriter(link.getOutputStream(),true);
                   keyboard = new BufferedReader(new InputStreamReader(System.in));
                   String message, response;
                   do
                        System.out.print("Enter 1 for resource or 0 to quit: ");
                        message = keyboard.readLine();
         if(message.equals("1")**
                             item.takeOne();**
                        //Send message to server on
                        //the socket's output stream...
                        out.println(message);
                        //Accept response from server on
                        //the socket's input stream...
                        response = in.readLine();
                        //Display server's response to user...
                        System.out.println(response);
                   }while (!message.equals("0"));
              catch(UnknownHostException uhEx)
                   System.out.println("\nHost ID not found!\n");
              catch(IOException ioEx)
                   ioEx.printStackTrace();
              finally
                   try
                        if (link!=null)
                             System.out.println("Closing down connection...");
                             link.close();
                   catch(IOException ioEx)
                        ioEx.printStackTrace();
    }

    georgemc wrote:
    BlueNo yel-- Auuuuuuuugh!
    But the real question is: What is the air-speed velocity of an unladen swallow?

  • WD Java iView Creation Question/Issue - CE 7.1 EHP 1 Trial

    Hi all,
    Im posting this question here seeing as that the issue has arrised on an installation of the AS JAVA and EP shipped with CE 7.1 EHP1 Trial.
    When attempting to create an iView for a deployed custom WD Java app on the trial Portal I am taken straight to the iView template selection without being given the options for iView creation( ie. create from template, portal component or WD Java app). Is this by design ( WD Java iView creation has changed from previous Portal versions or is limited in Trial installation), is this an issue with the components shipped with the Trial or an issue on my installation only?
    Currently my only solution for deploying WD java content is to copy the actual application and paste it as Portal content which then creates a WD Proxy page with a single WD Proxy iView (that of the copy pasted WD app). This is fine for single app scenarios but becomes an issue with multiple apps on one page and drag and relate scenarios.
    Kind regards,
    Willem.

    Hi Williem
    Please check the SAP CE 7.1 EHP1 documentation for more information.
    [CE 7.1 documentation|http://help.sap.com/saphelp_nwce711/helpdata/en/44/d958673ef05f4de10000000a11466f/frameset.htm]
    [CE 7.1 iViews  |http://help.sap.com/saphelp_nwce711/helpdata/en/f5/eb51590e6a11d7b84900047582c9f7/frameset.htm]
    Hope this will helps you.
    Thanks
    Arun Jaiswal

  • Help AVL Tree in JAVA code (remove) question-answer

    Hi,
    everyone. I have question.
    I want codes in Java for AVL Tree.
    I but must have remove methods or choose elements.
    It`s main for me.
    If you know, please write in code JAVA or contact e-mail.
    or link to page or if you have self code.
    thanks,
    regards
    [email protected]

    I have a better idea.
    Why don't you try to do it yourself, and when you get stuck, post your code and details of what difficulty you're having.
    When you post code, please use[code] and [/code] tags as described in Formatting tips on the message entry page. It makes it much easier to read.

  • Java Programming Language questions...???

    Hi everybody....
    Can I post here my questions about Java Programming Language....or only to to the relevant Sun's forum....http://forum.java.sun.com/index.jspa???
    My greetings,
    Simon

    Simon,
    sure, the worst thing that could happen is that people point you to the SUN forum. Usually this forum answers general Java questions.
    Frank

  • Java reflection (interesting question)

    hi folks,
    class A {
    void foo() {
    Class B overrides method foo() in A
    class B extends A {
    void foo() {
    Now i create a object of class B and assign to A
    A aref = new B();
    aref.foo() will call method foo()of class B. //polymorphism
    Using reflection, is it possible to call method foo() of class A using the handle aref.
    thanks
    venkat

    hi bondvenky,
    What abt the answer for my original question. How to
    access the base class methods using the handle for
    child class object using reflection ?as far as i know, this isn't possible - your next question is probably going to be "why". It certainly seems slightly surprising that you can't do this, but you can access private methods. Unless you consider the latter a weaker way of breaking encapsulation (!?).
    what was the sun's purpose behind allowing access to
    the private methods of an object using Java
    Reflection? good question.. its very useful but on the other hand i can't think of a time i've used it that couldn't be classed as a hack.
    Is it not a security threat to java security model?it doesn't break anything - ie its not a security loophole. It links in with your question above though - would it have been possible/useful to not allow it period?
    sorry for the vague answers :(
    asjf

  • Java/OO Design question.  Please help!

     

    Brian,
    I'd say your better off trying the
    weblogic.developer.interest.ejb newsgroup
    or alternatively try the discussion forums in
    www.theserverside.com
    or
    http://forum.java.sun.com/
    For what its worth I'd return an empty array rather than an exception as I associate
    exceptions with real errors whereas a search that happens to return nothing is a
    valid result.
    Cheers,
    mairt
    "Brian Snyder" <[email protected]> wrote:
    >
    I'm certain this is not the best forum for my question, but I didn't any
    other
    that seemed obvious.
    I have a design issue/ OO question. Our system has the very common requirement
    of searching. We have build a session EJB which actually performs the search
    and returns a collection of Value Objects back to the client. My question
    is
    this: If the search EJB finds no matching records, what is the correct
    strategy
    for dealing with it?
    1) Throw an application exception, such as "NoDataFound", which the client
    can
    catch and handle appropriately
    2) Simply return a null collection. In which case, the client will have
    to check
    for null, and redirect program appropriately.
    3) Simple return type, such as boolean, for the method -- indicating success
    or
    failure (meaning no records found).
    4) Something entirely different. If so, what?
    Your thoughts on this subject would be greatly appreciated!
    Thanks!
    Brian

  • AutoVue for Agile PQM - Java Runtime Environment Question

    Greetings,
    An end user is attempting to view/open attachments within Agile Product Quality Management (PQM); we use Agile PQM 9.3.1.
    When clicking on an attachment file, a pop-up screen opens with a javascript alert, prompting the user with, "Please Install Java Runtime Environment." After clicking "OK", user is redirected to java download website. User downloads and installs the update.
    After rebooting the machine, we attempt to access the attachment file again within PQM and receive the same error message, "Please Install Java..."
    After installing the first java update, the user is now on the following java version:
    Java Plug-in 10.55.2.14
    Using JRE version 1.7.0_55-b14 Java HotSpot(TM) Client VM
    Do we need to install the second update to be able to view attachments within Agile PQM via AutoVue?
    I can't test the java updates myself because there are some legacy Oracle apps that I won't be able to support if I update my java.
    Thanks in advance,
    William

    You might want to post the question to the Agile forum
    The popup you see seems to be tied to Agile code itself and not AutoVue
    AutoVue will work on Java 7u55
    But you are running Agile, so you will need to make sure the rest of the apps are confirmed with 7u55
    You also need to review Java update guidelines, by default you will be always prompted to install the latest java update

  • Java and encryption - question please...

    Hi all,
    Does Java provides libraries for encryptions eg DES. or i need to find Dll or alternatively write the whole crap?
    any hint, online tips , example will be appreciated.
    best regards
    rahman

    Thanks for quick replies of you guys!!
    I really really appreciated.
    Mine is jdk 1.4 which means i already have the encryption stuff.
    Is there any example available to show usage of one of these encryptions eg DES at all.
    will be really appreciated.
    regards
    rahman

  • "Can you list me some features of the java language"(Interview question )

    Hi,
    This was a question I got yesterday in an interview, exactly as the interviewer said it.
    I listed off it's cross platform feature... what else would you have added?
    Question 2. He also looked for #2the differences between java and C++"

    It does if you put <sarcasm> tags in/Too easy, and that wasn't the point back then anyway. :)
    Look at this forum sometime and see how many people
    cram procedural code into a main and still call
    themselves "Java programmers". Yepp. I dare to say that I do much better design, yet I don't call myself a programmer, even though I get paid for coding.
    Java doesn't enforce
    it, either. There's no way to mandate O-O thought.Yes and no. IIRC (it's been a very long time, and I mostly did C, anyway), you can write C++ code without ever creating one class. You can't do that in Java. So It's be a bad OOD, but never a good structural design, as structural design doesn't know classes.

  • Java.lang.ExceptionInInitializerError question

    Hi, the following two postings were sent to the Programming forum, and we were referred to the Cryptography forum. Any ides on this problem, cryptography gurus?
    This topic has 2 replies on 1 page (Most recent message: Jul 8, 2002 11:27 AM)
    Having a problem with Java Cryptography Extension (JCE)
    Author: dnhll23 Jul 6, 2002 2:11 AM
    Hi, this is my first attempt at using the JCE. I'm using JCE 1.2.1
    and basically all I'm trying to do at this point is encrypt a
    FileInputStream object using the DES standard, with the JCE
    classes. Here is my code Fragment.
    protected FileOutputStream encriptFile(FileInputStream baseFile,
    File encFileName) throws IOException
    try
    // Create the output file for the encrypted document
    FileOutputStream encriptedFile = new FileOutputStream
    (encFileName);
    // Must register the provider that implements the algorithm
    Provider sunJce = new com.sun.crypto.provider.SunJCE();
    Security.addProvider(sunJce);
    char[] pbeKeyData = password.toCharArray();
    PBEKeySpec pbeKeySpec = new PBEKeySpec(pbeKeyData);
    SecretKeyFactory keyFactory = SecretKeyFactory.getInstance
    ("DES");
    SecretKey pbeKey = keyFactory.generateSecret(pbeKeySpec);
    Cipher pbe = Cipher.getInstance("DES"); // Same as above.
    pbe.init(Cipher.ENCRYPT_MODE, pbeKey);
    CipherOutputStream cout = new CipherOutputStream
    (encriptedFile, pbe);
    // Use a byte array to write the file output in blocks of 64
    bytes.
    byte[] buffer = new byte[64];
    while (true)
    int bytesRead = -1;
    bytesRead = baseFile.read(buffer);
    if (bytesRead == -1) break;
    cout.write(buffer, 0, bytesRead);
    cout.flush();
    cout.close();
    baseFile.close(); // Close the input file.
    catch (java.security.NoSuchAlgorithmException nsA)
    System.err.println(nsA);
    nsA.printStackTrace();
    catch (java.lang.ExceptionInInitializerError eIIE)
    System.err.println(eIIE);
    eIIE.printStackTrace();
    catch (Exception e)
    System.err.println(e);
    e.printStackTrace();
    My problem arises with the line "SecretKeyFactory keyFactory =
    SecretKeyFactory.getInstance("DES");" This line throws an
    ExceptionInInitializerError and the catch block tells me this
    java.lang.ExceptionInInitializerError
    java.lang.ExceptionInInitializerError: java.lang.SecurityException:
    Cannot set up certs for trusted CAs
    (The rst of the stackCall here)...
    From what I've read in the documentation, I need to have a provider
    set up that handles the SecretKeyFactory and encryption algorithms,
    but the documentation also says that the SunJCE provider that I set
    up near the start of my method should have been able to handle this.
    Is there anyone out there with expeience doing this kind of thing
    that can help.
    Thanks
    Re: Having a problem with Java Cryptography Extension (JCE)
    Author: mutmansky
    In Reply To: Having a problem with Java Cryptography Extension (JCE) Jul 8, 2002 11:22 AM
    Reply 1 of 2
    Have you figured out an answer to this problem yet? I'm having a very similar problem. I'm running an applet that needs to decrypt information that it is retrieving from CORBA and I'm getting the following exception:
    java.lang.ExceptionInInitializerError
    at javax.crypto.Cipher.getInstance(DashoA6275)
    at CorbaDecrypt.doDecryption(CorbaDecrypt.java:132)
    at EventChannelListener.run(EventChannelListener.java:325)
    Caused by: java.lang.SecurityException: Cannot set up certs for trusted CAs: java.lang.SecurityException: Cannot verify jar:file:C:/PROGRA~1/Java/J2RE14~1.0_0/lib/security/local_policy.jar!/
    at javax.crypto.SunJCE_b.<clinit>(DashoA6275)
    ... 3 more
    I'm using JDK 1.4 so, there's no need for my code to have the two Provider setup lines, but otherwise my code looks much the same as yours. The code works fine when run in a test app on the server, but not in the Applet. The file that it's looking to verify (local_policy.jar) does not exist, and I don't want to create one manually, because my users would have to do that then too, which is unacceptable. I am using a trusted applet, so I'm not sure what more I can do to grant the applet the proper permissions. Does anyone have any ideas what we need to do here?
    Thanks.
    Steve

    Hi all --
    I'm have the same problem as the initially posted question. I'm using JDK 1.3.03 and I get the following excepion:
    Exception in thread "main" java.lang.ExceptionInInitializerError: java.lang.SecurityException: Cannot set up certs for trusted CAs
    at javax.crypto.b.<clinit>([DashoPro-V1.2-120198])
    at javax.crypto.SecretKeyFactory.getInstance([DashoPro-V1.2-120198])
    at PasswordEncoder.encrypt(PasswordEncoder.java:28)
    at PasswordEncoder.main(PasswordEncoder.java:89)
    I've followed all the instructions for installation and configuration in the JCE User's Guide.
    Any suggestions?
    Thanks all.
    Niran

Maybe you are looking for

  • How do you keep bottom columns from overlapping another div

    I am using DW CS3 and am following instructions on making first web page everything is fine till I get to positioning the columns at the bottom of page when i try and set a css rule to position left column the column overlaps the previous div the ins

  • MSI p35 Neo 2 zombie mainboard

    Hi Guys, FIRST OFF, DO NOT TRY THIS AT HOME UNLESS YOU KNOW WHAT YOU ARE DOING. IT IS VERY DANGEROUS!!!! Was going to place this in Intel Core 2 Duo/Quad boards, but thought better suited here. Basically, I lent P35 system to a friend. They had seen

  • How to send notification via email

    As we know, there is one step type "Sent Mail" in the workflow builder. However, the notification can only be sent to business workplace.  Any one knows how to let sap automatically send the notificatfion to both business workplace and email box of t

  • Status Max Time - Query Limits

    Hi all, We have set the time limit of 7 mins for a particular group. When a user who belongs to that group running a report, it took 8 min 17 s to execute. In this case we did not get any error for crossing 7min limit. Does this 7 min includes only t

  • Hierarchy Modelling

    Dear Experts, I am new to SAP BI world.  I need your expert advice. I am modelling a hierarchy for 0material. My client has 5 different levels for each material. Business Unit    Department    Category     Class      Sub Class      0MATERAIL A Busine