Manas Saxena

Ranch Hand
+ Follow
since Mar 01, 2013
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
2
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Manas Saxena

I justed edited the code please check now
10 years ago
Following is the piece of my code:



I wish to have a pointer 'i' that iterates over a List and a pointer 'j' that will start its iteration from i+1 location.
However the above code outputs the same value of 'i' and 'j' for each iteration inspite of my initailizing 'j' to i.nextIndex() at begin of each outer while iteration.
Please Help.
10 years ago
Which version of the exam has more value?
I want to give the SCJP exam can someone please tell me the topics i need to cover for the exam.
Please do suggest any website or books which you may know for preparing for it.

How to register for this exam and when does it take place?
So when the client uploads a picture then this picture should be stored in some server path and this server path is to be stored in database?

10 years ago
JSP
BLOB type isn't quite the thing one would normally use to store large images.
Store the image in some path of your system.Then..
Just store this image path in your database (and not the actual image).
When you want to display an image on your webpage simply retrieve the path from your database and give this path in the <img> tag.

Example :an image is stored in following path: C:\Photos
then html code would be <img src="C:\Photos">
10 years ago
JSP
I am planning to start building a web browser in java.I have no idea about this.
Where do i begin.
Any help is appreciated
10 years ago
I want to know the order in which certifications of java are done.I do not really have any idea about these certifications.
Also suggest me which certification exams can i have a chance of clearing,the following is my programming background:

i have been doing coding in core java for quite a many years(although i have avoided multi-threading concepts and my data structure knowledge is pretty basic like i know how to code for basic functions of link list,stack,queues like add ,delete etc.)

And I have developed a social networking website entirely on java.(which i am quite proud of :P)

Which are the certifications which i should aim for with my current knowledge.Please specify the certifications in the order which i should take them.
catch without try.
I think thats the problem
10 years ago
JSP
Got it done.Following is my methodology:

database has a table called likes which has attributes image_id and user_id(the person liking the post)
before displaying the like button i check if the user in session has already liked the image.
If yes then the text value of the like button is set to "You have already liked this post".If no then the like button is displayed.
10 years ago
JSP
Got it resolved.Used java mail api.
A simple 12 to 13 line code got it done
10 years ago
Jasper reports are exactly what their name suggests.They are reports displaying statistical data.
One can have the function of opening japser reports in pdf ,xls (and other file types ) from their website.
Thnanks for all the answers.Got it done
I am using google translate api for the purpose
10 years ago
JSP
Got it resolved .
The file should initally be exported as archive file.
Then when it is imported we can access everything
Hi thanks for the reply.Though i found another work around .
I sent the parameters in the javascript function to the servlet via ajax call.