• 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
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

Problem in running jsp page in javawebserver

 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello,
I have problem in running the jsp page in javawebserver
the program is given below
<HTML>
<HEAD>
<TITLE>HELLO</TITLE>
</HEAD>
<BODY>
<H1>
<%
if (request.getParameter("name") == null)
{
out.println("HELLO World");
}
else
{
out.println("Hello,"+ request.getParameter("name"));
}
%>
</h1>
</body>
</html>
I have saved this file in hello1.jsp,I put this file in Public_html
directory in javawebserver2.0.,I have started javawebserver,after that
in the browser i have typed
httpd://localhost:8080/hello1.jsp?name=vikram
I gives me a error saying that 404 not found.
I installed javawebserver in windows 98,I think Beacuse of this it
gives a error.I dont know,Wheater i have to instal javawebserver in
windows NT .I am using Internet explorer4.0.To run jsp page i have
to install higher version browser.
And one more point i like to mention When i store .html file in
Public_html directory in javawebserver2.0 ,the file looks like explorer
icon,But when i store .jsp page in public_html directory,the file looks
like simple textfile.
Wheather i have to change any property file in javawebserver2.0.
Please help me In this error.

from
vikram
 
Did you miss me? Did you miss this tiny ad?
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic