This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills: The software developer's life manual and have John Sonmez on-line!
See this thread for details.
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem generating html from servlet tags

 
Mark Modaressi
Greenhorn
Posts: 6
  • 0
  • 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:
http://129.2.210.250/cust_update.shtml
Thanks,
------------------
Mark Modaressi
TypeR673.com
K2K Motorsports
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic