The <html:link .... is not generating anything. None of my tiles or content is displayed. I only got error message HTTP Status 400. blah, blah. Therefore, "View Source" does not show anything but the html code of the error message. --- Jim Barrows <[EMAIL PROTECTED]> wrote:
> > > > -----Original Message----- > > From: Caroline Jen [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, September 08, 2004 1:09 PM > > To: Struts Users Mailing List > > Subject: RE: Action Mapping From a JSP to Another > JSP (In Trouble > > Again!!!) > > > > > > I do not fully understand. Do you want me to > actually > > code <a href ....> instead of > > > > <html:link action="/ContentMgmt">Manage the > > Content</html:link> > > > > in my links.jsp file? > > No, I want to know what the html your <html:link is > generating. > > > > --- Jim Barrows <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > -----Original Message----- > > > > From: Caroline Jen > [mailto:[EMAIL PROTECTED] > > > > Sent: Wednesday, September 08, 2004 12:45 PM > > > > To: Struts Users Mailing List > > > > Subject: RE: Action Mapping From a JSP to > Another > > > JSP (In Trouble > > > > Again!!!) > > > > > > > > > > > > I have tried both > > > > > > > > action="/ContentMgmt" and > > > > action="/ContentMgmt.do"> > > > > > > > > They do not make any difference. Error > message is > > > the > > > > same. And it is HTTP Status 400. > > > > > > > > Nothing gets displayed in the browser but the > > > error > > > > message. I tried right-click "View Source". > None > > > of > > > > my code appears in the "View Source". > > > > > > No, but the <html:link will get translated to <a > > > href, that's what I was asking about. What gets > > > generated? I'm thinking that something is wrong > > > with the link. The error message, and the 400 > error > > > code would indicate that the browser is doing > > > something wrong. Which leaves to possibilies 1) > the > > > link is a bit wonky 2) Your using IE and it's > > > decided to no longer funciton correctly. > > > Leaving my opinions of MS aside... it's probalby > the > > > link. If I could see it I might be able to > figure > > > out what's going on with it. I don't really > thinkg > > > it's a config error, because your conifg looks > good. > > > > > > > > > > --- Jim Barrows <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > > > > > > > -----Original Message----- > > > > > > From: Caroline Jen > > > [mailto:[EMAIL PROTECTED] > > > > > > Sent: Wednesday, September 08, 2004 11:54 > AM > > > > > > To: Struts Users Mailing List > > > > > > Subject: RE: Action Mapping From a JSP to > > > Another > > > > > JSP (In Trouble > > > > > > Again!!!) > > > > > > > > > > > > > > > > > > Hi, I am in trouble again. > > > > > > > > > > > > I am using tiles. I have three piece of > > > tiles: > > > > > > upperbar, sidelinks, and lowerbar. All > three > > > > > tiles > > > > > > are displayed with contents shown in the > > > center > > > > > > (toward right hand side) of the web page. > > > > > > > > > > > > Now, I click on one of the links provided > in > > > the > > > > > > 'sidelinks' tile and I got this error > message > > > in > > > > > the > > > > > > browser: > > > > > > > > > > > > > > > =============================================== > > > > > > Http Status 400 > > > > > > Invalid path /ContentMgmt was requested > > > > > > > > > > > > description The request sent by the client > was > > > > > > syntactically incorrect (Invalid path > > > /ContentMgmt > > > > > was > > > > > > > > > > The path concerns me a little, if you copy > and > > > > > pasted it. It should be /ContentMgmt.do, > > > however > > > > > that would generate a 404, not a 400. > > > > > > > > > > > requested). > > > > > > > > > =============================================== > > > > > > > > > > > > The link that I clicked on in the > 'sidelinks' > > > tile > > > > > is > > > > > > coded this way: > > > > > > > > > > > > <html:link action="/ContentMgmt">Manage > the > > > > > > Content</html:link> > > > > > > > > > > Okay, what does the html look like? > > > > > > > > > > > > > > > > > > > > > > and the action mapping in my > struts-config.xml > > > > > looks > > > > > > like: > > > > > > > > > > > > <action > > > > > > path="/ContentMgmt" > > > > > > parameter=".frame.Content" > > > > > > > > > > > > type="org.apache.struts.actions.ForwardAction"/> > > > > > > > > > > > > > > > > > > In my tiles-def.xml, I have: > > > > > > > > > > > > <tiles-definitions> > > > > > > > > > > > > <definition name=".frame.Base" > > > > > > path="/frame/common/layouts/Frame.jsp"> > > > > > > <put name="upperbar" > > > > > > value="/frame/common/upperbar.jsp" /> > > > > > > <put name="links" > > > > > value="/frame/common/links.jsp" > > > > > > /> > > > > > > <put name="content" value="${content}" > /> > > > > > > <put name="lowerbar" > > > > > > value="/frame/common/lowerbar.jsp" /> > > > > > > </definition> > > > > > > > > > > > > <definition extends=".frame.Base" > > > > > > name=".frame.Content"> > > > > > > <put name="content" > > > > > > value="/frame/content/content.jsp" /> > > > > > > </definition> > > > > > > > > > > > > </tiles-definitions> > > > > > > > > > > > > And I double checked the spelling and the > type > > > of > > > > > > extension of the content.jsp file. The > file > > > is in > > > > > the > > > > > > > > > > > > > > > > > > > > > C:\jakarta-tomcat-5.0.27\webapps\DHSInfo\frame\content > > > > > > directory. > > > > > > > > > > > > Why the path is wrong? > === message truncated === _______________________________ Do you Yahoo!? Express yourself with Y! Messenger! Free. Download now. http://messenger.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]