Javad Rashidi

Ranch Hand
+ Follow
since Feb 13, 2011
Javad likes ...
Netbeans IDE MySQL Database Java
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
2
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Javad Rashidi

hi.

i get different session id in following two pages:
http://www.myviwo.com/test.jsp
http://www.myviwo.com/pages/test.jsp

in both page i wrote this: <%=request.getSession().getId() %>

what is the problem?
why i got different ids?
10 years ago
JSP
yes everything work fine, server sent back file with the http header 200 status code. i asked my question wrong, the right question is how to load page from different host by ajax. when i use http://127.0.0.1:9328/index.html by ajax it work but when i use http://example.com/index.html it doesn't work.
I have created a simple webserver by java, when i request a file by url in browser for example http://127.0.0.1:9328/index.html it show page correctly but when i use Ajax it gave me nothing in fact xmlhttprequest.responseText is null. can anyone help me?
I have created a simple webserver by java, when i request a file by url in browser for example http://127.0.0.1:9328/index.html it show page correctly but when i use Ajax it gave me nothing in fact xmlhttprequest.responseText is null. does anybody can help me?
i want to create applet that have size match to white space of browser , without make the browser scrollable and i don't want open my applet in new frame.
can somebody guide me how to do that?
11 years ago
Hi Rob, setModal(true) is correct, tanx.
11 years ago
override paintComponent instead of paint.
11 years ago
Hi Josh, in which method you use fillRect?
11 years ago
Hi
extends your AL class from JDialog and in the constractor write this

hope this work
11 years ago
what about this


415000: result=1224300000
4150000: result=-1203167296
honestly i don't know why?
could you tell me why?
11 years ago
Hi and tanx for your replay Paul.
can i use RMI instead socket programming?
11 years ago
How to create servlet that push data to applet? or how to implement server pushing between servlet and applet?
11 years ago
try this
11 years ago
i had a problem in one of my project, getResource didn't work and when i use URLClassLoader the problem solved. i think there is no advantage over getResource they almost work like each other. i didn't know what's the cause of my problem but since i use URLClassLoader i don't get any problem for loading file from jar.
11 years ago
i usually use this method for loading image from jar to my components. i also test it for .xml .txt .doc .wav .mp3 .class and it works well. you can change type of parent to Object.
i had problem with getResourceAsStream in one of my project and then i use URLClassLoader.
11 years ago