I have following code
public class TEST
{
public static void main(String arg[]){
try
{
System.out.println("execute try");
//what should I write hear that finally does not run.
}
catch (Exception e){
System.out.println(e);
}
finally{
System.out.println("execute finally");
}
}
}
what should I…
I am using Struts application while running welcome page is run successfully after that the following error is appear
org.apache.jasper.JasperException: Failed to load or instantiate TagLibraryValidator class: org.apache.taglibs.standard.tlv.JstlCoreTLV
any idea whats the problem.
public class b {
public static void main(String[] args) {
byte b = 1;
long l = 127;
// b = b + l; // 1 if I try this then it does not compile
b += l; // 2 if I try this then it does compile
System.out.println(b);
}
}
I am using this code but I have problem:
I don't…
I am using My-eclipse and doing a struts project there is no syntax error but on starting tomcat server the following error appear in console.
java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory
and
javax.servlet.UnavailableException: Parsing error processing resource path…
class Name implements Runnable {
public void run() {
for (int x = 1; x <= 3; x++) {
System.out.println("Run by "
+ Thread.currentThread().getName()
+ ", x is " + x);
}
}
}
public class Threadtest…
I am confuse about this ie java is pure object oriented language but I have seen in some good books there is mantion java is not a pure object oriented but I don't get why. So please give me the answer why java is not pure object oriented language?
I am moving on the project in which I have to using struts with hibernate please ssugget good book for it.
I have to use
struts 1.2,
hibernate, and
MySql
I want to take Input from the user as Big-Integer and manipulate it into a For loop
BigInteger i;
for(BigInteger i=100000;i<=1;i--){
i=i+i;
}
But it won't work
can any body help me.
I am doing an application in which i have to download ppt file using a jsp page.
I am using The following code but its not working
<% try {
String filename = "file/abc.ppt";
// set the http content type to "APPLICATION/OCTET-STREAM
…
I am making an installer in java swing it almost completed only one thing is left to do
that is to create desktop shortcut of our software.I do not want to copy software on desktop but I want to create instance of that software like other MS…
Hi I have a web projects which is build in VS2003/1.1 framework and deployed in a webserver with IIS setting specified to 1.1 framework.lets say project X
I also have another web project which is build with VS2008/2.0. IIS setting - ASP…
I am using jboss 4.2 server and oracle xe both have same port no ie 8080 so I want to change my jBoss port for run our application please tell me how to change port in jboss.
I know how to change port in tomcat but I didnot find in…
To hide a column from only the view of JTable, i am using the removeColumn() method. But it throws the exception
Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 7 >= 7
at…
Event-Driven SOA: Events meet Services | Guido Schmutz
Oracle ACE Director Guido Schmutz shows you how to achieve extreme loose coupling within a Service-Oriented Architecture by using event-driven…
The top 20 most-clicked links as shared via my social networks for the week of March 25-31, 2012.
Oracle Cloud Conference: dates and locations worldwide
The One Skill All Leaders…
Webcast: Meeting Customer Expectations in the New Age of Retail
Keep your eye on this live webcast as Sanjeev Sharma (Principal Product Director, Oracle Exalogic), Kelly Goetsch (Senior…