What happens if you go to directly to the page from your browser? Do u also get a 404? If so, then the problem is with the action mapping and not the redirect. Perhaps a typo in your struts-config.xml.
Gao Di wrote: > i use struts framework in my project,and use the jstl > in the jsp page.now i want to write a page which will > auto forward to a struts action class,but whatever i > use jstl or jsp ,it can't find the url either. > in jstl i use:<c:redirect url="SearchAction.do"/> > and in jsp i use: > <jsp:forward page="SearchAction.do"/> > if i change the url to "xxx.jsp" or a simple hello > world servlet,it's ok.but if i use struts > action,evertime i got page 404,url not found. > cause i think the struts action is also a servlet in > essential,maybe there is a way to solve this problem. > > _________________________________________________________ > Do You Yahoo!? > 150万曲MP3疯狂搜,带您闯入音乐殿堂 > http://music.yisou.com/ > 美女明星应有尽有,搜遍美图、艳图和酷图 > http://image.yisou.com > 1G就是1000兆,雅虎电邮自助扩容! > http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]