jQuery in Action, 3rd edition
The moose likes Servlets and the fly likes Jsp's Beginning help ....please urgent 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

Jsp's Beginning help ....please urgent

yadav prabha

Joined: Dec 25, 2000
Posts: 5
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
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
Thanks in Advance
[This message has been edited by yadav prabha (edited December 25, 2000).]

Thanks in Advance<BR>yadav
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13027
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.

author of:
praim kumar

Joined: Dec 25, 2000
Posts: 14
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

Joined: Nov 15, 2000
Posts: 61

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!!
ml behra

Joined: Dec 20, 2000
Posts: 8
hope ur giving http://localhost:8080 and then the file name in the url and hope the javawebserver is started.

yadav prabha

Joined: Dec 25, 2000
Posts: 5
Thanks for the answers
Thanks in Advance
I agree. Here's the link: http://aspose.com/file-tools
subject: Jsp's Beginning help ....please urgent
It's not a secret anymore!