Hi, 
I'm having a particularly strange problem when posting a form to a 
servlet using orion. 

The problem is that when I form post from my home page - before
the servlet's doPost method is invoked - I have to use a 
*different path* than usual in the form action.

>From my home page (index.jsp), the form post to a servlet called
USMController.class looks like this:

<form method="POST" action="../barbarossa/servlet/USMController">

But from all other jsps underneath index.jsp it is as follows:

<form method="POST" action="../servlet/USMController">

My application name is barbarossa and I have a directory
structure \barbarossa\barbarossa-web\web-inf etc. containing
orion-web.xml. 

Right now I haven't set up a servlet mapping in orion-web.xml -
and I'm not sure if that's the problem here. I think it's more
to do with where I install my servlet class files. And where
I tell orion to go looking for them. 

What's the key here to tell orion where to get the servlet from?
Why do I have to prefix it with the application directory only
on the homepage?

Any direction/hints/general sympathy  appreciated.
Thanks,
Ferghil 

Reply via email to