> -----Original Message-----
> From: Caroline Jen [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 08, 2004 1:28 PM
> To: Struts Users Mailing List
> Subject: RE: Action Mapping From a JSP to Another JSP (In Trouble
> Again!!!)
> 
> 
> OKay, I see what you mean now.  I am a kind of dumb.

No you're not... I confuse myself from time to time.

> 
> Before I clicked on the link, it shows:
> 
> <a href="/DHSInfo/do/ContentMgmt">Manage the
> Content</a>

When the jsp page gets executed, it's mapping the action /do and not *.do.  I'm 
wondering if any of your links are working.

Try typing in the browser /DHSInfo/do/ContentMgmt and /DHSInfo/ContentMgmt.do and see 
which works.
I'm wondering if something is tweaked wrong in web.xml.


> 
> in the browser.
> 
> DHSInfo is the name of my application in the
> $TOMCAT/webapps directory.
> --- Jim Barrows <[EMAIL PROTECTED]> wrote:
> 
> > 
> > 
> > > -----Original Message-----
> > > From: Caroline Jen [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, September 08, 2004 1:18 PM
> > > To: Struts Users Mailing List
> > > Subject: RE: Action Mapping From a JSP to Another
> > JSP (In Trouble
> > > Again!!!)
> > > 
> > > 
> > > 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.
> > 
> > Even before you click on the link?
> > 
> > > --- 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?
> > > > > > > > 
> > > > > > > > 
> > > > > > > > > 
> > 
> === message truncated ===
> 
> 
> 
>               
> _______________________________
> Do you Yahoo!?
> Win 1 of 4,000 free domain names from Yahoo! Enter now.
> http://promotions.yahoo.com/goldrush
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

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

Reply via email to