some question about JSP from a beginner, plz help!
Posted on 2005-05-05
hi experts, i have just install tomcat5 and thinking of start learning JSP. however, i notice that none of the reference book, tutorials i got mention about the /WEB-INF/web.xml in detail, like how to create/ configure it... what is this and that inside it... oh ya, most importantly, what it is?
so my questions:
1. what is /WEB-INF/web.xml? what is it used for? how can i create/configure it?
2. i was told that servlet and jsp are two different things, but when i read thru my jsp tutorial, the servlet keep coming up, what is the relationship between them?
3. again, i was told that i dun really need tomcat to run my jsp app, instead, i can use J2EE, is that correct? if yes, which is better?
4. any suggestion where/how should i start learning and those elements that i need to pay attention to when learning/writing JSP apps.
take note that i am a complete beginner in web language, and those info in the spec&doc of tomcat, j2ee, jsp, servlet really confuse me. beside making my head few times bigger, i guess they help me little in learning JSP. so i would appreciate the comments will be made in simple form (and understandable by idiot like me!).