rashmi wadhera

Ranch Hand
+ Follow
since Apr 06, 2004
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 rashmi wadhera

I passed the SCWCD 1.4 exam today.

Wud say, Just passed as the Score is too low. not even worth mentioning here as people scoring as 100%.

Many thanks to Java Ranch, Siva, Frederic Filiatrault who gave some useful tips and everyone else who help with their experience and knowledge.
16 years ago
Congrats! Great achievement

Which version of the exam did u take..1.3 or 1.4
16 years ago
Am not able to access this site: www.jdiscuss.com.

Gives this error msg:

The page cannot be displayed
The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings.
What wud be the solution to this problem. anyone share the mothod of solving this.

Select any one

The contents of tag handler class MyPage. are

package tags;

import javax.servlet.http.*;

import javax.servlet.jsp.*;

import javax.servlet.jsp.tagext.*;

import java.io.*;



public class MyPage extends BodyTagSupport {

int k=10;

public int doStartTag() throws JspException {

return EVAL_BODY_INCLUDE;

}

public int doAfterBody() throws JspException {

if(k<13) {

k++;

return EVAL_BODY_TAG;

}

return SKIP_BODY;

}

public int doEndTag() throws JspException {

return EVAL_PAGE;

}

}





the contents of tag library descriptor mypage.tld are :

<tag>

<name>mypage</name>

<tagclass>tags.MyPage</tagclass>

<bodycontent>JSP</bodycontent>

</tag>

</taglib>





the contents of jsp file are

<HTML>

<HEAD>

<%@ taglib uri="page.tld" prefix="he"%>

</head>

<he:mypage>

<%="Hello "%>

</he:mypage>

</html>



On executing jsp file guess Hello would be printed how many times

A Not even Once
B Once
C Twice
D Four
Pls provide solution to this problem:



The contents of taghandler class are

package tags;

import javax.servlet.jsp.*;

import javax.servlet.jsp.tagext.*;

import java.io.*;

public class myhead extends TagSupport

{

private String color;

private String fontSize=""20"";



public void setColor(String b)

{

color=b;

}



public void setFontSize(String f)

{

fontSize=f;

}



public int doStartTag()

{

try

{

JspWriter out=pageContext.getOut();

out.println(""<span style=\"" color= ""+color+"";font-size=""+fontSize+""\"">"");

}

catch(IOException e)

{

System.out.println(e);

}

return(EVAL_BODY_INCLUDE);

}



public int doEndTag()

{

try

{

JspWriter out=pageContext.getOut();

out.println(""</span>"");

}

catch(IOException f)

{

System.out.println(f);

}

return (SKIP_PAGE);

}

}





The contents of tag library descriptor heads-taglib.tld are

(I have just omitted the important statements like tlibversion ,jspversion etc to save space)

<tag>

<name>heading</name>

<tagclass>tags.myhead</tagclass>

<bodycontent>JSP</bodycontent>



<attribute>

<name>color</name>

<required>false</required>

</attribute>



<attribute>

<name>fontSize</name>

<required>false</required>

</attribute>



</tag>

</taglib>





the contents of jsp file are

<HTML>

<HEAD>

<%@ taglib uri=""heads-taglib.tld"" prefix=""he""%>

</head>

<he:heading color=""red"" fontSize=""30"">My Name is Anand</he:heading>

<he:heading color=""green"" fontSize=""40"">My Name is Anand </he:heading>

</html>



The output generated is


A My Name is Anand (red color)

My Name is Anand (green color)

B My Name is Anand(green color)

My Name is Anand(red color)

C My Name is Anand(green color)
D My Name is Anand(red color)
Hi,

If I go thru the above mentioned links, will I be able to answer around 70% of the questions frm these new topics.
Thanks a LOT again

Your words will surely help me towards SUCCESS.

Did u get any questions on EXCEPTION-HANDLING & THREADS. as these topics are NOT there in objectives for 1.4 exam.

Just swa ur other link.will go thru the refernces given there.
Thanx Frederic

u have mentioned 5-8 Qs..is this combined for all the below topis:
Are these 5-8 ques. - practical or theoretical types. Can u give me some example of Question types.
- EL
- JSTL
- Building Custom Tag Library (Tag Handlers, Tag Files etc.)

How many Qs on filters.

Maximum Q.s form which topics?

Q.s from Which topic did u find difficult to attempt?

A request.. Pls answer ALL my Q.s and bear with me. I have my exam after 10 hours frm NOW. so am a little worried and tensed.
Pls tell- In SCWCD 1.4, how many questions are there from these topics:

- EL
- JSTL
- Building Custom Tag Library (Tag Handlers, Tag Files etc.)

Its very urgent, please let me know..ppl u have appeared for exam.
No doubt that the above mentioned book is a GOOD resource but it does not allow the printing of the book
Does anyone know the METHOD for solving these kind of problems.


Given four JSP files arranged in the following directory hierarchy, identify the correct action that should be defined in acme/detonate.jsp to display 'click' when coyote.jsp is requested.

coyote.jsp
dynamite.jsp
acme/detonate.jsp
acme/dynamite.jsp
coyote.jsp contains <%@ include file="acme/detonate.jsp %>
dynamite.jsp contains boom!!!
acme/dynamite.jsp contains click

1 <jsp:include page="dynamite.jsp"/>
2 <jsp:include page="acme/dynamite.jsp"/>
3 <jsp:include page="../dynamite.jsp"/>
4 <jsp:include file="dynamite.jsp" />
In 1.4 Exam, Has anybody found any questions on objective:
Exception Handling with Servlets, and
Implementing Theading with Servlets

As this objective was there in 1.3 version But has been removed from 1.4 version.
Does exam contains questions on these objectives.
Do the 1.4 Exam Questions include Sample Code Related questions.
or are they only theoretical.
Thanx Durgesh

Did u purchase any Simulators for the exam. how did u practice.
What amount of practice is required for 1.4

Am really worried abt Filters and EL questions.

How much did u score in SCWCD 1.4 exam.
What resources did u use for preparation.

Any tips/tricks u wud recommend.
Whats the link to download the latest version of-
Trial version of JWebPlus