This week's book giveaway is in the Reactive Progamming forum.
We're giving away four copies of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams and have Adam Davis on-line!
See this thread for details.
Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Jsp's Beginning help ....please urgent

 
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).]
 
Author and all-around good cowpoke
Posts: 13078
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:
 
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
 
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.
 
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
 
Yeah. What he said. Totally. Wait. What? Sorry, I was looking at this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!