Java Questions


How to invalidate the session in Java?
i have written code to logout the user session in my project. but its not if i click back option, the session is still alive. please suggest me. my code is Java code: public void logout() { session = request.getSession(); session.invalidate(); RequestDispatcher rd = new RequestDispatcher(“Homepage”); rd.forward(request,response); } After logout, if I click back , the session [...]

Answer Question   |  November 16, 2010  6:03 AM
Java, Java code, Session length, session terminating
asked by:
220 pts.

Career in Java
I have done Core Java and J2EE courses. But got job in other platform. Here I am working on report generation using OBIEE tool. I am thinking to change over to Java platform. Is my decision is good? If good, suggest me how to change, i mean how and what  shoul I study?

Answer Question   |  November 11, 2010  6:17 AM
J2EE, Java, Java developer, OBIEE
asked by:
220 pts.

Open URL in RPG from JAVA or QSHELL
how to open web url from a rpg program using QSHELL or JAVA, and without using STRPCCMD, RUNRMTCMD commands as STRPCCMD looses the CLIENT ACCCESS focus?

Answer Question   |  November 10, 2010  4:43 PM
Java, OPEN URL, Qshell, RPG Program, STRPCCMD
asked by:
85 pts.

JavaScript Error Through a VPN Connection
Hey all, I am having an issue with a data repository we set up to be accessed inside the company and for our affiliates outside through the use of a VPN. Now the site loads fine using the local address inside the network but when someone remotes in through the VPN site the page just [...]

Answer Question   |  November 19, 2010  3:09 PM
Cyberoam, Firewalls, IE8, Internet Explorer 8, Java, JavaScript, Javascript error, VPN
asked by:
1,200 pts.

JAVA! Isn’t effort saved spent elsewhere?
OK. So, JAVA is said to be platform independent since it generates Bytecode on compilation. There is a JVM for each platform which avoids the need for having a JAVA compiler for each platform. Does that not indicate that the effort saved in writing  Java compilers  for each  platform was spent in writing JVMs  for each  platform?

Answer Question   |  November 3, 2010  3:01 PM
Compilers, Java, JAVA jvm, JVM
asked by:
10 pts.

Creating interactive database in Java
i want to create a database to store the data and access it in an interactive manner. that is i should be able to randomly access the particular entry directly. a complete graphical application type……!!!! i need your direction

Answer Question   |  November 5, 2010  5:06 PM
Java, Java applications, Java Database, Java developers
asked by:
5 pts.

iSeries Java Dump
I have a customer that is receiving a Java dump several times per day on their Test system but does not occur on the Production system. I know nothing about Java of the JDM. I can submit any part or all of the dump, but not sure what you would need. I am including the [...]

Answer Question   |  October 14, 2010  9:39 AM
AS/400 Dumps, iSeries, iSeries Java programming, Java, Java programming
asked by:
325 pts.

Bandwidth management in a VPN network
development of heurestic algorithm for bandwidth management in a VPN network using learning classifier system

Answer Question   |  October 14, 2010  12:03 AM
Algorithms, Bandwidth, Bandwidth management, Java, VPN
asked by:
15 pts.

Internet Explorer blocks Java as pop-up
I’m new to Java and made my first java applet and attached it to an html file. When the html file is ran IE blocks the applet saying that “IE has restricted this webpage from running scripts or active x controls”. I can easily get the app to display by clicking on the messege and [...]

Answer Question   |  October 13, 2010  11:24 AM
IE, Internet Explorer, Java, Java applets, Java applications
asked by:
5 pts.

Jasper-adhoc Report :java.lang.RuntimeException: exception getting dataset from cache
Hi, I am using Jasper Report in my application and started doing with adhoc reports. I created a topic and created some reports out of it. The problem is : When i run these report from Jasper UI , they run successfully but when i tries to run these adhoc reports from my application, the following error occured . All [...]

Answer Question   |  October 7, 2010  11:45 AM
Ad Hoc, Jasper, Jasper Reporting tool, Java, Java Runtime Environment
asked by:
5 pts.

Array manipulation
i want to create a 10×10 matrix(with user input) for e.g., i have given a small sample of 2×2 matrix and below is the description regarding what manipulation i want to do. say for e.g my matrix is 0.76   1 0      0.3 now what i want to do is that, whenever the value in the [...]

Answer Question   |  October 6, 2010  6:52 AM
Array, Array processing, Arrays, Arrays (programming), Diagonal matrix, Java, Java Array
asked by:
15 pts.

Java files compilation
if we two files are placed at deferent drives and one file is related to another file (One file is complied individually), in that 2nd file first file object will be created. how to compile the java program  - PLESE HELP ME  regards  Rajeshbabu Chintamaneni 9985 555 678   

Answer Question   |  October 1, 2010  6:47 AM
Java, Java classes, Java code, Java developers
asked by:
5 pts.

About sap career
hai, I am sushma i have completed MCA in 2010.I am learning java right now but there is a huge competation for java and .net i want to learn sap is it right choice for me. I am fresher and searching for job,and also i can’t pay more.I am very eagerly waiting for your suggestion. [...]

Answer Question   |  November 15, 2010  4:18 PM
Java, MCA, SAP, SAP careers
asked by:
5 pts.

How to run Java code
i wrote a program for just to print helloworld,in notepad++,how can i run this,i istalled jdk1.6

Answer Question   |  November 10, 2011  6:00 AM
Java, Java code, JDK, Notepad
20 pts.

Java Development kit version 1.3 can’t execute
I downloaded jdk1.3version but i am unable to execute it! it leaves a comment that javac cannot be executed !!

Answer Question   |  September 21, 2010  11:09 AM
Java, Java applications, Java development, Java Development Kit, Java Remote Method Invocation, JDK
asked by:
5 pts.

Software application to build database
I’m Planning to build an application to store/update and retrieve data (say employee details) Could you please suggest me the best frontend and backend technologies to build this application?

Answer Question   |  December 14, 2010  6:26 PM
.NET, Access, Database, Database frontend, Java, Visual Basic, Web development, Web development tools
asked by:
5 pts.

Any open source tools to test desktop applications using Java?
We have a Test Framework in Java.  This framework is used to test client-server and web applications. To test webapplications we are recording application flows for wrappers/Action keywords using Selenium IDE. Selenium provided Java driver to execute the recorded selenium specific code in wrappers. Similarly I want to use our test framework to test desktop [...]

Answer Question   |  August 27, 2010  7:41 AM
Automated software testing, Automated Testing, Automation, Desktop management applications, Java, Open source, Open source testing tools, Software Quality, Software testing
asked by:
455 pts.

Best Web-based Automation
Hi, would you know what is the best automation for a webbase, we do have a lot ajax and we work on java. I tried selemium , but i’m not sure how to enter a test case..

Answer Question   |  August 25, 2010  8:51 PM
Ajax, Automation, Java, Selenium, Web based Applications
asked by:
20 pts.

Agent’s IP Address
hi everybody I want to find agent’s IP Address on the Interface in snmp but I don’t know How? anybody can help me?

Answer Question   |  August 24, 2010  6:10 PM
IP address, Java, Java agent, Java programming, SNMP
asked by:
15 pts.

AS400 to SQL
I am going to be leading a project to convert old AS400 data to SQL, and build a web front end.  Does anyone have a project charter, project plans etc I could use a a baseline for my write?  I’m looking for the whole gambit of information surrounding this ‘conversion’ and lessons learned etc.  Thanks [...]

Answer Question   |  August 25, 2010  1:50 PM
AS/400, Conversion, Java, Project management, SQL
asked by:
15 pts.