You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ding Lei <di...@ipanel.cn> on 2004/07/01 18:08:53 UTC

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


Re: Urgent help needed on struts!

Posted by Mark Lowe <ma...@boxstuff.com>.
Ding

>> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web  
>> Application 2.3//EN" "http://java.sun.com/j2ee/dtds/web-app_2_3.dtd">

If you had to guess which servlet spec the above was used for what  
would you guess be? web-app_2_3.dtd


>> <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">

Like wise was servlet spec would this appear to be? web-app_2_4.xsd

Mark

On 2 Jul 2004, at 04:49, Ding Lei wrote:

> 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


RE: Urgent help needed on struts!

Posted by Robert Taylor <rt...@mulework.com>.
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


Re: Urgent help needed on struts!

Posted by Ding Lei <di...@ipanel.cn>.
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


Re: Urgent help needed on struts!

Posted by Mark Lowe <ma...@boxstuff.com>.
You could try removing

> <?xml version="1.0" encoding="UTF-8"?>

And hope that works, otherwise I haven't had much to do with 2.4  
web.xml 's as xdoclet only support 2.3 and under..

Mark


On 1 Jul 2004, at 19:37, Ding Lei wrote:

> Hi Mark,
> 	Thank you very much for your fast reply.
> 	I was told that there are much differences between 2.4 and 2.3,
> and I would like to use 2.4
>
>> the 2.4 spec has a way of doing this in the web.xml
> Would you please tell me how to do this?
>
>>
>> What does the rest ofit look like?
>>
> Thanks in advance!
> Here's full version:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web  
> Application 2.3//EN" "http://java.sun.com/j2ee/dtds/web-app_2_3.dtd">
>
> <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
>     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>     version="2.4">
>
>   <!-- Action Servlet Configuration -->
>   <servlet>
>     <servlet-name>action</servlet-name>
>      
> <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
>     <init-param>
>       <param-name>config</param-name>
>       <param-value>/WEB-INF/struts-config.xml</param-value>
>     </init-param>
>     <load-on-startup>1</load-on-startup>
>   </servlet>
>
>   <servlet>
>     <servlet-name>broadcastservlet</servlet-name>
>      
> <servlet-class>com.embisoft.embicast.servlets.BroadcastServlet</ 
> servlet-class>
>     <load-on-startup>1</load-on-startup>
>   </servlet>
>
>   <servlet>
>     <servlet-name>RecordDownload</servlet-name>
>      
> <servlet-class>com.embisoft.embicast.servlets.RecordDownload</servlet- 
> class>
>     <load-on-startup>1</load-on-startup>
>   </servlet>
>
>   <filter>
>   	<filter-name>cacheControl</filter-name>
> 	<filter-class>com.embisoft.embicast.servlets.CacheControlFilter</ 
> filter-class>
>   </filter>
>
>   <!-- Action Servlet Mapping -->
>   <servlet-mapping>
>     <servlet-name>action</servlet-name>
>     <url-pattern>*.do</url-pattern>
>   </servlet-mapping>
>   <servlet-mapping>
>     <servlet-name>broadcastservlet</servlet-name>
>     <url-pattern>/broadcast-server</url-pattern>
>   </servlet-mapping>
>   <servlet-mapping>
>     <servlet-name>RecordDownload</servlet-name>
>     <url-pattern>/RecordDownload</url-pattern>
>   </servlet-mapping>
>
>   <filter-mapping>
>   	<filter-name>cacheControl</filter-name>
> 	<url-pattern>*.jsp</url-pattern>
>   </filter-mapping>
>
>   <welcome-file-list>
>     <welcome-file>index.jsp</welcome-file>
>   </welcome-file-list>
>
>   <jsp-config>
>
>     <taglib>
>       <taglib-uri> http://java.sun.com/jsp/jstl/core </taglib-uri>
>       <taglib-location>/WEB-INF/tld/c-1_0-rt.tld</taglib-location>
>     </taglib>
>
>     <taglib>
>       <taglib-uri> /WEB-INF/tld/c-1_0-rt.tld </taglib-uri>
>       <taglib-location>/WEB-INF/tld/c-1_0-rt.tld</taglib-location>
>     </taglib>
>
>     <taglib>
>       <taglib-uri> /WEB-INF/tld/fn.tld </taglib-uri>
>       <taglib-location>/WEB-INF/tld/fn.tld</taglib-location>
>     </taglib>
>
>     <taglib>
>       <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
>       <taglib-location>/WEB-INF/tld/struts-html.tld</taglib-location>
>     </taglib>
>
>     <taglib>
>       <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
>       <taglib-location>/WEB-INF/tld/struts-bean.tld</taglib-location>
>     </taglib>
>
>     <taglib>
>       <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
>       <taglib-location>/WEB-INF/tld/struts-logic.tld</taglib-location>
>     </taglib>
>
>   </jsp-config>
>
>
> </web-app>
>
>
> ---------------------------------------------------------------------
> 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


Re: Urgent help needed on struts!

Posted by Can Zheng <ca...@gmail.com>.
Hi,

As you are using a 2.4 version, add this to your <jsp-config> element
and you have el processing activated.

        <jsp-property-group>
            <url-pattern>*.jsp</url-pattern>
            <el-ignored>false</el-ignored>
            <scripting-invalid>false</scripting-invalid>
        </jsp-property-group>



On Fri, 2 Jul 2004 01:37:39 +0800, Ding Lei <di...@ipanel.cn> wrote:
> 
> Hi Mark,
>        Thank you very much for your fast reply.
>        I was told that there are much differences between 2.4 and 2.3,
> and I would like to use 2.4
> 
> > the 2.4 spec has a way of doing this in the web.xml
> Would you please tell me how to do this?
> 
> >
> > What does the rest ofit look like?
> > 
> Thanks in advance!
> Here's full version:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/j2ee/dtds/web-app_2_3.dtd">
> 
> <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
>    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>    version="2.4">
> 
>  <!-- Action Servlet Configuration -->
>  <servlet>
>    <servlet-name>action</servlet-name>
>    <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
>    <init-param>
>      <param-name>config</param-name>
>      <param-value>/WEB-INF/struts-config.xml</param-value>
>    </init-param>
>    <load-on-startup>1</load-on-startup>
>  </servlet>
>  
>  <servlet>
>    <servlet-name>broadcastservlet</servlet-name>
>    <servlet-class>com.embisoft.embicast.servlets.BroadcastServlet</servlet-class>
>    <load-on-startup>1</load-on-startup>
>  </servlet>
>  
>  <servlet>
>    <servlet-name>RecordDownload</servlet-name>
>    <servlet-class>com.embisoft.embicast.servlets.RecordDownload</servlet-class>
>    <load-on-startup>1</load-on-startup>
>  </servlet>
> 
>  <filter>
>        <filter-name>cacheControl</filter-name>
>        <filter-class>com.embisoft.embicast.servlets.CacheControlFilter</filter-class>
>  </filter>
> 
>  <!-- Action Servlet Mapping -->
>  <servlet-mapping>
>    <servlet-name>action</servlet-name>
>    <url-pattern>*.do</url-pattern>
>  </servlet-mapping>
>  <servlet-mapping>
>    <servlet-name>broadcastservlet</servlet-name>
>    <url-pattern>/broadcast-server</url-pattern>
>  </servlet-mapping>
>  <servlet-mapping>
>    <servlet-name>RecordDownload</servlet-name>
>    <url-pattern>/RecordDownload</url-pattern>
>  </servlet-mapping>
> 
>  <filter-mapping>
>        <filter-name>cacheControl</filter-name>
>        <url-pattern>*.jsp</url-pattern>
>  </filter-mapping>
> 
>  <welcome-file-list>
>    <welcome-file>index.jsp</welcome-file>
>  </welcome-file-list>
> 
>  <jsp-config>
> 
>    <taglib>
>      <taglib-uri> http://java.sun.com/jsp/jstl/core </taglib-uri>
>      <taglib-location>/WEB-INF/tld/c-1_0-rt.tld</taglib-location>
>    </taglib>
> 
>    <taglib>
>      <taglib-uri> /WEB-INF/tld/c-1_0-rt.tld </taglib-uri>
>      <taglib-location>/WEB-INF/tld/c-1_0-rt.tld</taglib-location>
>    </taglib>
> 
>    <taglib>
>      <taglib-uri> /WEB-INF/tld/fn.tld </taglib-uri>
>      <taglib-location>/WEB-INF/tld/fn.tld</taglib-location>
>    </taglib>
> 
>    <taglib>
>      <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
>      <taglib-location>/WEB-INF/tld/struts-html.tld</taglib-location>
>    </taglib>
> 
>    <taglib>
>      <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
>      <taglib-location>/WEB-INF/tld/struts-bean.tld</taglib-location>
>    </taglib>
> 
>    <taglib>
>      <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
>      <taglib-location>/WEB-INF/tld/struts-logic.tld</taglib-location>
>    </taglib>
> 
>  </jsp-config>
> 
> </web-app>
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 




-- 
Best regards,

Can Zheng

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


Re: Urgent help needed on struts!

Posted by Ding Lei <di...@ipanel.cn>.
Hi Mark,
	Thank you very much for your fast reply.
	I was told that there are much differences between 2.4 and 2.3,
and I would like to use 2.4

> the 2.4 spec has a way of doing this in the web.xml
Would you please tell me how to do this?

> 
> What does the rest ofit look like?
> 
Thanks in advance!
Here's full version:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/j2ee/dtds/web-app_2_3.dtd">

<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    version="2.4">
 
  <!-- Action Servlet Configuration -->
  <servlet>
    <servlet-name>action</servlet-name>
    <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
    <init-param>
      <param-name>config</param-name>
      <param-value>/WEB-INF/struts-config.xml</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
  </servlet>
  
  <servlet>
    <servlet-name>broadcastservlet</servlet-name>
    <servlet-class>com.embisoft.embicast.servlets.BroadcastServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
  </servlet>
  
  <servlet>
    <servlet-name>RecordDownload</servlet-name>
    <servlet-class>com.embisoft.embicast.servlets.RecordDownload</servlet-class>
    <load-on-startup>1</load-on-startup>
  </servlet>
  
  <filter>
  	<filter-name>cacheControl</filter-name>
	<filter-class>com.embisoft.embicast.servlets.CacheControlFilter</filter-class>
  </filter>
  
  <!-- Action Servlet Mapping -->
  <servlet-mapping>
    <servlet-name>action</servlet-name>
    <url-pattern>*.do</url-pattern>
  </servlet-mapping>
  <servlet-mapping>
    <servlet-name>broadcastservlet</servlet-name>
    <url-pattern>/broadcast-server</url-pattern>
  </servlet-mapping>
  <servlet-mapping>
    <servlet-name>RecordDownload</servlet-name>
    <url-pattern>/RecordDownload</url-pattern>
  </servlet-mapping>
  
  <filter-mapping>
  	<filter-name>cacheControl</filter-name>
	<url-pattern>*.jsp</url-pattern>
  </filter-mapping>

  <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
  </welcome-file-list>

  <jsp-config>
  
    <taglib>
      <taglib-uri> http://java.sun.com/jsp/jstl/core </taglib-uri>
      <taglib-location>/WEB-INF/tld/c-1_0-rt.tld</taglib-location>
    </taglib>
    
    <taglib>
      <taglib-uri> /WEB-INF/tld/c-1_0-rt.tld </taglib-uri>
      <taglib-location>/WEB-INF/tld/c-1_0-rt.tld</taglib-location>
    </taglib>

    <taglib>
      <taglib-uri> /WEB-INF/tld/fn.tld </taglib-uri>
      <taglib-location>/WEB-INF/tld/fn.tld</taglib-location>
    </taglib>

    <taglib>
      <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
      <taglib-location>/WEB-INF/tld/struts-html.tld</taglib-location>
    </taglib>

    <taglib>
      <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
      <taglib-location>/WEB-INF/tld/struts-bean.tld</taglib-location>
    </taglib>

    <taglib>
      <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
      <taglib-location>/WEB-INF/tld/struts-logic.tld</taglib-location>
    </taglib>

  </jsp-config>


</web-app>


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


Re: Urgent help needed on struts!

Posted by Mark Lowe <ma...@boxstuff.com>.
Okay the web.xml seems to be having trouble deciding if its 2.3 or 2.4.

Try making it one or the other..

If you use 2.3 you'll need the

>> <%@ page isELIgnored="false" %>

in your jsps

the 2.4 spec has a way of doing this in the web.xml

What does the rest ofit look like?

On 1 Jul 2004, at 19:21, Ding Lei wrote:

> Hi,
> 	I am using JBoss3.2.4, i.e. Tomcat 5.
> here's my web.xml:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web  
> Application 2.3//EN" "http://java.sun.com/j2ee/dtds/web-app_2_3.dtd">
>
> <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
>     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>     version="2.4">
>
>   <!-- Action Servlet Configuration -->
>   <servlet>
>     <servlet-name>action</servlet-name>
>      
> <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
>     <init-param>
>       <param-name>config</param-name>
>       <param-value>/WEB-INF/struts-config.xml</param-value>
>     </init-param>
>     <load-on-startup>1</load-on-startup>
>   </servlet>
>
>   <filter>
>   	<filter-name>cacheControl</filter-name>
> 	<filter-class>com.embisoft.embicast.servlets.CacheControlFilter</ 
> filter-class>
>   </filter>
>
>   <!-- Action Servlet Mapping -->
>   <servlet-mapping>
>     <servlet-name>action</servlet-name>
>     <url-pattern>*.do</url-pattern>
>   </servlet-mapping>
>
> ......
>
>
> Thank you.
>
> Ding Lei
>
>
> 	
>
> On Thu, Jul 01, 2004 at 06:56:31PM +0200, Mark Lowe wrote:
>> I've have no experience of this problem however given that its a EL
>> processing problem then like the next man said check your web.xml and
>> see what servlet spec it is.
>>
>> As JBoss ships with tomcat then it could well be a tomcat issue rather
>> than a JBoss one.
>>
>> I know that 3.2.5 ships with tomcat 5 so it should dig el. If nothing
>> else works you could try and stick
>>
>> <%@ page isELIgnored="false" %>
>>
>> in the top of your jsp's.
>>
>> So see what the servlet spec is, and what version of tomcat you  
>> version
>> of jboss is running.
>>
>> Perhaps try the tomcat list archives and see if anything crops up  
>> there.
>>
>> Mark
>>
>> On 1 Jul 2004, at 18:43, Ding Lei wrote:
>>
>>> 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.     ||
>  ||                                      ||
> <((((((    =====================     )))))>>>
> 	
> As soon as we started programming, we found to our surprise that it
> wasn't as easy to get programs right as we had thought.  Debugging had
> to be discovered.  I can remember the exact instant when I realized
> that a large part of my life from then on was going to be spent in
> finding mistakes in my own programs.
> 		-- Maurice Wilkes discovers debugging, 1949
>
> ---------------------------------------------------------------------
> 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


Re: Urgent help needed on struts!

Posted by Ding Lei <di...@ipanel.cn>.
Hi,
	I am using JBoss3.2.4, i.e. Tomcat 5.
here's my web.xml:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/j2ee/dtds/web-app_2_3.dtd">

<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    version="2.4">
 
  <!-- Action Servlet Configuration -->
  <servlet>
    <servlet-name>action</servlet-name>
    <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
    <init-param>
      <param-name>config</param-name>
      <param-value>/WEB-INF/struts-config.xml</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
  </servlet>
  
  <filter>
  	<filter-name>cacheControl</filter-name>
	<filter-class>com.embisoft.embicast.servlets.CacheControlFilter</filter-class>
  </filter>
  
  <!-- Action Servlet Mapping -->
  <servlet-mapping>
    <servlet-name>action</servlet-name>
    <url-pattern>*.do</url-pattern>
  </servlet-mapping>

......


Thank you.

Ding Lei


	

On Thu, Jul 01, 2004 at 06:56:31PM +0200, Mark Lowe wrote:
> I've have no experience of this problem however given that its a EL 
> processing problem then like the next man said check your web.xml and 
> see what servlet spec it is.
> 
> As JBoss ships with tomcat then it could well be a tomcat issue rather 
> than a JBoss one.
> 
> I know that 3.2.5 ships with tomcat 5 so it should dig el. If nothing 
> else works you could try and stick
> 
> <%@ page isELIgnored="false" %>
> 
> in the top of your jsp's.
> 
> So see what the servlet spec is, and what version of tomcat you version 
> of jboss is running.
> 
> Perhaps try the tomcat list archives and see if anything crops up there.
> 
> Mark
> 
> On 1 Jul 2004, at 18:43, Ding Lei wrote:
> 
> >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.     ||
 ||                                      ||
<((((((    =====================     )))))>>>
	
As soon as we started programming, we found to our surprise that it
wasn't as easy to get programs right as we had thought.  Debugging had
to be discovered.  I can remember the exact instant when I realized
that a large part of my life from then on was going to be spent in
finding mistakes in my own programs.
		-- Maurice Wilkes discovers debugging, 1949

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


Re: Urgent help needed on struts!

Posted by Mark Lowe <ma...@boxstuff.com>.
I've have no experience of this problem however given that its a EL 
processing problem then like the next man said check your web.xml and 
see what servlet spec it is.

As JBoss ships with tomcat then it could well be a tomcat issue rather 
than a JBoss one.

I know that 3.2.5 ships with tomcat 5 so it should dig el. If nothing 
else works you could try and stick

<%@ page isELIgnored="false" %>

in the top of your jsp's.

So see what the servlet spec is, and what version of tomcat you version 
of jboss is running.

Perhaps try the tomcat list archives and see if anything crops up there.

Mark

On 1 Jul 2004, at 18:43, Ding Lei wrote:

> 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


RE: Urgent help needed on struts!

Posted by Robert Taylor <rt...@mulework.com>.
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


Re: Urgent help needed on struts!

Posted by Ding Lei <di...@ipanel.cn>.
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


RE: Urgent help needed on struts!

Posted by Robert Taylor <rt...@mulework.com>.
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