Java Help
Java Help forum discussing all Java platforms - J2ME, J2SE and J2EE - as well as relevant standards, APIs and frameworks such as Swing, Servlets, JSPs, Applets, Struts, Spring, Hibernate, ANT, EJB, and other Java-related topics.
answer(0) view(3) status(

)
deploy a project
Hi guys,
I have made a web application using JSP,Struts,JDBC.
I used Netbeans as IDE.
What I want to know is how do I deploy my project on a real server?? In Netbeans ,it used Sun Java Application Server 9.
Thanx in advance!!!
answer(0) view(8) status(

)
System.getenv for portability
I'm making a panel program in Java(with Swing) that's XML based for entries in a user's own unique configuration files.
The panels obviously would need a configuration file somewhere, so I want to store it in their home directory. This is ...
answer(3) view(371) status(

)
answer(2) view(957) status(

)
Javascript - stop clicking button twice
Hi
I have an oscommerce site, but I need some help.
I have a problem with customers clicking the confirm order button twice, which then duplicates there order.
I have put in big letters
PLEASE CLICK THIS BUTTON ONCE but that doesnt w...
answer(6) view(1,021) status(

)
Submitting an HTML form with Java
Hello,
I'm trying to submit a form in the simplest way possible. So far I've come across this bit of code:
import java.net.*;
import java.io.*;
public class FormTest {
public static void main(String[] args) {
try
{
In...
answer(1) view(15) status(

)
how to make a jtextfield unchangeable
I have a JDesktopPane, with a TextField on it. I want to make it so that the user can not edit the content of the text field. I'm assuming that there is a simple function for this but when I scanned the java developers pages I didn't see it...
answer(2) view(1,028) status(

)
Best way to store dates in a record store
I need to store a date in a record store. Currently I am converting date to string, and then to a byte array using getBytes(). I can get the byte array back into a string with: String aString = new String(byte array); which gives the date in the ...
answer(0) view(21) status(

)
Swing BoxLayout & Combobox Prob.
Having taken a few weeks off from learning Swing, I've decided to learn a bit about Layout managers, specifically the BoxLayout manager.
I've written a demonstration application that creates a 'table' of panels and places components in t...
answer(8) view(783) status(

)
answer(3) view(394) status(

)
answer(0) view(18) status(

)
answer(4) view(1,171) status(

)
DigiChat Error
Hi:
I am currently running my Windows XP Pro computer, which uses Apache, PHP, and MySQL, so I have my own IP address out on the internet. I did this so on my site, http://www.coopercentral.org, I can include DigiChat on it, so peopl...
answer(4) view(764) status(

)
How to develop a crossword puzzle in J2me?
Hi
I am a complete beginner in programming, but I am interested in
learning how to develop mobile crossword puzzles. Can anyone please
assist by providing me with a simple j2me source code for this, and I can learn from there...thanx.
answer(0) view(62) status(

)
[Homework] Char.parseChar error
I have been getting a
Code:
Lab3.java:32: cannot resolve symbol
symbol : variable Char
location: class Lab3
char ch1 = Char.parseChar (st.nextToken());
^
my full code is:
Code:
...
answer(3) view(1,550) status(

)
How to make JScrollPane transparent?
Hi!
I have this mysterious problem. I want to apply background to my frame. When I apply the background it works fine, but when I create a JTextArea with JScrollPane and do the setOpaque(false) on both the background is gone. I've also tri...
answer(4) view(1,556) status(

)
Disabling All Components on a JFrame or JDialog
Greetings -
I have a standard swing JFrame/JDialog which i want to disable/enable all the buttons and textfields on the fly
disabling the main panels doesn't work - the buttons and textfields are still active if i do
jPanel.setEnable...
answer(1) view(846) status(

)
Cannot find symbol error....need help
I'm getting this error message:
cannot find symbol
symbol : method showMessageDialog(<nulltype>,java.lang.String,int)
location: class javax.swing.JOptionPane
JOptionPane.showMessageDialog(null, "Your ending mileage"+ endMi...
answer(0) view(19) status(

)
Java Comm API on Linux can't find javax.comm.properties
I'm trying to set up the Java Communications API on Linux using the comm API from Sun (not rxtx), and I can't seem to get it to find my javax.comm.properties file. I've put comm.jar in $JDK_HOME/jre/lib/ext and the properties file in $JDK_...
answer(2) view(1,244) status(

)
answer(5) view(1,112) status(

)
JSP equivalent to ASP.NET User Control?
Hello,
I am fairly new to JSP development and I am trying to find out if there is a JSP equivalent to the ASP.NET user control (http://msdn2.microsoft.com/en-us/library/fb3w5b53.aspx)
Can anybody answer this for me? Thank you!
answer(4) view(1,429) status(

)
I need help making this into a java page file
Project… Name that Celebrity
Create a new project called NameThatCelebrity in which only partially recognizable names of
celebrities are to be produced. In a real implementation of this game, the idea is for a contestant
to be able to gues...
answer(0) view(22) status(

)
answer(0) view(61) status(

)
answer(11) view(1,466) status(

)
Define tag cannot set a null value
Hi,
Basically i have no idea with this error. I got this
Code:
<Servlet.service() for servlet jsp threw exception>
javax.servlet.jsp.JspException: Define tag cannot set a null value
at org.apache.struts.taglib...
answer(2) view(961) status(

)
MMTP implementation in Java
Hi
I'm asked to develop an application for a stock exchange company using MMTP (Market Message Transfer Protocol) to retrieve data from the DIFF (Diffusion server) and pass orders to the trading engine.
MMTP is a proprietary protocol...
answer(6) view(984) status(

)
Question Regarding Class Loading Error.
Project "GetData" loaded
Project settings saved
Building "GetData"
Error preverifying class kxml-min.org.kxml.Attribute
Class loading error: Wrong name
Build failed
please help me to get it right. If anyone knows it ...
answer(0) view(48) status(

)
answer(0) view(40) status(

)
answer(0) view(29) status(

)
answer(0) view(38) status(

)