Applet-Adf communication help!

Version 11.1.1.3.0
So i have a USe case:
Where i have a ADF serach screen..simple serach get result in table.Then from table i need to select row and click on View button.
from View button we need to show the image which we can zoom in/out and can do other stuff.
So on view button i want to call applet which will show the image.(there are many other reason to use applet so we have to use appplet)
i created a jsff page on which i have applet code(Applet.jsff) like this
applet.jsff
<?xml version='1.0' encoding='windows-1252'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
xmlns:f="http://java.sun.com/jsf/core">
<af:panelGroupLayout id="pgl1">
<applet code="sni.edms.model.applet.NewApplet" height="100" width="1000"
archive="/edmsui/adflibEDMSApplet.jar"></applet>
</af:panelGroupLayout>
</jsp:root>
I have a task flow(T1) where i have jsff page with ADF Search screen(Adf.jsff) and i drag the Applet.jsff page and link the two.
Now when i click on view button i get the applet screen and it show up correctly with correct data but with the below UI error(which display as dialog box)
"Assertion failed:Incorrect use of ADFRichUiPeer.GetDomNodeForCommentComponent.AdfRichCommandLink"
I know thsi error comes on incorrect use of tags but i havent use Commnd link, and its throwing link error.
My Question is..Can we call applet code from jsff page if not then how do i call applet code from adf screen.
if we can then whats wrong with my jsff applet page.
Thanks..any help will be appreciated.

Hi,
see: http://www.oracle.com/technetwork/developer-tools/adf/learnmore/71-adf-to-applet-communication-307672.pdf
see: http://www.oracle.com/ocom/groups/public/@otn/documents/digitalasset/168479.jpg
Frank

Similar Messages

  • Big Problem in Applet-Servlet Communication-(Help)

    I wrote an method to send serialized objects from Applet to Servlet,
    the method is as following:
    private ObjectInputStream postObjects (URL servlet, Serializable objs[], String sessionID) throws Exception {
    ObjectInputStream in = null;
    ObjectOutputStream out = null;
    try{
    URLConnection con = servlet.openConnection();
    con.setDoInput(true);
    con.setDoOutput(true);
    con.setUseCaches(false);
    con.setRequestProperty("Content-Type","application/x-java-serialized-object");
    con.setAllowUserInteraction(false);
    con.setRequestProperty("Cookie", sessionID);
    out = new ObjectOutputStream(con.getOutputStream());
    int numObjects = objs.length;
    for(int x = 0; x < numObjects; x++){
    out.writeObject(objs[x]);
    out.flush();
    out.close();
    in = new ObjectInputStream(con.getInputStream());
    }catch(Exception e){
    e.printStackTrace(System.err);
    throw e;
    }finally{
    return in;
    when I call this method, I got the following error message in Applet console,
    my platform is Salaris 5.8 + iPlanet 6.0.
    java.io.EOFException
         at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2150)
         at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2619)
         at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:726)
         at java.io.ObjectInputStream.<init>(ObjectInputStream.java:251)
         at com.shinewave.lms.core.client.ServletProxy.postObjects(ServletProxy.java:255)
         at com.shinewave.lms.core.client.ServletProxy.doInitialize(ServletProxy.java:76)
         at com.shinewave.lms.core.client.APIAdapterApplet.LMSInitialize(APIAdapterApplet.java:60)
    java.lang.NullPointerException
         at com.shinewave.lms.core.client.ServletProxy.doInitialize(ServletProxy.java:77)
         at com.shinewave.lms.core.client.APIAdapterApplet.LMSInitialize(APIAdapterApplet.java:60)
    java.lang.NullPointerException
         at com.shinewave.lms.core.client.ServletProxy.doInitialize(ServletProxy.java:82)
         at com.shinewave.lms.core.client.APIAdapterApplet.LMSInitialize(APIAdapterApplet.java:60)
    Please help me to solve this problem, thank you very much.

    Hi..
    Sorry abt this. But I was hoping if u could help out on this..
    I am trying to implement a applet to servlet communication...
    wherin the servlet would read data from the database... and send it back to the applet which gets displayed on the applet...
    But the problem is that the applet is not able to establish a connection with the servlet..
    I am also using another supportive class whose object is basically passed from the servlet to the applet..
    could u help me..
    below is the piece of code...
    APPLET:
    import java.net.*;
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    import java.io.*;
    import java.util.*;
    public class TestApplet extends JApplet implements ActionListener
         JButton btnLoad;
         JTextField tfEmpno, tfFname, tfLname, tfSalary;
         URL url;
    private String webServerStr = null;
    private String hostName = "sandy";
    private int port = 8085;
    private String servletPath = "/jdbcTest.DBDetailsServlet";     
    public TestApplet()
         super();
    // suppress Warning Message
    getRootPane().putClientProperty"defeatSystemEventQueueCheck",Boolean.TRUE);
         public void actionPerformed(ActionEvent ae)
              if(btnLoad.getText().equals("Load"))
                   if(loadData())
                        btnLoad.setText("Save");
              else
                   btnLoad.setText("Load");
    //               saveData();
         public void init()
              setBackground(Color.pink);
              tfEmpno = new JTextField(10);
              tfFname = new JTextField(10);
              tfLname = new JTextField(10);
              tfSalary= new JTextField(10);
              JPanel panel = new JPanel();
              panel.setLayout(new FlowLayout());
              panel.add(tfEmpno);
              panel.add(tfFname);
              panel.add(tfLname);
              panel.add(tfSalary);
              getContentPane().add(panel, BorderLayout.CENTER);
              JPanel bottom = new JPanel(new FlowLayout());
              btnLoad = new JButton("Load");
              btnLoad.addActionListener(this);
              bottom.add(btnLoad);
              getContentPane().add(bottom, BorderLayout.SOUTH);
         public boolean loadData()
              try
         System.out.println("Web Server host name: " + hostName);
         webServerStr = "http://" + hostName + ":" + port + servletPath;
         System.out.println("Web String full = " + webServerStr);
                   String servletGET = webServerStr + "?"
         + URLEncoder.encode("UserOption") + "="
         + URLEncoder.encode("AppletDisplay");     
    //               url = new URL(getCodeBase(),"http://sandy:8080/servlet/jdbcTest.DBDetailsServlet");
                   System.out.println("Complete Servlet Url => " + servletGET);
                   url = new URL(servletGET);
                   URLConnection con = url.openConnection();
                   con.setUseCaches(false); // Turn off caching.
                   InputStream in = con.getInputStream();
                   System.out.println("\nsuccess ....... con.getInputStream() ");
                   ObjectInputStream ois = new ObjectInputStream(in);
                   System.out.println("\nsuccess ....... new ObjectInputStream(in) ");
                   Object object = ois.readObject();
                   System.out.println("\nGot the object from servlet...");
                   if(object != null)
                        System.out.println("\nObject NOT null ...");
                        ArrayList result = (ArrayList) object;
                        jdbcTest.EmployeeValue empval = (jdbcTest.EmployeeValue) result.get(0);
                        tfEmpno.setText(""+empval.getEmp_no());
                        tfFname.setText(empval.getFname());
                        tfLname.setText(empval.getLname());
                        tfSalary.setText(""+empval.getSalary());
                        System.out.println("\nObject processed " + result);
                        repaint();
                   return true;
              catch(Exception e)
                   e.printStackTrace();
                   System.out.println("\n\n loadData()=> E X C E P T I O N : " + e + "\n");
                   return false;               
         public void saveData()
              //yet to be implemented..
    SERVLEt:
    package jdbcTest;
    import java.util.*;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class DBDetailsServlet extends HttpServlet
         public void doGet(HttpServletRequest req,HttpServletResponse res )throws ServletException, IOException
              System.out.println("\nInside the doGet()\n");
              ArrayList results = getDetails();
              ObjectOutputStream oos = new ObjectOutputStream(res.getOutputStream());
              oos.writeObject(results);
         public void doPost(HttpServletRequest req,HttpServletResponse res )throws ServletException, IOException
              System.out.println("\nInside the doPost()\n");
              doGet(req,res);
         public ArrayList getDetails()
              try
                   System.out.println("\nServlet : inside GetDetails...");
                   Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                   java.sql.Connection con = java.sql.DriverManager.getConnection("jdbc:odbc:SandyDSN","","");
                   java.sql.Statement stmt = con.createStatement();
                   System.out.println("\n Statement created..");
                   java.sql.ResultSet rs = stmt.executeQuery("SELECT * FROM EMP WHERE EMP_NO = 222");
                   System.out.println("\n Query Executed...");
                   ArrayList results = new ArrayList();
                   while(rs.next())
                        EmployeeValue empval = new EmployeeValue();
                        empval.setEmp_no(rs.getLong("EMP_NO"));
                        empval.setFname(rs.getString("FNAME"));
                        empval.setLname(rs.getString("LNAME"));
                        empval.setSalary(rs.getLong("SALARY"));
                        results.add(empval);
                   System.out.println("\n Resultset Obtained...");
                   stmt.close();
                   con.close();
                   return results;
              catch(Exception e)
                   System.out.println("Error while retreiving details....." + e);
                   return null;
         public boolean saveDetails(EmployeeValue empval)
              try
                   return true;
              catch(Exception e)
                   System.out.println("Error while updating details....." + e);
                   return false;
    The utility class EMployeeValue is as below:
    package jdbcTest;
    import java.io.*;
    class EmployeeValue implements Serializable
         private long emp_no;
         private String fname;
         private String lname;
         private long salary;
         public EmployeeValue()
              super();
         public EmployeeValue(long eno, String fn, String ln,long sal)
              super();
              setEmp_no(eno);
              setFname(fn);
              setLname(ln);
              setSalary(sal);
         public long getEmp_no()
              return emp_no;
         public java.lang.String getFname()
              return fname;
         public java.lang.String getLname()
              return lname;
         public long getSalary()
              return salary;
         public void setEmp_no(long newEmp_no)
              emp_no = newEmp_no;
         public void setFname(java.lang.String newFname)
              fname = newFname;
         public void setLname(java.lang.String newLname)
              lname = newLname;
         public void setSalary(long newSalary)
              salary = newSalary;

  • Applet Jsp Communication - Help Required

    Hai ,
    well i have to just pass some text from an applet to the JSP ... how can i do it ???
    the Applet is Embedded in the same HTML page which has the jsp scriplets ...
    help me please ...
    PeterIyer

    thanx for that ,
    but i have a applet which conatins some data and i have to basically write it on the clients machine.
    as it is not possible for me to write on the client machine thru applet(i believe i am correct), i want to pass that data to some JSP so that i can download that from there ...
    i tried the URLConnection. though i was able to send the data to the JSP page i was unable to open that page from my applet. if i use the showDocument of the appletcontext class i am unable to get the data i have passed thru the URLCOnnection object..
    how can i solve this problem ... please Help me ...
    here is the code that i wrote .. it has no errors .. i believe
         try
                   URL appletURL = getCodeBase();
                   String strHost = appletURL.getHost();
                   String strPort = String.valueOf(appletURL.getPort());
                   String strProtocol = appletURL.getProtocol();
                   int portNumber = Integer.parseInt(strPort);
                   String strwp ="/DMig/download.jsp";
                   URL jspURL = new URL(strProtocol,strHost,portNumber,strwp);
                   URLConnection jspCon = jspURL.openConnection();
                   jspCon.setUseCaches(false);
                   jspCon.setDoOutput(true);
                   ByteArrayOutputStream byteStream = new ByteArrayOutputStream(512);
                   PrintWriter out = new PrintWriter(byteStream,true);
              String postData= "?xmlText=" + URLEncoder.encode(genXml(),"UTF-8");
              out.print(postData);
              out.flush();
              String strLength = String.valueOf(byteStream);
              jspCon.setRequestProperty("Content-Length",strLength);
              jspCon.setRequestProperty("Content-Type","application/x-www-form-urlencoded");
              byteStream.writeTo(jspCon.getOutputStream());
              URL tempURL = new URL(jspURL+"?"+postData);
              getAppletContext().showDocument(tempURL);
    Peter Iyer

  • Applet/servlet communication for byte transmission

    Hello all !
    I wrote an applet to transfer binary file from web servlet (running under Tomcat 5.5) to a client (it's a signed applet) but I have a problem of interpretation of byte during transmission.
    the code of the servlet is :
            response.setContentType("application/octet-stream");
            ServletOutputStream sos = response.getOutputStream();
            FileInputStream fis = new FileInputStream(new File(
                    "C:\\WINDOWS\\system32\\setup.bmp"));
            byte[] b = new byte[1024];
            int nbRead = 1;
            while (nbRead > 0) {
                nbRead = fis.read(b);
                System.out.println("octets lus = " + nbRead);
                sos.write(b, 0, nbRead-1);
            fis.close();
            sos.close();et le code de l'applet qui appelle cette servlet est :
            URL selicPortal = null;
            try {
                selicPortal = new URL(
                        "http://localhost:8080/AppletTest/servlet/FileManipulation");
            } catch (MalformedURLException e) {
                e.printStackTrace();
            URLConnection selicConnection = null;
            try {
                selicConnection = selicPortal.openConnection();
            } catch (IOException e) {
                e.printStackTrace();
            selicConnection.setDoInput(true);
            selicConnection.setDoOutput(true);
            selicConnection.setUseCaches(false);
            selicConnection.setRequestProperty("Content-Type",
                    "application/octet-stream");
            try {
                InputStream in = selicConnection.getInputStream();
                FileOutputStream fos = new FileOutputStream(new File(tempDir
                        + "\\toto.bmp"));
                byte[] b = new byte[1024];
                int nbRead = in.read(b);
                while (nbRead > 0) {
                    fos.write(b);
                in.close();
                fos.close();
             } catch (IOException ioe) {
                ioe.printStackTrace();
            }the file dowloaded is broken. it seems that bytes 01 00 or 00 01 are not correctly process.
    Some ideas to help me please ?

    hi,
    have you solved this issue.. please post me the code since i m also doing the applet/servlet communication and can use your code as reference.
    how to read the content placed in the urlConnection stream in the servlet
    Below is my code in applet
    public void upload(byte[] imageByte)
              URL uploadURL=null;
              try
                   uploadURL=new URL("<url>");
                   URLConnection urlConnection=uploadURL.openConnection();
                   urlConnection.setDoInput(true);
                   urlConnection.setDoOutput(true);
                   urlConnection.setUseCaches(false);
                   urlConnection.setRequestProperty("Content-type","application/octet-stream");
                   urlConnection.setRequestProperty("Content-length",""+imageByte.length);
                   OutputStream outStream=urlConnection.getOutputStream();
                   outStream.write(imageByte);
                   outStream.close();
              catch(MalformedURLException ex)
              catch(IOException ex)
    How can i read the byte sent on the outstream (in above code) in the servlet.
    Thanks,
    Mclaren

  • Asynchronous applet-servlet communication

    Hi all,
    I am trying to implement asynchronous applet-servlet communication and need your help. Anything would help(I tried with synchronous applet-servlet communication but doesn't solve my problem).
    Thanks,

    http://java.sun.com/docs/books/tutorial/networking/index.html
    You can open a socket connection. Bother the client and the server
    can have separate threads for reading and writing and that you gives you
    asynchronous communication. Later, if you think the server is generating
    too many threads and not scaling, you can use features of .java.nio to
    make it more scalable:
    java.nio.channels

  • Applet/Servlet communication - StreamCorruptedException

    Hi, I'm having a problem when I try to connect to a servlet. I am using applet/servlet communication. The problem only occurs when I have lauched a crystal report via http in a new window.
    After the report is launched if I try to hit my servlet I get the following error:
    java.io.CorruptedStreamException: invalid stream header
    Not all crystal reports I launch cause this behavior but I can see nothing in the url I use to launch the report that is out of place or different than other reports.
    APPLET-SERVLET CONNECTION
    try {
    StringBuffer path = new StringBuffer();
    path.append(ip);
    path.append("servlet/DatabaseServlet?");
    path.append("option=getRecords&query=").append(URLEncoder.encode(query,"UTF-8"));
    URL url = new URL(path.toString());
    URLConnection servletConnection = url.openConnection();
    servletConnection.setUseCaches(false);
    servletConnection.setDoInput(true);
    servletConnection.setDoOutput(true);
    servletConnection.setRequestProperty("Content-Type", "application/x-java-serialized-object");
    ObjectInputStream inputFromServlet = new ObjectInputStream(servletConnection.getInputStream());
    rc = (RecordCollection) inputFromServlet.readObject();
    inputFromServlet.close();
    } catch (Exception e) {
    e.printStackTrace();
    SERVLET CODE
    Forwards to doPost
    public void doGet(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
    System.out.println("session id: " + request.getSession().getId());
    this.doPost(request, response);
    LAUNCHING REPORT FROM APPLET
    try {
    String launchURL = host + directory + report + "?promptOnRefresh=0"+ "&" +
    authentication + "&" + key + "&" + startPeriods + "&" + reportYears + "&" + reportTitle + "&" endPeriods "&" + locations + "&" + reportPeriod + "&" + fiscalWeek + "&" + fiscalYear + "&" +time;
    context.showDocument(new URL(launchURL), "_blank");
    } catch (Exception ex) {
    ex.printStackTrace();
    SAMPLE URL THAT CAUSES PROBLEM
    http://localhost:113/Reports/OpenToBuy_3.class?promptOnRefresh=0&user0=rpuser&password0=er34sw1&[email protected]=rpuser&[email protected]=er34sw1&user0@sub2=rpuser&[email protected]=er34sw1&promptex-key="L","L1","ALL"&promptex-start="1"&promptex-years="2004","2004"&promptex-title="Report Title"&promptex-end="1"&promptex-locs="01","03","04","05"&promptex-period="Feb 2004 [04-01]"&promptex-cw="1"&promptex-cy="2004"&promptex-time=-2-52728"
    Everything works fine until I launch this report then I can no longer get data from my servlet. I thought the URL lenght for the report might be the problem but I lauch a report with a URL longer than the problem one and there I don't get the errors after. When I try to connect to the servlet the println statement in the doGet method of my servlet doesn't get printed so it's not even making it inside that method in the servlet.
    Anyone have any idea what could be causing this? Anyone have any ideas what would be causing this? I'm really stumped.

    I've seen this problem before. Because your accessing a complete URL (ie http://<host>:<port>/xxx), you are actually creating a new session. Whenever the applet opens a connection to a servlet it is running on it's own session not the same as the JSP. This is rather obvious since the Page and Applet are separate entities.
    Try sending authentication with the url. I think the syntax is:
    username:password@http://localhost/xxx
    However I'm not sure how well this might work for Tomcat. As for Java it may try and throw a MalformedURLException I would have to test it first - it's been a long time since I used this technique!
    Wish I could be more help,
    Anthony

  • Search Function does not work in Community Help

    Thanks in advance for anyone that can help.
    I use the Adobe Master Suite and have enjoyed the Community Help Application/Client.  I could do online searches for information with no issues.   In checking were I stood as far as offline documenation, I decided to download all of the Suite Documentation through the CHC Perferences through the Updater Settings and doing a manual download.  I believe (though not positive) is when my problems began.
    First, I have a MacBook Pro runing OSX 10.6.8 with FireFox Browser 9.01 (not sure the browser information is needed).  Adobe Community Help Version is 3.5.0.23 and the Adobe AIR application is version 3.1
    At this point I am able to view the online help files in the main viewing screen.  However, when I try and do a search, nothing shows up excpet a little dynamic clock icon showing that it is working and eventually it comes back with a dialog that says:  "An unexpected error has occured.  Please try your search again."
    Here is the screen shot before the search:
    And here is the image after trying a search:
    After several attempts to fix this myself, I am not asking help on the forum.  The last attemp I made was to
    - Uninstall AIR using the uninstall app under Applicaitons/Utilities/Adobe AIR Uninstaller.app
    - Deleted the folder   "user"/Library/Preferences/chc.4875E02D9FB21EE389F73B8D1702B320485DF8CE.1
    - Running the AIR installer (I downloaded the most recent version): Adobe AIR Installer.app
    - And then running the Adobe CHC help application directly: Adobe Help.app
    If I set preferences to open up in a Browser, that works just fine yet would prefer to use the CHC interface.
    Thanks in advance for any help including pointers on how to dig myself out of this hole I seem to be in.
    John
    ADDED EDIT: When I click the OK button on the error dialog, the main view window again shows the Adobe help information as in the first image.

    There is a thread on the topic on the Photoshop forum: http://forums.adobe.com/message/4124703#4124703
    Strange, it works in CS4
    But you guys are able to go to http://help.adobe.com/en_US/photoshop/cs/using/index.html right?
    It might be useful to know that you can set Community Help Sites as a search engine in your browser (it should offer you to register itself as a search engine, while Safari users have to add Glims to add additional search engines.) http://blogs.adobe.com/communityhelp/2009/01/opensearch_plugins_available_f.html

  • New update for Community Help application - version 3.5 now available

    Hi: just a quick announcement that the engineering team has released version 3.5 of the Adobe Community Help application.  This update is a very significant release that directly addresses a lot of the feedback that we’ve been hearing from the community.  The most significant changes include:
    Feature
    Benefit
    1.
    Tabbed Browsing
    Ability to open multiple pages   from multiple sources simultaneously
    2.
    Favorites/Bookmarks
    Ability to bookmark your   favorite URLs; note: we prepopulate a set of suggested bookmarks for you   based on the products you have installed.  Users can of course   add/edit/delete any bookmarks that they choose and can organize them via   folders, etc.
    3.
    Search/Browse History
    Ability to view previous pages   browsed or search results (including previously used filter options, search   collections, online/offline search status, refinements, and more).
    4.
    Flash Platform ASLR
    Ensures developers  only   have to download one copy of the ASR and not separate, multiple copies for   Flash vs. Flex, etc. 
    5.
    Revamped local content   download workflow
    The entire local content   download workflow has been reworked!  We have removed the pop-up dialog   box and moved the “content update” notification to the footer of the app as   well as the homescreen.  This ensures an uninterrupted workflow for   users who simply want to access content first and foremost.
    6.
    Performance improvements
    The team has worked especially   hard on improving the start-up and browsing performance by consolidating a   number of disparate server calls into a single initialization service that is   only performed at launch.  This enables us to cache a number of assets   and reduce network calls/dependencies.
    7.
    Silent application updates
    Similar to the changes in the   local content download experience, we have also revamped the update   experience for the application itself!  Going forward, app updates will   be downloaded in the background without interruption to the user workflow.
    8.
    Set-and-forget search options
    Search options are now sticky   from session to session – for example, if you check the Search Adobe   Reference check box for  Photoshop, the CHC will remember those options   the next time you open the app. This applies to refinements too.
    9.
    Much more!!
    Minimize to sytem tray (for PC   users only); upgrade to Flex 4.1 and AIR 2.5; and many, many other   enhancements, fixes, etc.!
    Note: many of these features were part of our earlier 3.4 release – as some of you know, we had to pull down that release shortly after launch due to server/hardware issues. So only a few users were able to update at the time.  CHC 3.5 is now a general release that will support all users and has been extensively tested to ensure robust performance and stability.
    To update your app, simply open the Community Help application from your hard disc or visit our download page on adobe.com:
    http://www.adobe.com/support/chc
    Please leave your comments/feedback here in this forum -- and feel free to spread the word!

    Hi Mark!
    I need to install latest Adobe Community Help silently to our corporate desktops. Are there any command-line syntax to do this and where I can download installer package?
    Thanks.
    BR,
    Teijo

  • Scroll wheel not working in Community Help App (Windows 7 64bit)

    I am using the Community Help App on both a Windows 7 32 bit machine and a Windows 7 64 bit machine.
    On the 32 bit machine, the mousewheel scrolls the content pane just fine.
    On my 64 bit machine, the mousewheel will not scroll the content pane. I have to use the scroll bar on the right (click and hold to scroll the content).
    This appears to the be case for all Adobe Air apps, as this functionality is identical in Adobe Story.
    I am using a Microsoft Wireless Mobile 4000 mouse on the Windows 7 machine.
    Is anyone else having this problem on 64 bit Windows 7 machines?

    I'm frustrated, too, because of the scroll wheel issue with any AIR applications.
    Running Windows 7 Home Premium N 32 bit.
    Using Microsoft Comfort Optical Mouse 3000 (wired, not wireless) - current drivers.
    Scroll wheel will not work when rolled normally, no matter what sensitivity I set the wheel to.  To get any scrolling action, I have to roll the wheel as fast as I can.  Then, it will scroll, but in horrible chunky bits, which ends up being wildly inaccurate and extremely frustrating.
    I've heard of many other people having this issue.  It's only when the program I'm using is an AIR application, which leads me to believe that Adobe did something to make AIR incompatible with a MS mouse & Win 7 OS.  (I have used the same mouse running Vista and scrolled fine in an AIR application.)
    Is Adobe going to correct this situation?

  • Error message in trying to use local content in Adobe Community Help of Flash Builder

    Hi,
    I have set my Adobe Community Help application preferences of Flash Builder to 'Display local content only'.to Yes.
    I also disabled my internet connection to use local help content only.
    I get the following error message when trying to access any of the links from Help home page.
    To view the requested page, connect to the Internet or deselect "Display Local Help content only" in Preferences.
    I understand this is due to all the links point online HTTP urls.
    But why cannot the local help content be accessed when it is already downloaded to local and the 'Display local content only' option is set to Yes?
    This saves me a lot ot time otherwise using Adobe Community Help is painful even for a short period of time.
    Thanks,
    Ram Manoj Kongara.

    Hi, Ram -
    To help troubleshoot your problem, can you please do the following:
    In the Adobe Community Help application, go to Edit > Preferences.
    Select Local Content.
    The list of Help packages downloaded locally appear. Make sure that the status of every Help packages reads “Current”. If the status of a Help package reads  "Out-of-Date”, select that Help package, and click Update to download the latest Help package. Note that to do this, you have to be connected to the Internet. Once you fully download the Help packages to your desktop, you can access Help offline.
    One other thing that I would want you to check is the Adobe Community Help Client version that you are using. To check that, in the Adobe Community Help application, go to File > About Adobe Help. The build version should be 3.2.0.610.
    Let me know if this helps. If the issue still persists, we can investigate further.
    Thanks,
    Mallika Yelandur
    Technical writer, Adobe Flash Builder

  • Is there a good advanced review on applet-servlet communication

    I am working on a web application and unfortunately experiencing a lot of trouble trying to use an applet as front end which interacts with a couple of servlets running on Tomcat. I need to get data from one servlet and send data to another.
    There is a lot of messages posted in this and other forums about how to do this, but none of them got a response pointing to a useful advanced reference on this subject. I have reviewed some of the references given, but couldn't find a thorough detailed advanced reference on applet-servlet communication. For this I mean an exhaustive explanation of the mechanism of communication and when and when is neccesary to use each of the multiple configuration possibilities regarding content-type, message-length, request-method, connection settings, and so on.
    Would anybody be so kind to show me the right direction? As I read the (literally) hundreds of messages posted on this topic, I see this info as widely useful. Most of the topic tracks ends on void or with painful no-way sentences, and maybe many people is avoiding Java technology on web application because of this problem (development delays can abort a project).

    This sample chapter in Java developers' guide to Servlets and Jsp focuses on Applet-Servlet communication, is a pretty good one, and is free :
    http://www.javaranch.com/bunkhouse/samps/2809ch12.pdf
    As to an exhaustive & complete guide that covers absolutely everything, I may be wrong but I doubt you'll find anything like that...unless there is a book somewhere dedicated to the subject.

  • Applet-servlet communication, object serialization, problem

    hi,
    I encountered a problem with tomcat 5.5. Grazing the whole web i didn't find any solution (some guys are having the same problem but they also got no useful hint up to now). The problem is as follows:
    I try to build an applet-servlet communication using serialized objects. In my test scenario i write a serialized standard java object (e.g. a String object) onto the ObjectOutputStream of the applet/test-application (it doesn't matters wheter to use the first or the latter one for test cases) and the doPost method of the servlet reads the object from the ObjectInputStream. That works fine. But if i use customized objects (which should also work fine) the same code produces an classnotfound exception. When i try to read and cast the object:
    TestMessage e = (TestMessage)objin.readObject();
    java.lang.ClassNotFoundException: TestMessage
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1359)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1205)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    ...That seems strange to me, because if i instantiate an object of the same customized class (TestMessage) in the servlet code, the webappclassloader doesn't have any problems loading and handling the class and the code works fine!
    The class is located in the web-inf/classes directory of the application. I've already tried to put the class (with and without the package structure) into the common/classes and server/classes directory, but the exception stays the same (I've also tried to build a jar and put it in the appropriate lib directories).
    I've also tried to catch a Throwable object in order to get information on the cause. But i get a "null" value (the docu says, that this will may be caused by an unknown error).
    I've also inspected the log files intensively. But they gave me no hint. Until now I've spend a lot of time on searching and messing around but i always get this classnotfound exception.
    I hope this is the right place to post this problem and i hope that there is anyone out there who can give me some hint on solving this problem.
    Kindly regards,
    Daniel

    hi, thanks for the reply,
    all my classes are in the web-inf/classes of the web-app and have an appropriate package structure. thus the TestMessage class is inside a package.
    i tried some names for the testclass but it didn't matter. the exception stays the same. I also tried to put the jar in the common/lib but the problem stays.
    Well the problem with loaded classes: As i mentioned in the post above i can instantiate an object of TestMessage in the code without any problems (so the classloader of my webapp should know the class!!)
    only when reading from the objectinputstream the classloader doesn't seem to know the class?? maybe theres a parent classloader resposible for that and doesn't know the class?
    strange behaviour...
    p.s. sending the same object from the servlet to the client works well
    regards
    daniel
    Message was edited by:
    theazazel

  • How do I re-find my 'Community Help' preferences?

    I had that 'Access denied' error message whenever I tried to access help within Flash CS5 (that's pretty bad). I searched for far too long and found the obscure solution.
    During the process I decided it might be safer to access the online help from my browser in the meantime. But with the problem solved I want to switch back to viewing the content through the Flash IDE.
    I can't find those preference settings again though, please help!

    To do so, return to this Preference page by reopening the Community Help application from your hard disk.
    The application will be present in "Programs " -> "Adobe Help" if in Windows.
    Or
    goto your installed location for e.g.  C:\Program Files\Adobe\Adobe Help\
    and then click "Adobe Help.exe"
    The in the application press "Cntrl + K " or got to Edit->Preferences.
    hope this helps.

  • Applet javascript communication

    hi all,
    I want my applet to flash the browser window, came to know that can be done
    using applet javascript communication.
    ne1 has ne idea how to do that.
    thx in adv,
    kiran

    ???

  • Applet, Application communication

    Hi
    Someone tell me how to do applet, application communication.
    I have one standalone application, running in server and receiving connection from applets and every min. the server has to send some data back to each apllet connected.
    How to do it... any sample or reffernces please..
    Thanks in advance
    Tomy

    Can you give me example codes using RMI / Socket
    thanks

Maybe you are looking for

  • Reducing a picture file to attach to an e-mail message on a new Z10

    Hello out there, recently got a new Z 10,  love it by the way.   Does any one know how to reduce the picture files that you take with the Z10 to attach one or more to an email message.   There is no prompt in the sending process that warns you the fi

  • ADE keeps freezing and resetting my book, especially on my kobo... Help?

    ADE will freeze and 'not respond' while I am using it on my computer. When I try to read on my kobo, it will freeze after every few page turns, and eventually say that I have finished my book, even though I am only partway through. It also takes fore

  • PC crashed! How do I get my photos back on it from iPhone?

    I used iTunes to sync my photos on my PC to my iPhone. My PC crashed this last week and I had to reinstall the OS. Now when I sync my iPhone it tells me it will erase all the pics on it. I just want to put the pics from the iPhone back to my PC. How

  • Macbook Pro i5 vs i7

    Hello, I'm looking to purchase my first Macbook Pro and I have a couple of questions. I can eithier go with i5 or i7, and when calculated the i7 will cost about $400 more. My question is, is it worth the price? I am going to be using my laptop for sc

  • Macbook built-in games and isight

    Hi! I am trying to play the games that come with my macbook (backgammon etc). I have invited a friend (also with a macbook), received the ichat invitation and started playing. The isight light was turned on and I could see myself live video, but not