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...
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....
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...
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...
In ESPN Fantasy Football, a team owner can pre-rank players that are to be drafted. There are two ways to do this. One is via a "drag and drop" list of names (in Java?) and the other is a stra...
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...
Hi ,
I am getting this error ..
# ./startconsole
ld.so.1: parsexml: fatal: relocation error: file parsexml: symbol __RTTI__1nMXMLException_: referenced symbol not found
ld.so.1: parsex...
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?
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...
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...
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 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 ...
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...
We are deploying a NetBeans 5.5.1 web app created with Visual Web Pack. On compilation, the project creates a *.war file which includes everything we need to deploy it on glassfish. We can dep...
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'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 have a weblogic sun server (server A), a jdbc connection has been set in weblogic connection pool to a database at server B (unix HP server). There is a firewall between this ...
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...
Hello!
I have a web app which I coded in JSP. All of my files is JSP and it have Java codes and html pages...
I want to make my JSP files to be compiled or any other type to be converted.....
Hi
I have a site setup in iplanet 6.0. The docroot for the site is /produl/docs.
Now I want to setup a sub site and want to enable virtual host with document root path to /produl/docs/stm...
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...
This is very easy, but I just can't get it. I have the following:
<% if( altCat != null && altCat.trim().length() > 0 )
out.println("<a href=test.jsp?ID=" + year + "~" + make + "~" + t...
I use a programme which i have not been able to use for quite some time. Their tech helpdesk told me that port Nos. 443, 49498 & 41599 are required to run the programme and that to ask my admi...
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 ...