struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Taylor" <rtay...@mulework.com>
Subject RE: Urgent help needed on struts!
Date Fri, 02 Jul 2004 10:40:16 GMT
You should be able to put the <?xml version="1.0" ?>
back.

As Mark already mentioned, after the document was parsed,
the container had conflicting information on which Servlet
spec it should follow.

robert

> -----Original Message-----
> From: Ding Lei [mailto:dinglei@ipanel.cn]
> Sent: Thursday, July 01, 2004 10:49 PM
> To: Struts Users Mailing List
> Subject: Re: Urgent help needed on struts!
> 
> 
> Hi,
> thank you very much !!!
> It works, after  I did everything you guys said ...
> I'm just not clear the reason why DOCTYPE & "<?xml" tag
> cause the problem. Would you please tell me?
> 
> Thanks again.
> 
> 
> 
> Ding Lei
> 
> 
> 
> 
> On Thu, Jul 01, 2004 at 01:41:15PM -0400, Robert Taylor wrote:
> > Remove the doctype declaration:
> > 
> > <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"

> "http://java.sun.com/j2ee/dtds/web-app_2_3.dtd">
> > 
> > 
> > and try the following for the root element:
> > 
> > <web-app xmlns="http://java.sun.com/xml/ns/j2ee" 
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
> > version="2.4" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
> > 
> > 
> > robert
> > 
> > > -----Original Message-----
> > > From: Ding Lei [mailto:dinglei@ipanel.cn]
> > > Sent: Thursday, July 01, 2004 12:44 PM
> > > To: Struts Users Mailing List
> > > Subject: Re: Urgent help needed on struts!
> > > 
> > > 
> > > Hello,
> > > 	I'v searched all the recent 800 messages, and found no
> > > similiar messages .. 
> > > Would any one of you kindly tell me what might causes the problem?
> > > Thank you!
> > > 
> > > 
> > > 
> > > 	Ding Lei
> > > 
> > > 
> > > On Thu, Jul 01, 2004 at 12:25:50PM -0400, Robert Taylor wrote:
> > > > There was a recent thread on this behavior although
> > > > I cannot recall the resolution. 
> > > > 
> > > > Please search the mail archives.
> > > > 
> > > > Also, make sure you have the appropriate .tld and .jar files
> > > > in place. Make sure you web.xml file corresponds to the 
> > > > containers supported Servlet spec. Make sure you have
> > > > imported the appropriate taglibs into the page.
> > > > 
> > > > robert
> > > > 
> > > > > -----Original Message-----
> > > > > From: Ding Lei [mailto:dinglei@ipanel.cn]
> > > > > Sent: Thursday, July 01, 2004 12:09 PM
> > > > > To: user@struts.apache.org
> > > > > Subject: Urgent help needed on struts!
> > > > > 
> > > > > 
> > > > > Hi all,
> > > > >   I am using JBoss 3.2.4 with Struts 1.1	
> > > > >   All the actions are able to work correctly, but JSP pages
> > > > > shows the tag itself instead of it's content, for ex:
> > > > > The browser shows:
> > > > >   ${CardControl.cardType}
> > > > > instead of the actual content. I am sure that the JSP pages
> > > > > are correct, since several ago they are fine, and the only
> > > > > possible changes are configuration file or sth. else.
> > > > >   
> > > > >   Thanks!
> > > > > 
> > > > > 
> > > > >   
> > > > > Ding Lei
> > > > > 
> > > > > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > > > > For additional commands, e-mail: user-help@struts.apache.org
> > > > > 
> > > > 
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > > > For additional commands, e-mail: user-help@struts.apache.org
> > > 
> > > -- 
> > > Yours,
> > > 
> > >    <<<:::::   D i n g    L e i   ::::::>>
> > >  ||                                      ||
> > >  || Ext: 8106                            ||
> > >  || Email: <dinglei [A] ipanel [O] cn>   ||
> > >  || Dept. Of Technology/Engineering      ||
> > >  || Embedded Internet Solutions Inc.     ||
> > >  ||                                      ||
> > > <((((((    =====================     )))))>>>
> > > 	
> > > 	Your home electrical system is basically a bunch of wires that
> > > bring electricity into your home and take if back out before it has a
> > > chance to kill you.  This is called a "circuit".  The most common home
> > > electrical problem is when the circuit is broken by a "circuit
> > > breaker"; this causes the electricity to back up in one of the wires
> > > until it bursts out of an outlet in the form of sparks, which can
> > > damage your carpet.  The best way to avoid broken circuits is to change
> > > your fuses regularly.
> > > 	Another common problem is that the lights flicker.  This
> > > sometimes means that your electrical system is inadequate, but more
> > > often it means that your home is possessed by demons, in which case
> > > you'll need to get a caulking gun and some caulking.  If you're not
> > > sure whether your house is possessed, see "The Amityville Horror", a
> > > fine documentary film based on an actual book.  Or call in a licensed
> > > electrician, who is trained to spot the signs of demonic possession,
> > > such as blood coming down the stairs, enormous cats on the dinette
> > > table, etc.
> > > 		-- Dave Barry, "The Taming of the Screw"
> > > 
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > > For additional commands, e-mail: user-help@struts.apache.org
> > > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> 
> -- 
> Yours,
> 
>    <<<:::::   D i n g    L e i   ::::::>>
>  ||                                      ||
>  || Ext: 8106                            ||
>  || Email: <dinglei [A] ipanel [O] cn>   ||
>  || Dept. Of Technology/Engineering      ||
>  || Embedded Internet Solutions Inc.     ||
>  ||                                      ||
> <((((((    =====================     )))))>>>
> 	
> Demographic polls show that you have lost credibility across the
> board.  Especially with  those 14 year-old Valley girls.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message