Zaid Fattuhi

Greenhorn
+ Follow
since Sep 19, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
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 Zaid Fattuhi

My bad Sadanand, sorry I thought the count is for those who passed, but just realised that it is for those who were waiting results (I corrected my post ), probably I was overwhelmed by the results so I didn't read it thoroughly

Thanks for bringing my attention to this.
The count is screwed up!, scroll up to Saket Mittal post and you will see that the count is 27
-1
Counter = 20 (Submitted 20th September, Big Smokes Cigar), Score = 145
Counter = 17 (19th Sept Assignment, 21st Sept Essay, Big Smokes) still waiting
Hi Kamal,

Congratulations!

Did it take less than 15 days to evaluate your assignment? this sounds super fast compared to others who waited for 2-3 months! You must have good connections in Oracle just kidding.

I submitted my assignment on 19th of Sept and took the essay on 21st of Sept but no news yet.

Thanks,
Zaid
12 years ago
Hi Friends,

I am storing some photos in MySQL database, and fetching them using a servlet, the problem is that I have list of photos in a JSP page, and whenever I referh the page the photos got mixed up and appear randomly, sometimes one of the photos appear instead of 3 photos, and sometimes 1 photo appear istead of 2 photos. I put the anti-caching script in the JSP list page, however still the same.

for example, the below jsp excerpt is correct HTML, however, it don't show the right photos :

<td><img src="/irtiadAlafaqAdmin/getSeriesSloganPhotoAction.do;jsessionid=325C3BD9FEBA53F47F4DAC66E9F12AAA?seriesID=1"></td>
<td><img src="/irtiadAlafaqAdmin/getSeriesSloganPhotoAction.do;jsessionid=325C3BD9FEBA53F47F4DAC66E9F12AAA?seriesID=2"></td>
<td><img src="/irtiadAlafaqAdmin/getSeriesSloganPhotoAction.do;jsessionid=325C3BD9FEBA53F47F4DAC66E9F12AAA?seriesID=3"></td>


the servlet is as below:

prep=myConnection.prepareStatement("SELECT sloganBinaryData,sloganContentType FROM series WHERE seriesID='"+form1.get("seriesID")+"' ");
results=prep.executeQuery();
if(results.next()){
OutputStream output=response.getOutputStream();
response.setContentType(results.getString("sloganContentType"));

response.setContentLength(results.getBytes("sloganBinaryData").length);
output.write(results.getBytes("sloganBinaryData"));
output.close();
..
.
...
return null;


Awaiting for your respionse,

cheers
19 years ago
JSP