Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP Form help?

 
Andreas Sandberg
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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




 
Al Hollis
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where is the skynav source that your sending the information to?

And why is that code using GET and not POST?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic