Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jsp

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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.
 
Arunagiri, Shanmugham
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic