User Profile

Collapse

Profile Sidebar

Collapse
shaileshkumar
shaileshkumar
Last Activity: Nov 15 '08, 05:32 AM
Joined: Aug 7 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Autoboxing

    out put : 100.
    -----------------------------------------------------------------
    remove() in HashSet

    public boolean remove(Object o)

    Removes the specified element from this set if it is present.

    Specified by:
    remove in interface Set
    Overrides:
    remove in class AbstractCollect ion

    Parameters:
    ...
    See more | Go to post
    Last edited by shaileshkumar; Nov 4 '08, 10:56 AM. Reason: Detailed description

    Leave a comment:


  • shaileshkumar
    replied to Mail Scheduler
    in Java
    Thanks,
    I will update you when it is finished.

    regards,
    shailesh
    See more | Go to post

    Leave a comment:


  • shaileshkumar
    started a topic Mail Scheduler
    in Java

    Mail Scheduler

    Hi,
    I have to design a mail scheduler which sends monthly news letters to all the regiastered users of my website.

    Features of scheduler
    ----------------------------
    picks up the email ids of registered users and sends mails.

    This scheduler will do this job for every hour or so.

    My doubts
    ------------
    How to prevent the scheduler from sending the...
    See more | Go to post

  • shaileshkumar
    started a topic custom calendar

    custom calendar

    hi,
    i have to develop a custom calandar that would support events.
    it should also show days with different colors.
    like sundays - pink

    It also have view like
    1) month
    2)week
    3)quarter
    4) year

    the environment iam working
    IDE -java studio creator /netbeans
    database : mysql

    regards
    shailesh
    See more | Go to post

  • shaileshkumar
    started a topic how to use create-application-ref command ?
    in Java

    how to use create-application-ref command ?

    hi all,
    iam unable to deploy my application:Eve ntScheduler in sun application server.
    iam using java studio creator as IDE.
    This is the error

    Application EventScheduler is already deployed on other targets. Please use create-application-ref command to create reference to the specified target; requested operation cannot be completed


    i did not get help on how to use create-application-ref command...
    See more | Go to post

  • shaileshkumar
    started a topic create-application-ref command

    create-application-ref command

    hi all,
    iam unable to deploy my application:Eve ntScheduler in sun application server.
    iam using java studio creator as IDE.
    This is the error

    Application EventScheduler is already deployed on other targets. Please use create-application-ref command to create reference to the specified target; requested operation cannot be completed


    i did not get help on how to use create-application-ref...
    See more | Go to post

  • shaileshkumar
    started a topic triggering multiple actions on hyperlink click
    in Java

    triggering multiple actions on hyperlink click

    my application-homepage is built of four frames
    top
    left
    middle
    bottom

    each frame is a jsp.
    there is a hyperlink on top frame
    a click on it should refresh the four frames.

    this is being developed on jsf

    please send your valuable suggestions

    thanks in advance
    shailesh
    See more | Go to post

  • shaileshkumar
    started a topic Best IDE for JSF (its URGENT)

    Best IDE for JSF (its URGENT)

    please suggest me a best IDE for JSF.

    Iam facing some problems with Java Studio Creator
    can we create visual components in Eclipse (drag and drop)?

    thanks in advance .

    shailesh
    See more | Go to post

  • shaileshkumar
    started a topic problem with netbeans
    in Java

    problem with netbeans

    iam unable to execute my web applications in netbeans TDE.
    iam getting the following exception .
    please give me the reply accordingly.

    --------------------------------------
    org.apache.cata lina.core.Stand ardServer await
    SEVERE: StandardServer. await: create[8025]:
    java.net.BindEx ception: Address already in use: JVM_Bind
    at java.net.PlainS ocketImpl.socke tBind(Native Method)
    at java.net.PlainS ocketImpl.bind( PlainSocketImpl .java...
    See more | Go to post

  • import java.sql package
    Load the driver
    Class.forName(" sun.jdbc.odbc.J dbcOdbcDriver") ;

    the above method throws ClassNotFoundEx ception

    establish the connection
    Connection con=DriverManag er.getConnectio n("URL","userid ","pwd")
    the method in the above will throw SQLException

    PreparedStateme nt ps=con.prepareS tatement("sql...
    See more | Go to post

    Leave a comment:


  • shaileshkumar
    started a topic problem in running tomcatserver in netbeans4.1
    in Java

    problem in running tomcatserver in netbeans4.1

    hi,
    iam unable to run my applications in netbeans4.1.
    problem may be due to JVM or port numbers conflict.
    i did not intentionally change any port numbers .
    please guide me accordingly.
    iam pasting the error report ( thanks in advance)
    -------------------------------------------------------------------------




    Using CATALINA_BASE: C:\Documents and Settings\Admini strator\.netbea ns\4.1\jakarta-tomcat-5.5.7_base...
    See more | Go to post

  • shaileshkumar
    started a topic unable to compile jsps in tomcat 5.0

    unable to compile jsps in tomcat 5.0

    hi,
    iam able to run the servlets but not jsp in tomcat 5.0 webserver..
    it gives error saying that
    java compiler is not found
    but i have set JAVA_HOME & CATALINA_HOME

    i have also copied tools.jar from the jdk directory to tomcat's bin directory

    please guide me accordingly .
    what additional path settings are to be done ?

    regards...
    See more | Go to post

  • shaileshkumar
    replied to unable to compile jsp in tomcat 5.0
    in Java
    i used to start startup.bat from bin directory

    then using the browser i used to run...
    See more | Go to post

    Leave a comment:


  • shaileshkumar
    replied to unable to compile jsp in tomcat 5.0
    in Java
    i have set the paths for JAVA_HOME
    CATALINA_HOME

    please give me the correct solutions...
    See more | Go to post

    Leave a comment:


  • shaileshkumar
    started a topic unable to compile jsp in tomcat 5.0
    in Java

    unable to compile jsp in tomcat 5.0

    hi ,
    i m trying to run jsps in tomcat 5.0. I was able run servlets successfully but iam unable to run jsps.
    i have also coppied tools.jar from jdk and pasted in tomcat directory
    i have done the necessary path settings(iam able to run servlets)
    iam getting following exceptions:

    org.apache.jasp er.JasperExcept ion :unable to compile class for jsp

    No java compiler was found to compile the generated...
    See more | Go to post

  • shaileshkumar
    started a topic Error:could not find javax.servlet.Servlet
    in Java

    Error:could not find javax.servlet.Servlet

    hi,

    when i type javap javax.servlet.S ervlet on the command propmpt iam gettting the following error
    Error:could not find javax.servlet.S ervlet

    plz help me proper instructions to make it work


    thanks
    See more | Go to post

  • shaileshkumar
    started a topic documentation comments /** */
    in Java

    documentation comments /** */

    i read in one of the notes that comments /** */ are used for documentation and is used by javadoc tool.

    i have a class by name Simple.java
    i used the command javadoc Simple.java

    i have got Simple.html ,but i could not find the message written inside the
    /** */


    what's the mistake?

    regards ,
    shailesh
    See more | Go to post

  • shaileshkumar
    started a topic deprecated method
    in Java

    deprecated method

    code
    /* creating the object for DatInputStream */
    //DataInputStream din=new DataInputStream (System.in);

    /* calling the readLine() method
    // din.readLine();


    readLine() method of java.io.DataInp utStream is deprecated :my java compiler(jdk1.4 ) says.

    please guide me what is the method that can replace readLine()


    with regards,
    shailesh
    See more | Go to post

  • shaileshkumar
    replied to how do i configure tomcat5.5
    in Java
    first make sure you have this

    JAVA_HOME=java installation directory path
    CATALINA_HOME=t omcat installation directory path.

    while compiling servlets you have to set the path
    for example ,if your tomcat is installed in c:\program files\tomcat 5.5 then

    set the path as

    set path=c:\tomcat 5.5\common\lib\ servlet-api.jar;%classp ath%
    then compile the servlet.

    ...
    See more | Go to post

    Leave a comment:


  • shaileshkumar
    replied to invoke a superclass constructor
    in Java
    one important point to note:

    whether solves your problem or not,

    when you inherit a class

    constructors are not inherited.
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...