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:
...
User Profile
Collapse
-
-
Thanks,
I will update you when it is finished.
regards,
shaileshLeave a comment:
-
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... -
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 -
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... -
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... -
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 -
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 -
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... -
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...Leave a comment:
-
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... -
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... -
i used to start startup.bat from bin directory
then using the browser i used to run...Leave a comment:
-
i have set the paths for JAVA_HOME
CATALINA_HOME
please give me the correct solutions...Leave a comment:
-
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... -
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 -
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 -
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 -
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.
...Leave a comment:
-
one important point to note:
whether solves your problem or not,
when you inherit a class
constructors are not inherited.Leave a comment:
No activity results to display
Show More
Leave a comment: