Win a copy of Mesos in Action this week in the Cloud/Virtualizaton 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
1)Is it possible to place the jsp file in java web server? if possible where to place? if not possible in which web server we have to place?
2) how to compileand run the JSP File
 
prakash muthu
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
I couldn't get the question that how to place. for the question, you can use any IDE like visual cafe, Forte for Java.
let me know if i'm unclear
with regards
Prakash
(prakashem@rediffmail.com)
 
srinidhi sampath
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. you can use JWS to host your JSP's.you have to place the files in the directory called public_html
2.you just call the Jsp file as we call an html file.the JWS does the rest.
any jsp book will give you all the information
 
lokesh
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Only Java Webserver Ver.2.0 has the capability to process the JSP files, and u can also use tomcat and other jsp engine or server to process the jsp files.
If you are using Java Webserver then just type the whole jsp file in a text editor and save it with .jsp extension and place it in root:\javawebserver 2.0\public_html and the rest will be taken care by JWS. If u want to use tomcat server just follow the installation instructions.
There is no need to compile the jsp file. Whenever you call the jsp file in the form action method, the webserver will handle the request to the jsp engine and the jsp engine will compile the jsp file in to a temporary servlet and generate the dynamic content, so there is no need to compile it.
Remember the compilation occurs for the first time only.
I hope this information will be useful to you.
Loke.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic