• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jsp's Beginning help ....please urgent

 
yadav prabha
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello iam new to jsp programming..
Problem is..i have installed Javwebserver2.0 and tried executing a jsp form ..what is happened is ima trying to retrieve
the valuse from a Html from and display it in a thru a jsp page .once i submit the html form , i use the request.getparameters method of sevrlest in the jsp file to rettrive the vales of the form submitted...but the results are not displyed...it is giving page not found...and if i comment out the request.getparametes line in the jsp file then the file is
displayed.
i have placced the html and the jsp file in the public_html directory of the java webserver. is this correct
could u please help me out in this ...

Thanks in Advance
yadav
------------------
Thanks in Advance
yadav
[This message has been edited by yadav prabha (edited December 25, 2000).]
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think we would need to see the actual code where you are using the request.getParameter() call.
I'm assuming you meant to write either getParameter() or getParameterNames().
Since you are getting some display without the request.getParameter line, I imagine that the code throws an exception that you are not catching.
Bill

------------------
author of:
 
praim kumar
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pls go and visit www.caucho.com. Down load resin .Extract it int o your pc.Put your jsp in resin/doc/test Folder.
Put your Bean in resin/doc/web-inf/class
Run Http exe wich is in resin/bin
Open the browser with www.localhost:8080
 
Raukutam Sandeep
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

try to use request.getParameter() method in u'r jsp program and not getParameters(as u mentioned in u'r message).
Try it and get back,
good luck!!
regds,
Sandeep.
 
ml behra
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
hope ur giving http://localhost:8080 and then the file name in the url and hope the javawebserver is started.

madhavi
 
yadav prabha
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the answers
------------------
Thanks in Advance
yadav
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic