| Thread | Last Post | Replies |
|
| using CipherInputStream | 19 Jun 2008 01:23 GMT | 7 |
i was trying to encrypt and decrypt a string using CipherOutputStream and CipherInputStream as below.I wanted to write the encrypted string to a file "encfile.enc" using CipherOutputStream and then read back the decrypted version from that file using CipherInputStream
|
| Umm odd behaviour !! | 18 Jun 2008 22:02 GMT | 11 |
import java.io.*; The following code compiles and outputs : primitive integer Can someone explain how the call rw.go() can invoke void go(int...i),
|
| Question about getting JBoss running | 18 Jun 2008 14:29 GMT | 11 |
I'm trying to get started with JBoss and I found this link on how to deploy one's first web app... http://centerkey.com/jboss/ When I get to the last step, and I try to go http://localhost:8080/helloworld/hi.jsp, I get a page not found error.
|
| How can I return an HTTP 403 status from a web service? | 18 Jun 2008 05:23 GMT | 11 |
I have a Java bean web service which has different required roles per method. (In one case, the required role even varies depending on the parameters.) Since this can't be done declaratively, I'm calling ServletEndpointContext.isUserInRole(String roleName) and throwing a
|
| Logging introduction | 18 Jun 2008 02:06 GMT | 9 |
After seeing part of the discussion on exceptions, I decided my application has matured enough that it deserves logging. I’ve been happy with console messages as long as I was developing, but now I have testers, and the log files would be useful.
|
| All of us know about unit test. But what's a unit? | 18 Jun 2008 01:40 GMT | 3 |
A method? A class? A bunch of related classes? A module? An API we exposed from a module? ... My opinion is all of them are units for different test requirement. But my friend doesn't agree. He thinks we should only write unit test
|
| package junit.framework does not exist | 18 Jun 2008 00:39 GMT | 1 |
I am trying to compile some code, but can not since the compiler can not find the junit package. The line in questions is: [javac] C:\EclipseProjects\chs\src\com\sample\foo\AllTests.java:3:
|
| Is MVC what everyone except Microsoft uses? | 18 Jun 2008 00:37 GMT | 1 |
I don't mean that to sound like a troll. I'm only curious because of the new MVC preview for .NET. Having studied Java, about all I could find was MVC everywhere. I looked outside of Java and found MVC utilized a lot. I looked back and MS and found that it wasn't there,
|
| BigDecimal and equals() | 17 Jun 2008 22:53 GMT | 1 |
I am having an issue with BigDecimal and compareTo() not being consistent with equals. I have read the documentation and know why it's behaving that way, but I don't understand why they would intentionally make compareTo() inconsistent with equals()
|
| Import for servlet failed !!! | 17 Jun 2008 20:36 GMT | 4 |
The import javax.servlet.*; javax.servlet.http.*; failed . I'm using eclipse (europa). Please help.
|
| Training on java | 17 Jun 2008 20:32 GMT | 1 |
Intrested people please visit site www.sigilacademy.com.
|
| two questions | 17 Jun 2008 18:50 GMT | 10 |
Just revising for my SCJP exam and have a couple question I trust you will be able to help please. 1) below is a package structure for a set of classes
|
| Trying EJB 3.0 | 17 Jun 2008 16:14 GMT | 7 |
I'm trying to use EJB 3.0 to run a simple Dynamic Web Application I have never used Java before to connect to a DB but I am fairly used to the language. However there seems to be a lot of information that unfortunalety
|
| Training on j2ee | 17 Jun 2008 15:09 GMT | 2 |
Intrested people please visit site www.sigilacademy.com.
|
| javascript radiobutton enabled and disable in iteartion loop | 17 Jun 2008 12:01 GMT | 1 |
I gave the radio button in iteration loop here. i have 5 iteration record. when i click the 5th record the radiobutton enabled in 5th record(last record) & then the first radiobutton is not selected when
|