Forums Register Login

Doubt in Specs

+Pie Number of slices to send: Send
i have this doubt in the specs and book

see:

SPEC says this line



you can search in JSP 2.0 spec . It is the latest right?( i am using it for SCWCD 5)

And now the book HF S&JSP on page 666 says that you must mention atleast one



So isn't this DTD and book contradicting?

+Pie Number of slices to send: Send
Spec says this



on page 3-46 JSP 2.0 spec

But see ... it has said values of body-content only as tagdependent | JSP | empty

where did the scriptless go?
+Pie Number of slices to send: Send
About your first question, HFSJ is right. There must be at least one url-pattern. You're looking at the wrong place. You should be looking at the Servlets Specification. The DTD is not used anymore, you should check the Xml Schema instead. Download the servlets specification and check the "Deployment Descriptor Diagram".
+Pie Number of slices to send: Send
 

The DTD is not used anymore, you should check the Xml Schema instead. Download the servlets specification and check the "Deployment Descriptor Diagram".



If it is not used why is it there in the spec?

Are all dtds in jsp spec wrong?

I have Servlet specs , but i dont know how to read xml schema where can i learn it?

+Pie Number of slices to send: Send
Marcus,

You were probably looking in the older versions of the DD. See pics below from the specs (servlet2.4)


and the convention:


Regards,
Frits

+Pie Number of slices to send: Send
 

Are all dtds in jsp spec wrong?


No, but they are for Servlets 2.3.

i dont know how to read xml schema where can i learn it?


No worry. There are easily readable diagrams in "SRV.13.4 Deployment Descriptor Diagram".
+Pie Number of slices to send: Send
thanks
now these diagrams clear my doubt regarding webapp and its sub elements in the DD

But what about TLDs?

where are the diagrams referring to TLDs? or do I have to refer DTDs for the same?
or do i have to go for diagrams in JSP spec mentioned on page 3-16 JSP spec

+Pie Number of slices to send: Send
The TLD XML Schema is in the JSP specification, JSP.C.1XML Schema for TLD, JSP 2.0. The format of the diagrams is a bit different, but it's also easily readable.
+Pie Number of slices to send: Send
 

The format of the diagrams is a bit different, but it's also easily readable.



does this mean that I cannot study and bank upon TLD diagrams from the point of view of scwcd exam?
+Pie Number of slices to send: Send
 

Marcus Tiwari wrote:does this mean that I cannot study and bank upon TLD diagrams from the point of view of scwcd exam?


I'm not sure I understand You should refer to the XML Schema (or the nice diagrams which come with them) instead of the old DTD.
Bring me the box labeled "thinking cap" ... and then read this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 750 times.
Similar Threads
error-page doubt
web security : doubt
config Implicit Variable - Major Doubt
Doubt in Security contraints
Doubt in a Question
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 03:39:07.