hello--
we use form post every day in our development and have
never encountered a problem, except perhaps in path
naming.
the simple answer to your plea for debug info is to
place a couple of simple statements in your catch
blocks, so that whenever it catches an exception it
sends it to an output device. try this:
catch(Exception e) {
system.out.println(e.getMessage());
e.printStackTrace();
}
add this to your catch blocks and watch the terminal
window where you're running orion fill up with
information.
perhaps doing this will help you determine what the
form post problem is.
--bradley mclain
--- Christian Sell <[EMAIL PROTECTED]>
wrote:
> Hello,
>
> I finally got my JSP to run under Orion. What helped
> me most was the hint to
> turn on full error messages in the browser. Since
> orion does not write error
> logs (which is of course unacceptable in a
> production environment), this is
> at least one way to know whats going on.
>
> Now, however, I realize that Orion does not seem to
> support the POST method
> in forms. My JSP generates the attached HTML. When
> submitted, the doGet()
> method is invoked on my servlet - which is wrong, of
> course.
>
> <html>
> <head>
> <title>Music Without Borders</title>
> </head>
> <body bgcolor="#33CCFF">
> <font face="Times New Roman,Times" size="+3">
> Music Without Borders (Orion test)
> </font>
> <hr><p>
> <center>
> <form
> action="/j2eetest/shopServlet"
> method="POST"
> name="shoppingForm" >
> <b>CD:</b>
> <select name=CD>
> <option>Yuan | The Guo Brothers | China |
> $14.95</option>
> <option>Drums of Passion | Babatunde Olatunji |
> Nigeria | $16.95</option>
> <option>Kaira | Tounami Diabate| Mali |
> $16.95</option>
> <option>The Lion is Loose | Eliades Ochoa | Cuba |
> $13.95</option>
> <option>Dance the Devil Away | Outback | Australia
> | $14.95</option>
> <option>Record of Changes | Samulnori | Korea |
> $12.95</option>
> <option>Djelika | Tounami Diabate | Mali |
> $14.95</option>
> <option>Rapture | Nusrat Fateh Ali Khan | Pakistan
> | $12.95</option>
> <option>Cesaria Evora | Cesaria Evora | Cape Verde
> | $16.95</option>
> <option>Ibuki | Kodo | Japan | $13.95</option>
> </select>
> <b>Quantity: </b><input type="text" name="qty"
> SIZE="3" value=1>
> <input type="hidden" name="action" value="ADD">
> <input type="submit" name="Submit" value="Add to
> Cart">
> </form>
> </center>
> <p>
>
>
>
> </body>
> </html>
>
>
> Christian Sell
>
>
>
__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/