jQuery in Action, 3rd edition
The moose likes Servlets and the fly likes JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "JSP" Watch "JSP" New topic


Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
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

Joined: Sep 06, 2000
Posts: 75
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.M<BR>Bangalore- India<BR>(prakashem@rediffmail.com)
srinidhi sampath

Joined: Jun 16, 2000
Posts: 4
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

Joined: Oct 17, 2001
Posts: 3
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.
I agree. Here's the link: http://aspose.com/file-tools
subject: JSP
It's not a secret anymore!