struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ding Lei <ding...@ipanel.cn>
Subject Re: Urgent help needed on struts!
Date Thu, 01 Jul 2004 17:21:49 GMT
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


Mime
View raw message