This week's book giveaway is in the Programmer Certification forum.
We're giving away four copies of OCP Oracle Certified Professional Java SE 21 Developer Study Guide: Exam 1Z0-830 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.

Subhash Pavuskar

Ranch Hand
+ Follow
since Jun 29, 2011
Merit badge: grant badges
For More
Bangalore, India
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Subhash Pavuskar

I have the following script in a jsp page.

String homesDir = response.encodeURL(request.getContextPath());
homesDir=homesDir+"/"+request.getParameter("user");

i got homesDir= /spaceplanner-portlet;jsessionid=EB503511999BB15533D4F3A6BD40965B/20tech

why is this session id getting appended to the root path.???

Because of this path data is not getting saved.

stacktrace................

11 years ago
Hello Everyone !!

Can anyone please explain is that possible to extend inner class if yes then please give me the snippet of code.

Thanks
12 years ago
@Jesper de Jong: Thanks For fast reply.
Well this pictorial diagram from Wikipedia and i am shocked they providing wrong info Link http://en.wikipedia.org/wiki/Java_collections_framework

12 years ago
@Jesper de Jong :

Hi i found this in Wiki Link so i got confused with this bcs both performing same opeartion !!
12 years ago
What is the Difference between Stack and ArrayStack ?
12 years ago
Hi All,
It may silly question but any how need to know more details.

The difference between Vector and ArrayList is thread safe whereas Arraylist is not. but as the arraylist can be make synchronized what is the necessity of Vector?

also Enumeration and Iterator?

thanks in advance.
12 years ago
Thanks For your response guys !!!
@Wendy Gibbons : No i wanna Try it out through terminal like to get back up of table we use command Ex " mysqldump -u admin -p admin --no-data accounts > accounts.sql"
so is that possible to copy the table from one schema to another using terminal ?
How to copy a table from one Schema to another Schema table In MySql ?
Can any one tell me good site to get project Ideas ?
12 years ago
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Edited by XMLSpy® -->
<catalog>
<cd>
<title>Empire Burlesque</title>
<artist>Bob Dylan</artist>
<country>USA</country>
<company>Columbia</company>
<price>10.90</price>
<year>1985</year>
</cd>
<cd>
<title>Hide your heart</title>
<artist>Bonnie Tyler</artist>
<country>UK</country>
<company>CBS Records</company>
<price>9.90</price>
<year>1988</year>
</cd>
<cd>
<title>Greatest Hits</title>
<artist>Dolly Parton</artist>
<country>USA</country>
<company>RCA</company>
<price>9.90</price>
<year>1982</year>
</cd>
<cd>
<title>Still got the blues</title>
<artist>Gary Moore</artist>
<country>UK</country>
<company>Virgin records</company>
<price>10.20</price>
<year>1990</year>
</cd>
<cd>
<title>Eros</title>
<artist>Eros Ramazzotti</artist>
<country>EU</country>
<company>BMG</company>
<price>9.90</price>
<year>1997</year>
</cd>
<cd>
<title>One night only</title>
<artist>Bee Gees</artist>
<country>UK</country>
<company>Polydor</company>
<price>10.90</price>
<year>1998</year>
</cd>
<cd>
<title>Sylvias Mother</title>
<artist>Dr.Hook</artist>
<country>UK</country>
<company>CBS</company>
<price>8.10</price>
<year>1973</year>
</cd>
<cd>
<title>Maggie May</title>
<artist>Rod Stewart</artist>
<country>UK</country>
<company>Pickwick</company>
<price>8.50</price>
<year>1990</year>
</cd>
<cd>
<title>Romanza</title>
<artist>Andrea Bocelli</artist>
<country>EU</country>
<company>Polydor</company>
<price>10.80</price>
<year>1996</year>
</cd>
<cd>
<title>When a man loves a woman</title>
<artist>Percy Sledge</artist>
<country>USA</country>
<company>Atlantic</company>
<price>8.70</price>
<year>1987</year>
</cd>
<cd>
<title>Black angel</title>
<artist>Savage Rose</artist>
<country>EU</country>
<company>Mega</company>
<price>10.90</price>
<year>1995</year>
</cd>
<cd>
<title>1999 Grammy Nominees</title>
<artist>Many</artist>
<country>USA</country>
<company>Grammy</company>
<price>10.20</price>
<year>1999</year>
</cd>
<cd>
<title>For the good times</title>
<artist>Kenny Rogers</artist>
<country>UK</country>
<company>Mucik Master</company>
<price>8.70</price>
<year>1995</year>
</cd>
<cd>
<title>Big Willie style</title>
<artist>Will Smith</artist>
<country>USA</country>
<company>Columbia</company>
<price>9.90</price>
<year>1997</year>
</cd>
<cd>
<title>Tupelo Honey</title>
<artist>Van Morrison</artist>
<country>UK</country>
<company>Polydor</company>
<price>8.20</price>
<year>1971</year>
</cd>
<cd>
<title>Soulsville</title>
<artist>Jorn Hoel</artist>
<country>Norway</country>
<company>WEA</company>
<price>7.90</price>
<year>1996</year>
</cd>
<cd>
<title>The very best of</title>
<artist>Cat Stevens</artist>
<country>UK</country>
<company>Island</company>
<price>8.90</price>
<year>1990</year>
</cd>
<cd>
<title>Stop</title>
<artist>Sam Brown</artist>
<country>UK</country>
<company>A and M</company>
<price>8.90</price>
<year>1988</year>
</cd>
</catalog>


Can any tell me the code that how to retrieve Above XML data into JSP using JSTL.


12 years ago
JSP
In my JSP page i wrote this code for Retrieving and inserting in to the database,here retrieving works perfectly but when i am trying to insert to the database its not getting inserted can anyone please help me on this?

here is the code :
12 years ago
JSP
thanks for all yours reply.
12 years ago
Can any one please tell me In Liinux what is the procedure to remove 8080 port ?
For Ex : By default it will be " http://localhost:8080"
i want it to make "http://localhost " "
12 years ago