|
hi, i am facing a typical problem in my project which is an online exam
developed using spring framework and mysql 5.5 and tomcat 5.0, My problem is that when the user suppose 80 are logged in then their sessions clashes with each other means the some times the page which has to be served only to A also served to B, on the top of page displaying username A and all the questions of A are displayed to B , I don't know y this is happening it occurs only when there are more than 50 users. Is i have to do any optimization to tomcat
“You will never be a leader unless you first learn to follow and be led.”
–Tiorio
"Coming together is a beginning, staying together is progress, and working together is success." Henry Ford
|
|
|
|
|
I think it's nothing to do with session..you should print some log and see what's really going on..
|
|
|
|
|
1.I have Pie Chat into normal HTML Page
2.If i am clicking Export Button then it will convert into
JPG and JPEG file into DeskTop
3.I am Using Eclipse IDE with GEF and MEF
Please Kindly Help and Send Code and Tips.
With Thanks
Pearl
Singapore
|
|
|
|
|
so WTF is question about ?
|
|
|
|
|
The question is:
"Have you such fu***** code?"
as th OP belongs to the 'plz plz gimme codez urgent' category.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
so you're roaming on the Java boards now ?!
|
|
|
|
|
you know, its a slow, slow friday...
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Hi there!
Please, somebody can tell me where can I find to download the CD-ROM that accompanies the book "Java Design Patterns: A Tutorial" by James W. Cooper?
Or can somebody share it?
Thank you in advance.
[Adrián Córdoba]
|
|
|
|
|
Usually you may find such CD inside the book.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Yeah, I know. But my CD-ROM is damaged.
[Adrián Córdoba]
|
|
|
|
|
aecordoba wrote: Yeah, I know. But my CD-ROM is damaged.
Then kindly ask the publisher for its replacement .
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Many are stubborn in pursuit of the path they have chosen, few in pursuit of the goal - Friedrich Nietzsche
.·´¯`·->Rajesh<-·´¯`·.
[Microsoft MVP - Visual C++]
|
|
|
|
|
I have a JFrame which i extend and set undecorated.
I have made my own resizing of the frame possible with mouse down, up and pressed
events etc...
On my paint event I wish to draw my own custom imagery for the form with an offscreen image
and finally draw it to screen. Any swing component I put on the JFrame flickers on each
repaint when I resize... if anyone has any answers to this I would be most thankful...
so thanx in advance!
javdax
There Are 10 Kinds Of People,
Those That Understand Binary,
And Those That Don't
|
|
|
|
|
Hi All,
I am a .net developer , i need small help in Java Runtime Enviroment. We are working on a web based Application (Asp.net ) which used some Applet . Now This Applet Running only on JRE 1.5 not in JRE 1.6.
If Client System has JRE 1.6 Install Applet is not ruuning, if 1.5 installed , its working fine. now main problem is when Both are instaled i want our applet will run by JRE 1.5 not with 1.6 , but its takes latest 1.6 .
Please help me out as i dont have much idea on java !!!
|
|
|
|
|
firstly, it's really strange that the applet doesn't work with a JRE 1.6, which is supposed to be retrocompatible.
BTW, if both JREs are installed, the application will point to what is in the environment variable JAVA_HOME ...
|
|
|
|
|
toxcct wrote: applet doesn't work with a JRE 1.6
We are working on PKCS and some ikey token. we have used 1.5 to developed java code for pkcs but in 1.6 argumets are different and there is no oveloaded methods for that . we are also shocked.....
but we need to run it on jre 1.5 or we need to build on 1.6 .
please help !!!
|
|
|
|
|
Hi, there!
I'm learning to program with Java and I'd like to begin to read about design patterns applied to Java.
I tried to read "The design patterns - Java Companion" (by James W. Cooper), but I think it's a little advanced for me.
Somebody can tell me where do I find reading matter about design patterns?
Thank you in advance.
[Adrián Córdoba]
|
|
|
|
|
It's amazing what you can find ("design patterns java") on GOOGLE!!
http://www.fluffycat.com/Java-Design-Patterns
John P.
|
|
|
|
|
Notice the comments. What's wrong here?
import java.lang.*;
import java.lang.Math.*;
public class Exponent
{
public static void main(String[] args)
{
int iBase = 10;
int iExponent = 2;
double dCubed = Math.pow ( iBase, iExponent);
System.out.println( dCubed );
int iResult = iBase ^ iExponent;
System.out.println( iResult );
}
Everything makes sense in someone's mind
|
|
|
|
|
In Java, the ' ^ ' is a bitwise operator, not a power operator!
John P.
|
|
|
|
|
Which does exactly what?
Everything makes sense in someone's mind
|
|
|
|
|
Gosh, all I did was go to "java.sun.com" --- all the answers are RIGHT THERE!
Here! I did it for you:
The bitwise ^ operator performs a bitwise exclusive OR operation.
So 10 = 1010
2 = 0010
Exclusive OR = 1000 = decimal 8!
John P.
modified on Wednesday, August 20, 2008 3:58 PM
|
|
|
|
|
I looked it up too. I don't understand what 'bitwise' means.
It it was so much trouble for you, why bother responding at all?
Everything makes sense in someone's mind
|
|
|
|
|
KMAROIS wrote: It it was so much trouble for you, why bother responding at all?
if it's too much for you to 1) search the web, 2) read the docs, and 3) try to understand a wise answer you got, why bothering asking ?
bitwise operators are operators operating directly on the bits rather than full bytes.
so, as the other guy was saying, the ^ operator is the XOR (exclusive OR) bitwise operator.
10 = 1010
2 = 0010
----------
^ 1000 -> 8
|
|
|
|
|
Hallo, I have a little problem.
I need to read an XMI file generated by a CAD software and convert the model saved in a specific language thatmy team has developed.
I the book "Mastering XMI..." I saw that with com.ibm.xmi.job package you can retrive objects from XMI simply calling a function to read that returns a list of objects. On the internet I saw that IBM doesn't continue the developement of this package and I can't find it to download. IBM refers to EMF, but I can't find a simple tutorial to simply open XMI file and retrive objects.
Can you tell me how can I do this?
Thank you very much...
|
|
|
|