File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes JSP Form help? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "JSP Form help?" Watch "JSP Form help?" New topic
Author

JSP Form help?

Andreas Sandberg
Ranch Hand

Joined: Sep 14, 2005
Posts: 31
Hi Folks,

Not sure exactly what is happening here but I hava fairly simple problem (should be). I'm trying to process a form which contains two text input fields using a jsp file. Everything works correctly when submitting the form with GET yet when I switch to POST I only get null values. The form is displayed from apache v2.2 which then redirects the request to a tomcat virtual url :8080/skynav which is running from tomcat 5.5. The web.xml defines the welcome file as project.jsp. Is there a meta tag that I'm forgetting to use to encode the text. Some code below. Your help is appreicated. Thanks!!!

Andreas






"When the compilers not happy ain't nobody happy"
Al Hollis
Ranch Hand

Joined: Dec 12, 2005
Posts: 60
Where is the skynav source that your sending the information to?

And why is that code using GET and not POST?
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: JSP Form help?
 
Similar Threads
Problem about inserting into database
in which method shuld i use at the servlet code for request
Database connection with struts
request a parameter on the same JSP page
EJB, JSPs and JDBCs