| |
thread by: Linus Nikander |
last post Jul 17 '05 by: me
Having recently load-tested the application we are developing I noticed that
one of the most expensive (time-wise) calls was my fetch of a db-connection
from the defined db-pool. At present I fetch my connections using :
private Connection getConnection() throws SQLException {
try {
Context jndiCntx = new InitialContext();
DataSource ds...
|
thread by: ak |
last post Jul 17 '05 by: Thomas G. Marshall
am I the only one to say that the java.nio. is bullshit?
i have been trying to write some code using it to transfer file over the
net.
small file it is ok, big file -- problematic.
java.lang.OutOfMemoryError
at java.nio.Bits.reserveMemory(Unknown Source)
at java.nio.DirectByteBuffer.<init>(Unknown Source)
|
thread by: Phil... |
last post Jul 17 '05 by: Wiseguy
Does anyone have any data comparing the speed
of java double vs. float operations? According to a
document I found on the Intel site, hardware
support for 64 bit floating point was not added
until the SSE2 Extensions on the Pentium IV and
Xenon processors. I have the el cheapo Intel Celeron.
(It reminds me of being on a diet and eating...
|
thread by: Michael Wright |
last post Jul 17 '05 by: Bryce (Work)
This seems so simple.
I have an html form. The method is set to post. I have a simple servlet
to test the communications. Whenever the submit button is pressed the
form is sent to the servlet using get.
Can anyone provide me leads on whether this is a problem with the browser,
tomcat or some servlet configuration?
I'm using mozilla...
|
thread by: Phil Powell |
last post Jul 17 '05 by: Phil Powell
Ok, I installed ANT, I have c:\ant in my ANT_HOME environment variable, I
have c:\ant\bin in my PATH environmental variable, I installed the JAR files
for TCL and for Javascript (Rhino)... to no avail!!! The EXACT same error
occurs:
org/apache/bsf/BSFManager
Please Try The Following:
|
thread by: Phil Powell |
last post Jul 17 '05 by: Matthew Woodward
I have CF MX 6.1 with JRun running in the background. I want to be able to
write JSP scripts as well as ColdFusion, however, I don't know how to do
this (I can write JSP, but how to do it within ColdFusion framework is
beyond me).
Suggestions on where I can turn? I'm also interested in applying BSF tags;
I downloaded the JAR and TLD files...
|
thread by: Hegemony Cricket |
last post Jul 17 '05 by: Hegemony Cricket
I've found several good examples out there on how to launch a web
browser
from a Java application, using the Runtime exec() command. However,
what
I'd like to do is configure the browser that's launched, as one would
in
an html link with the javascript onclick="window.open(
'http://www.mysite.com', 'mywindow',...
|
| |
thread by: Robert |
last post Jul 17 '05 by: Robert
How would a java messaging system look if
message exchange and formats, and actions are as described above.
the sender and listener in Java, and the coordinator in C.
all three processes must set a timeout on receives (no process should run
for more than 2 minutes).
if a listener for a given user name is invoked on another machine (or at...
|
thread by: Jon Dellaria |
last post Jul 17 '05 by: steve souza
I have been using MySql as the database using JSP's and JavaBeans but
recently I have wanted to start using the database connection pooling
mechanism built into TomCat. I think I am having a problem with
defining my JDBC resource within Tomcat. I am pretty sure that my code
is
correct (but I am not certain), and the problem is with...
|
thread by: Normal Man |
last post Jul 17 '05 by: Normal Man
Can anyone suggest Java based WebServices project ideas for a Senior Year Project.
|
thread by: Phil Powell |
last post Jul 17 '05 by: Phil Powell
I need to get a better idea of how to do this, but my script at
http://www.mycgiserver.com/~ppowell/tcltest.jsp fails:
500 Servlet Exception
/~ppowell/tcltest.jsp:1: `http://jakarta.apache.org/taglibs/bsf-1.0' has
no matching taglib-uri. The taglib uri must match a taglib-uri for a taglib
specified in the web.xml or implicitly in a...
|
thread by: Andrew Arace |
last post Jul 17 '05 by: Stephen Gilbert
Took me a while to come up with this (even though it looks simple) it
will convert a BGR color int (or long) like used in VB to a java Color
(java.awt.Color)
examples of this are:
colornum = 16777215; //pure white
colornum = 255; //pure red
colornum = 65280; //pure green
colornum = 16711680; //pure blue
|
thread by: N.K. |
last post Jul 17 '05 by: Jay Bromley
Hi,
I'm using Tomcat 7.2 and I'm trying to deploy an aplication that uses
JSP and servlets. I'm actually trying to duplicate a production
server but can't get it right.
In the directory /whatever/java/tomcat4/webapps I have two other
directories called ROOT and test. Under both ROOT and test there is a
WEB-INF directory where web.xml file...
|
thread by: JnlSeb |
last post Jul 17 '05 by: JnlSeb
Looking for info on how the JVM handles memory.
Is there a separate part of memory that handles JNI related activity?
If the JVM process shows a memory leak, is it possible (based on monitoring
the memory) to pinpoint if it is leaking with the Java code, JNI part or C
module?
Any information pertaining to monitoring the JVM and memory...
|
thread by: Bruce Sams |
last post Jul 17 '05 by: Jonni Gani
Hello,
I am running Tomcat 4.x and have tried to set global error handling
using the following kind of entries in the web.xml file. But there is
no redirection and I always end up with the tomcat generated error
page in the browser.
Does anyone have a solution to this problem?
<error-page>
|
| |
thread by: Tripharn |
last post Jul 17 '05 by: Alex Molochnikov
Is there a way of retrieving all the methods from an object??
So if I load say a String... can I get all the available methods for that
object?
Thanks heaps,
Tripharn
|
thread by: Vissu |
last post Jul 17 '05 by: Vissu
Dear Experts,
I have a servlet that sends HTML page containing an applet down to the
browser. The applet after init(), calls the servlet again to retrieve
some info.
How can I make sure in the servlet that call came from my applet and
not from some hacked applet? I can pass some arguments from applet to
servlet, but any hacker can do...
|
thread by: Mark McKay |
last post Jul 17 '05 by: Phil...
I'm developing an application that draws on several disk based images to
create a composite image. I've noticed that my rendering time goes up
as I load more images into memory. However, this seems to be due to the
number of distinct images rather than the number of bytes they take up,
since when I combine them into a single image in...
|
thread by: mitch gart |
last post Jul 17 '05 by: mitch gart
Using the JRE 1.3, and the "copy" button from the Java Console,
on Windows, the copied text goes into the system clipboard.
Using JRE 1.4.1 the copied text goes into a file like
C:\Documents and Settings\YourUserName\.plugin141_05.trace
Using JRE 1.4.2 I can't find where the text is going. Does
anybody know where it goes?
(Note also...
|
thread by: Matthew Crouch |
last post Jul 17 '05 by: Matthew Crouch
I can't for the life of me figure out where to download the Plugin
Development Environment, which I understand is itself an eclipse plugin.
This article looks great but doesn't provide a link:
http://www.eclipse.org/articles/Article-PDE-does-plugins/PDE-intro.html
|
thread by: Oz Mortimer |
last post Jul 17 '05 by: Oz Mortimer
Hi,
Is there any way that I can create a selectable image? I have tried using
List and ChoiceGroup but this doesnt seem to give the results I require!.
I want to create a menu list using images within a grid - similat to the
VodaPhone Live service.
Any advice examples?
|
thread by: Jaywant Dharwadkar |
last post Jul 17 '05 by: Jaywant Dharwadkar
We are developing a Web application on J2EE platform and require to
support cetain peripheral devices such as MAGTEK PinPad and Card Swipe
(http://www.magtek.com/) connected to a PC port.
I am thinking of having two threads, one for reading from the port and
one to write to the port. The whole purpose of doing this is to
support the MAGTEK...
|
thread by: Jo Voordeckers |
last post Jul 17 '05 by: EJP
Hello all,
I'm pretty new to the Java newsgroups so I apologize for dropping this
into several maybe offtopic groups. I'm sorry!
So on to my problem... I've come to a point in our RMI application where
I need to have server callbacks to the client RMI applications. I've
used the technique where the client passes an UnicastRemoteObject of...
|
| |
thread by: maRIO5 |
last post Jul 17 '05 by: Govindan
What it means parsing?
Can you give me a practical example.
--
dk
|
thread by: James |
last post Jul 17 '05 by: James
Can someone outline where to get the jdo 1.0 reference implementation and
can it be run on XPHome? I battled with a sample for 2 weeks and i am
starting all over after set backs. Please advise! Thanks.
|