If i have an int counter that counts the number of rows retrieved from an SQL query... would it be ok if the counter is an "int" if the maximum number of rows is 500,000?
What is the size of...
I'm using NetBeans 5.5.1 IDE with Visual Web Pack. My OS is Linux Fedora Core 6 and the server is Sun Java System Application Server.
I'm developing an application which includes a JSP to dis...
Hi, I need help with Tomcat 5.5. Here is the situation I have a servlet application with url http://serverip:8080/name.
How i can make a tomcat to redirect all request sent to http://serve...
I am using hashtable to count the word frequency of any all the words in my text file. eg if the word "good" appears 10 times in my text file it should print "good 10" my code can only read th...
I have developed a webservice in java.
I have a single application which needs to be concurrently accessed by multiple clients. Therefore I need to know which client has made each request....
Hello,
I am trying to port a database class I wrote for command line linux to work with the Glassfish JDBC Connection Pool features. I have setup a connection pool called test under glassfish...
I have .tar file which contains .gz file.
How do I extract this .tar file and eventually a .gz file using java?
I need to write an interactive application(java) to simulate a stop watch. The start button will cause the display every 1/2 second(500 milliseconds) A stop button and the elapsed time will be...
I have a real simple piece of code on a web page that calculates a user input with a fixed number to get a result. i want to be able to round the result up to 2 decimal places. below is the ...
When I use the program JSPMYADMIN, my tomcat shows the below error. What can I do?
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 20 in the...
dear , experts
after googling for last 3 months i have installed Java on my centOS , but there is plenty of errors and by mistake i have delete some files . however i am trying to give it a ...
http://ocw.mit.edu/ans7870/6/6.034/f06/tools/demonstrate.jnlp, I downloaded this.
but upon launching following errors are shown :
Do I need to set some environment variables, and what
all ...
Hi
I have a url www.abc.com
I would like to redirect this url to an exisitng url www.xyz.com/a/b hosted on a iPlanet webserver
However upon simple DNS redirection - I got an error - 5...
I just installed Sun Java Enterprise System 5 with Access Manager 7.1. I want to do two simple testing for the Single Sign-On. I create a two-page website with a login hosted in Sun Web Server...
Hi,
I need to separate my application's Web server from the Application server. The Web server should be in charge of only user Interface (i.e. JSP, html), while the Application server is in ...
I would like to get the address in JSP. I try the request.getHeader("host") which can't show the file and directory. do any other variable can show that?
I wrote my Sun Certified Web Component Developer(SCWCD 5) exam today and got 60%, failed(requires 70% for passing). I studied one book and practised Whizlabs simulator also. I dont know these...
I'm trying to run simple JSF webapp and get such exceptions in browser while accessing .jsf page:
javax.servlet.ServletException: Servlet.init() for servlet Faces Servlet threw exception
or...
Hi Experts,
I'm trying to find an old version for Java Virtual Machine before I can upgrade to build 3810 from this link http://www.softwarepatch.com/windows/javavm.html. Apparent, that lin...
I have a job interview coming up. I am qualified for the job however there is one "optional requirement" that I don't know too much about (luckily it is a small part of the job). I have been t...
How can I create a simple enum in Java including only one String attribute and get() and set() method ?
something like this
public enum myenum {
private String text;
public Strin...
Hello,
We have a number of applications which make use of Java, however we are not involved in Java Development. The initial install is approx 100MB and every month or so we recieve a notif...
I am working on a product in java whereby a xml is parsed and converted to a microsoft excell sheet.The data is parsing properly in the code where I am working .The data parsed is converted i...
I need some help. I am a hardware guy thrown into a situation I know nothing about. I have SJAS deployed in a windows environment and in a linux environment. The .War files autodeploy prope...
Hi,
I've got a few links :
http://docs.sun.com/source/817-1831-10/agaccess.html#wp1033667
http://blogs.sun.com/amit/entry/access_control_using_ldap_in
https://www.opends.org/wiki/page/Su...