Are you a Service Tech?

If your answer is yes, now we have a tool for you to make your job easier. It is called easy-Data SC Tool. Where can I find it? Access web addres <‘jcrdeveloper. net .au’>, and click the SC Tool link to the right of the social media buttons. Follow a few steps below: 1. Click…

org.apache.jasper.JasperException: java.lang.NullPointerException HTTP Status 500 – org.apache.jasper.JasperException: java.lang.NullPointerException

The issue why Java thrown this exception is you have an database error connection. Simple as your user and password is wrong or just the name of your database doesn’t match. Check your database properties. Connection connection; public void dbConnection(){ try{ Class.forName(“org.apache.derby.jdbc.EmbeddedDriver”); }catch(ClassNotFoundException e){e.printStackTrace();} try{ connection = DriverManager.getConnection(“jdbc:derby://localhost:1527/accommodation”,”admin”,”admin”); }catch(SQLException e){e.printStackTrace(); System.out.println(“Error connection DB”);} }

Web Programming How to detect an element id when it is been clicked or change

Using a Javascript function it can display the id that has been clicked on your dynamic element. I say dynamic in this case when you create elements programmatically. your Javascript <script> function getVariable(clicked_id){ alert(“Accommodation clicked: “+clicked_id+” text”+this.innerHTML); } </script> your Java Script Ellen Page out.println(“<td>”); out.println(“<a href=’accommref.jsp’ id=’”+myResult.getInt(1)+”‘”); out.println(” onclick=getVariable(this.id)>”+myResult.getInt(1)+”</a>”); out.println(“</td>”); For more details contact…

Error: The Import android.support.v7 cannot be resolved

Solution: Go to your project in the navigator, right click on properties. Go to the Java Build Path tab on the left. Go to the libraries tab on top. Click add external jars. Go to your ADT Bundle folder, go to sdk/extras/android/support/v7/appcompat/libs. Select the file android-support-v7-appcompat.jar Go to order and export and check the box…

Android Development (Emulator Error Stopped)

If you want to test GPS on android emulator but you find your app has Error “Stopped Unexpectedly” when I try to run its on emulator. I found out simple solution for this problem. Run your application as follow: Go to RUN then select RUN CONFIGURATION. Go to ECLIPSE and select DDMS (is on your…