• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem generating html from servlet tags  RSS feed

Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to call a java servlet from within a form in a html webpage using servlet tags (<servlet></sevlet> ). Each tag performs a different action so it's like servlet?action=firstname, etc.
The servlet pulls up all the customer information like name, address, etc, puts them in text boxes and allows them to update anything they need. It pulls the customer info based on the cookie, but even when a customer is logged in the page says that he/she is not logged in. The thing is if you cut and paste the servlet address to the browser it'll pull up the info just fine. The problem must be with the cookie, but I can't figure out what it is.
For reference, the cookie appears to work otherwise. We made a test page to see if the cookie works and it has. Maybe the problem is how the servlet is called?
Does anyone know how to get around this. I don't want to have to generate the whole page from the servlet if I don't have to.
Here's the page w/ problems so you can see what I mean:
Mark Modaressi
K2K Motorsports
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!