Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!

Jade Lucky

Greenhorn
+ Follow
since Apr 10, 2008
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 Jade Lucky

Hi,
Thanks for the help.
I have done a another typo error of not defining a jsp libarary.

after i changed my tld file like this it worked

<taglib xmlns="http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
version="2.4">
Thanks you very much.I will give it a try
Hi,

I am running first tld example in HF Servlet and JSP book and I am getting "The requested resource () is not available"
messgage.

These are the programs
JSP



TLD



JAVA



web.xml


Put all the files in correct folders as book mentioned and its not working.
Can someone please be able to help?

On side not : If someonce else asked the same question before and if someone knows the place I can find answer , please direct me.
I have done a search in whole forum and didn't came across anything this basic being asked.

Thank you
Hi guys,
I tried the example shown in HF Servlet and JSP book for EL expressions and I could not get it working.


This is my first Jsp user1.jsp


My second Jsp is TestEL jsp

<%= application.getAttribute("mail") %> < - Only when it has this part, it works and Prints the user Name " Smily"
${applicationScope.mail} <- This part does not do so


My Web.xml is


Can someone see what i am doing wrong?

Thanks
Hi guys,
Do you know whether the syllabus was changed for SCWCD exam after Oracle took over Sun?


Thanks & Regards
Hi All,
Can you tell me how to install J2EE 6 and Tomcat 6?

I try to download J2EE 6 from SUN site and there seems to be lot available I am not sure which one I need to download and same for Apache TomCat 6.

Can please someone tell me which path I need to follow to get J2EE 6 and Tomcat 6 installed and run an application on it?


Thanks,

D

11 years ago
Hi Jelle,
Thanks for the reply.

It works.

Cheers,
De
Hi guys thanks for quick reply ,
The first println prints unsorted collection while second one prints sorted one.This the output I get
[ABC, EEE, Sting, hi]

what I meant was it should be sorted as
[ABC, EEE, hi,Sting]

Because I have used
String s="hi" ,its not sorting properly.

Do you have any inkling what can be the reason for this?

Thanks.
D
Hi ,
I came across this when I try to practice the example in SCJP 5.0 Study Guide by Kathy and I added some lines to is as well.

Program:-
ArrayList <String> test=new ArrayList<String>();
String s="hi";
test.add(s);
test.add("String");
test.add("EEE");
test.add("ABC");
System.out.println(test);
Collections.sort(test);
System.out.println(test);

and this is the output I get

[hi, Sting, EEE, ABC]
[ABC, EEE, Sting, hi]

Do any of you guys no the answer for this?

Cheers,
J