never mind - it looks like my problem is that (being a struts user) i was
using special jsp tags which were assuming things. all i had to do was take
out the tags and manually type in the code they output, with
action="http://www.myhost.com:8080/myApp/LogonSubmit.do".
i'm pretty excited about this.
daniel
"Blah Blah" <blah@blahblah.com> wrote in message
news:J5SdnWlB1fRqaCai4p2dnA@comcast.com...[color=blue]
> looks like i broke out the champagne a little too early.
> there's one key problem: submitting a form won't go to the servlet. so,
> given the following html:
>
> <FORM name="logonForm" action="/myApp/LogonSubmit.do" method="post">
> User Name:<INPUT type="text" name="userName" /><br />
> Password:<INPUT type="password" name="password" /><br />
> <INPUT type="submit" value="Submit" />
> </FORM>
>
> it wants to go to
http://localhost/myApp/LogonSubmit.do, not
>
http://localhost:8080/myApp/LogonSubmit.do.
> is there any way around this?
>
> if we can figure out a solution, this would allow me to mix and match php
> and jsp in one file. otherwise, i'm going to have to go with a somewhat[/color]
more[color=blue]
> painful approach...
>
> daniel
>[color=green]
> > I think you can simply
> >
> > include "http://localhost/tomcat/fooapp/foo.jsp";
> >
> > (never tried it)
> >[color=darkred]
> > >
> > > You can go the other way and do a remote include (doing whatever it is
> > > you need to do in jsp) to access the PHP script via HTTP instead of[/color][/color][/color]
the[color=blue][color=green][color=darkred]
> > > local filesystem.
> > >
> > >[/color]
> >[/color]
>
>[/color]