Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSP  RSS feed

 
Sree Devi
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to run a jsp program
 
Afroz Ahmed
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

Just write a file,save it as .jsp and run the jsp file.

<html><body>Hello from <%= "JSP" %></body></html>

Save above file content as hello.jsp at webapps(tomcat/examples folder for tomcat) folder in your server.

then run the jsp file. http://localhost:8080/examples/hello.jsp

Please post queries
which you can not get by searching in google/a9
which takes much time to search
which requires some experience work or
which needs some suggestions


Happy Coding and Running.
[ August 10, 2004: Message edited by: Mohd Afroz Ahmed ]
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sree,

Welcome to JavaRanch, were we have tons and tons of forums for all your Java questions. Each forum is for a specific topic, so that we can get the best experts to help you out.

This forum is for Servlets, but we also have a forum specifically for JSP too, so I am going to move this and your other thread to the JSP forum

Good Luck

Mark
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!