hi , evedrybody! I am new to jsp .I don't know how to run jsp files i am using java webserver2.0 . please guide me . Archana.
Frank Carver
Sheriff
Joined: Jan 07, 1999
Posts: 6913
posted
0
"Archana J", The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please log in with a new name which meets the requirements. Thanks.
Hi Archana, JSP is an embeded script written in HTML with the file name saved as < filename.jsp >. It is nothing but JSP = HTML + Servlet. Only thing u have to remember is that all the servlet codes should be inside the JSP tags. And u dont have to include all the servlet packages like HttpServletRequest etc. They are all included by default. So u can strait away start coding serlvet. For u to have a small idea... try this out Test.jsp <html> <% out.println("Hi from JSP "); %> </html> Hope this will start u a little. Arun Sun Certified Programmer for Java2 Platform