| Thread | Last Post | Replies |
|
| Can't find file via class.getResource() | 18 Oct 2007 12:55 GMT | 3 |
I know, I know... if the file's location is on the classpath, it should work. Well, it doesn't. No matter what I try. I have a simple app with a toolbar which I'm putting icons on. I have a very simple directory structure....
|
| Create single Database connection | 18 Oct 2007 11:36 GMT | 4 |
I would like to create a single Database connection point that I can use for 4 classes in my Java Web Application. Here is my ConnectionManager Class: public class ConnectionManager {
|
| Best way to handle persistance? Web frameworks? | 18 Oct 2007 11:01 GMT | 2 |
I picked up a book on hibernate the other day. I've decided to stop writing my own persistence layer every time I need one. So I also looked on the web and found out that Java now has the Java Persistence API. Hmm.. A friend of mine says that the way to handle these tasks today ...
|
| Single DB connection | 18 Oct 2007 10:53 GMT | 3 |
I would like to create a single Database connection point that I can use for several of my classes in my Java Web Application. Here is my ConnectionManager Class: public class ConnectionManager {
|
| Newbie question about Java Updating and Inserting XML file | 18 Oct 2007 06:38 GMT | 5 |
I searched the forum and see lots of examples, but I'm still confused. I'm using DOM. Say I've got an "a.xml" file, and have two methods, updateXML() that updates an existing record, and insertXML() that inserts into this
|
| How to cast an Object to Double? | 18 Oct 2007 01:45 GMT | 16 |
I cannot figure out how to do it well. I have an Object, which is retrieved from a map. It actually is a number(double). I need to get its value. double value = Double.parse((String)theObj); //this works
|
| desktop.open not working, no exceptions or errors | 18 Oct 2007 00:01 GMT | 1 |
I am using Desktop.open(File) and on certain machines it works fine. I am using JRE 1.6_02. Both machines are WindowsXP with the latest updates (as of today). The appropriate extensions are mapped. When I try to desktop.open() on a txt file it works properly on one box, but
|
| Simple File Watcher | 17 Oct 2007 21:17 GMT | 3 |
Can some one suggest a way to monitor a directory to see a know file named file is put in a directory using Java. Thanks In advance. Regards
|
| opinion: It there work for someone with JSP, CSS, XML and HTML? | 17 Oct 2007 20:13 GMT | 3 |
Following my own response to someone else's comments I starting to wonder if my own assumption that my skills are outdated is accurate? Maybe I'm just an anomalie, i.e., the wrong person in the wrong place or such thing.
|
| final variable in a for loop | 17 Oct 2007 16:16 GMT | 3 |
Hi to everyone. Sorry if this question has been asked before... Is something like the code below legal? if yes, which are the implications of making the variable i final? for(final int i = 0; i < something; ++i) {
|
| JMS connection and sessions | 17 Oct 2007 15:30 GMT | 1 |
here is what i am trying to do....... i am reading from one jms queue using multiple threads, using one connection and multiple sessions (one session per thread) associated with that......now my questions are
|
| Apache SOAP not accessible | 17 Oct 2007 15:28 GMT | 2 |
Since a week I have been trying to get Apache SOAP from the url: http://ws.apache.org/soap/ But it seems to be down. Does anybody have a clue on whats happening! Or am I looking at wrong place? I need soap.war file and need to
|
| [Servlet Error]- not a servlet class | 17 Oct 2007 15:24 GMT | 2 |
I have deployed a web-application on WebSphere (WAS) 6.0, which uses struts. Upon start-up i see the following error message in the log: [Servlet Error]-[javax.servlet.UnavailableException: Servlet
|
| myMap.get(myKey) with JSTL? | 17 Oct 2007 15:22 GMT | 7 |
Hi, I need to get a map entry based on a key - how can this be done using the JSTL? I know I could say: <c:forEach items="${myMap }" var="entry" >
|
| EnumMap and jsp? | 17 Oct 2007 15:19 GMT | 1 |
Is it possible to pass out to jsp an EnumMap and then "index" it with the enum name? I'm currently using a parallel map of Map<String, Size>; for example <img src="whatever.jpg"
|