• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

JSP

 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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)
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
What's a year in metric? Do you know this metric stuff tiny ad?
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic