There's more to deploying the servlet than just setting the correct values
in the FORM tag, here's some thoughts:
Use "POST" as the method for processing the FORM. That's basically what it's
meant for.
The ACTION attribute should be the name of your servlet. If you've
configured your servlet in the .xml files that Orion uses for that purpose,
there's more to it than if you simply deploy your Servlet.class file to the
default directory which I think is /orion/default-web-app/WEB-INF/Classes.
Assuming you put it in the default directory, your servlet should get
invoked when you click on the form's submit button.
Try:
        ACTION="/servlet/MyServlet"
/servlet is set up as the default servlet-webdir in the
global-web-application.xml file.
Rich

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Siling Zhang
Sent: Friday, February 23, 2001 3:11 PM
To: Orion-Interest
Cc: [EMAIL PROTECTED]
Subject: deployment


Does anyone know how to deploy a servlet and html form page on orion? What
should go into the Action=" " on the html form?
<FROM METHOD = "get" ACTION = "??..">

Siling


Reply via email to