Hello good afternoon. I have successfully serialized data in the past, however it seems as if I don;t fully understand the process. I have a class called ProgramState which stores a variable (called lastCreated) with custom class LinesProject and an ArrayList variable(called recentProjects) of this custom class. The purpose of these variables is to store the last created project as well as a list of five recently opened projects. Here is ProgramState: public class ProgramState implements Serializable{ private LinesProject lastCreated; private ArrayList<LinesProject> recentProjects; public ProgramState() { lastCreated=new LinesProject(); recentProjects=new ArrayList<LinesProject>(); } public ProgramState(LinesProject proj) { lastCreated=proj; recentProjects=new ArrayList<LinesProject>(); } //Setters …

Member Avatar
Member Avatar
+0 forum 3

Hello, I am facing a problem with the look and feel for oracle forms. I am using the file laf_11112.jar. one Problem is that when we open a window the title bar displayes the text in squares. the language original text is in Arabic. second problem is that we can not check the check box by pressing on its box but by pressing 1 cm further to the right. Do u Know what settings should i shange to fix this, keeping in mind that my applicationn is in Arabic. thank you

Member Avatar
Member Avatar
+0 forum 1

Hello All, I have been developing a website that has a secure area. At the beginning of the secure page I wrote a scriptlet to check whether the user is logged in. I want to take this scriplet and put it in a javabean. Could any of you guys suggest a way of doing this? String clientIP = request.getRemoteAddr(); //get remote address String clientHost = request.getRemoteHost(); //get client host int hashVal = (request.getRemoteAddr() + request.getRemoteHost()).hashCode(); //create hash if(session.getAttribute("hsh") != null){ //hash was not created for this session.. if(Integer.parseInt(session.getAttribute("hsh").toString()) != hashVal){ //hashes should be the same response.sendRedirect("./login_page.jsp?error=2"); //the hashes dont match …

Member Avatar
Member Avatar
+0 forum 1

The End.