• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

Jsp's Beginning help ....please urgent

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the answers
------------------
Thanks in Advance
yadav
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic