red phoenix ha scritto:
I have a submit button in A.jsp,and I want to submit to B.do from A.jsp,but
when I click this submit button,it should submit to B.do and show some
information on screen,but in fact it doesn't work,

What do you mean by "it doesn't work"? It is a 404, a 500, what?

when I use http://localhost:8080/B.do, it can work.

Uh? Are you sure? It should be http://localhost:8080/webappName/B.do

/*A.jsp*/
<%@ taglib uri="/WEB-INF/taglib/struts-html" prefix="html"%>
<html:form action="/B.do" method="post" enctype="multipart/form-data">
correct with: action="/B", that's for sure... maybe... I don't know if Struts (Action Framework) automatically adds ".do" if it is not present, or always...
Ciao
Antonio

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to