satya pksh

Greenhorn
+ Follow
since Jan 17, 2010
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 satya pksh


In my java web application i need to show the image that exits in the database as well as a anchor tag for moving to another jsp page.

In my jsp page it is mentioned

So while running the jsp page is shows the image but do not show the html content below or anywhere.

What i want that my jsp page should show the image as well as html content at a single jsp page. So please tell what mime type should i use so that to get desire result.

Thank you,
13 years ago
JSP
Use session or request either one set the value and get where ever you want...
Like


Get wherever you want in jsp

13 years ago
refer the web site webpage
13 years ago
To insert code use list as shown below



And to fetch say in jsp use


I hope this code help you..
13 years ago


Try the above code. It may work if not refer webpage
13 years ago
In my java application i need to compare two list's element whether it is similar or not.

In short suppose i have two list declared like shown below


If i write a condition for equality it fails as some of list's element is in different case like


It will display result "Not equal"

So please tell me how i can make the list element case-insensitive in java language only.

Thank and regard
13 years ago
Given a sample program kindly have a look



Result of this program when compiled and run is " B B "

Now my question is what the use of writing in the code : A y = new B(); rather than B b = new B(); also tell benefits and difference.

Thanks in advance
13 years ago
What is the use and benefit of writing instead of

and also please tell me the difference of both.

While executing List<String> test = new ArrayList<String>(); it raise error that list cannot resolve to a type. I am confused because most of book write the ArrayList declaration in this way List<String> test = new ArrayList<String>();

reply
Thanks in advance
13 years ago