[java ee programming] read the content of a url

2011-06-27 Thread ANUJ KUMAR
can some please provide me with the code to read the content of a url. i mean only the content of the url not the html sourse. I used he code given in http://download.oracle.com/javase/tutorial/networking/urls/readingURL.html but it is reading the html content and not the actual content. Thanks, An

[java ee programming] perl integration with netbeans

2011-04-18 Thread ANUJ KUMAR
what do i need to do inorder to runa perl script in netbeans. -- You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe f

[java ee programming] database connection

2010-03-23 Thread ANUJ KUMAR
My database name is TEST usename is db2inst1 password is db2inst1 table name is USERS when i execute this code i get com.ibm.db2.jcc.b.nm: DB2 SQL Error: SQLCODE=-204, SQLSTATE=42704, SQLERRMC=DB2INST1.USERS, DRIVER=3.50.152 please help String username=request.getParameter("user"); username.tr

[java ee programming] definition of in-built functions

2010-02-26 Thread ANUJ KUMAR
How can we see the definition of the functions in the package we import. -- You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To un

[java ee programming] javamail api

2009-12-07 Thread ANUJ KUMAR
--- when i run this file i get javax.mail.MessagingException: Unknown SMTP host: nitdgp.ac.in; Please help me. Thanks&Regards Anuj Kumar -- You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Pa

[java ee programming] db2

2009-10-19 Thread ANUJ KUMAR
what should i do in order to access db2 database from elcipse --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programm

[java ee programming] Re: javamail api

2009-10-17 Thread ANUJ KUMAR
it was givving domain not found as an error On Sat, Oct 17, 2009 at 7:33 PM, ANUJ KUMAR wrote: > please some can tell me what is the problem with the code below > > > > > <%@ page import="java.text.*"%> > <%@ page import="java.util.*"%>

[java ee programming] javamail api

2009-10-17 Thread ANUJ KUMAR
please some can tell me what is the problem with the code below <%@ page import="java.text.*"%> <%@ page import="java.util.*"%> <%@ page import="javax.mail.*"%> <%@ page import="javax.mail.internet.*"%> <%@ page import="javax.activation.*"%> <% try { InternetAddress toAddress=new Inte

[java ee programming] java

2009-10-15 Thread ANUJ KUMAR
I am getting this error what should i do? [r...@localhost bin]# ./startup.sh Neither the JAVA_HOME nor the JRE_HOME environment variable is defined. At least one of these environment variable is needed to run this program. Thanks&Regards Anuj K

[java ee programming] session

2009-10-02 Thread ANUJ KUMAR
if i want that a user should not be able to come back to his inbox once he logout what should we do actually session. invalidate() is not working --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Program

[java ee programming] database normalization

2009-09-29 Thread ANUJ KUMAR
In 3nf table if we have to change something then do we need to write queries for changing in each table --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this

[java ee programming] eclipse

2009-09-28 Thread ANUJ KUMAR
What should i do inorder to switch from netbeans to eclipse. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programmi

[java ee programming] inner class

2009-09-22 Thread ANUJ KUMAR
Can the private variables of inner class be accessed from outer class by making an object of inner class in the outer class. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" gr

[java ee programming] string

2009-09-21 Thread ANUJ KUMAR
class test { public static void main(String args[]) { String x1 = "abc"; String x2 = "ab"; x2 = x2 + "c"; System.out.println(x1==x2); } } why does it print false? in this case 3 objects will be formed in the string pool and they will be ("abc"),("ab").("c")and both the refrences x1,x2 will po

[java ee programming] string

2009-09-21 Thread ANUJ KUMAR
class test { public static void main(String args[]) { String x1 = "abc"; String x2 = "ab"; x2 = x2 + "c"; System.out.println(x1==x2); } } why does it print false? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "J

[java ee programming] ftp

2009-08-21 Thread ANUJ KUMAR
is there any easy way of uploading content to a website rather than using ftpplease help Thanks&Regards --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this

[java ee programming] web application

2009-08-20 Thread ANUJ KUMAR
how to exempt a ports from the firewall --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googl

[java ee programming] database

2009-08-13 Thread ANUJ KUMAR
can there be a refrence key without a primary key --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-pas

[java ee programming] session

2009-08-09 Thread ANUJ KUMAR
when i set 1 variable in session in an action form and try 2 retrive it from another action form then the variable is not being recognized in the other action form --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Java

[java ee programming] coundown timer

2009-08-05 Thread ANUJ KUMAR
i have made an exam application on struts and whenever i refresh the page the timer is reset.please help me Thanks & Regards --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" gr

[java ee programming] overriding

2009-07-26 Thread ANUJ KUMAR
class TestAnimals { public static void main (String [] args) { Animal a = new Animal(); Animal b = new Horse(); //Animal ref, but a Horse object a.eat(); // Runs the Animal version of eat() b.eat(); // Runs the Horse version of eat() a.anuj(); b.anuj(); b.ass();//*WHY DOES IT GIVE A COMPILER ERROR

[java ee programming] core java

2009-07-24 Thread ANUJ KUMAR
if we don't have pointers in java then how do we get NullPointerException --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j

[java ee programming] core java

2009-07-24 Thread ANUJ KUMAR
how can we print address of a variable in java? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passi

[java ee programming]

2009-07-18 Thread ANUJ KUMAR
how many zero's are there at the end of 60 factorial --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-

[java ee programming] SCJP

2009-07-08 Thread ANUJ KUMAR
please tell me the website from which i can get free scjp mock tests Thanks&Regards Anuj Kumar --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post

[java ee programming] deployment descriptor

2009-07-03 Thread ANUJ KUMAR
what is a deployment descriptor --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroup

[java ee programming] session

2009-07-03 Thread ANUJ KUMAR
how many types of session management are there in java --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-w

[java ee programming] struts

2009-06-30 Thread ANUJ KUMAR
whats the relationship between request,response,Action mapping and form bean --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java