my dog learned polymorphism*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes whic tag is right Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "whic tag is right " Watch "whic tag is right " New topic
Author

whic tag is right

ramkumar kumar
Greenhorn

Joined: Mar 25, 2009
Posts: 4
- what we can give in the position of <tag€ >.

we have to select from thies list
file -type
extentiosn
mime
conetnent-tyep
suffix
mime-type
mime-mapping


======================










< tag>

< tag > mpg < /tag>
< tag > video/mpeg </ tag>


</ tag>

=============================
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

Welcome to the ranch. Please take some time next time to write your posts. This one is unreadable. Can you be a bit more explicit ?


[My Blog]
All roads lead to JavaRanch
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9307
    
  17

Well I'm not sure where this question came from, but it doesn't looks like SCWCD question to me. It looks more to me like an XML question but may be I'm wrong. My guess for the answer would be



I know this may sound stupid but this is what's coming to my mind. Maybe I've misinterpreted the question...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
Kamal Tripathi
Ranch Hand

Joined: Oct 02, 2008
Posts: 86
well if I am not wrong then all <tag>'s are placeholders to drop appropriate tags.

Yes Ram, it is confusing to read. Just checkout mime-mapping in one of the sample web.xml's.


Kamal Tripathi
SCJP 1.4 90%, SCWCD5 94%, Next SCDJWS--> In Naescent stage. Researching abt exam and material itself.
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9307
    
  17

Oh yes, kamal is right, I completely forgot about the mime-mapping element of the web.xml. The answer would be



BTW ramkumar, please QuoteYourSources...
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: whic tag is right