Thanks for the replies from everyone, I'd read that Stripes has a very
friendly community and I appreciate the patience, the difficulty I'm
having is probably related to trying to understand Servlets, JSP and
Stripes all at the same time.
I fixed the EL expression to ${actionBean.user.name}. It still displays
the expression as text on the web page "${actionBean.user.name}". It's
as if the page is not being parsed for expressions ?
My web.xml looks like this:
------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<filter>
<display-name>Stripes Filter</display-name>
<filter-name>StripesFilter</filter-name>
<filter-class>net.sourceforge.stripes.controller.StripesFilter</filter-class>
<init-param>
<param-name>ActionResolver.Packages</param-name>
<param-value>test.stripes</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>StripesFilter</filter-name>
<url-pattern>*.jsp</url-pattern>
<dispatcher>REQUEST</dispatcher>
</filter-mapping>
<filter-mapping>
<filter-name>StripesFilter</filter-name>
<servlet-name>StripesDispatcher</servlet-name>
<dispatcher>REQUEST</dispatcher>
</filter-mapping>
<servlet>
<servlet-name>StripesDispatcher</servlet-name>
<servlet-class>net.sourceforge.stripes.controller.DispatcherServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>StripesDispatcher</servlet-name>
<url-pattern>*.action</url-pattern>
</servlet-mapping>
</web-app>
------------------------------------------------------------------------
I'm using the schema from
"http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" is there anywhere
else I need to specify version ?
Is there any advice on how to perform the original test I wanted to
make. I'd like to invoke the MainBean when the index.jsp page is
accessed instead of requiring an "event" to occur to generate the bean ?
Cheers,
Chris
On 07/24/11 12:37, Levi Hoogenberg wrote:
Newer EL versions do support method calls, but I don't think that's
the problem here [yet ;)]. OP, are you using version 2.3 of the
servlet spec (in web.xml)? It should be at least 2.4.
Op 24 jul. 2011 13:33 schreef "Thomas Menke" <stripe...@cipher-code.de
<mailto:stripe...@cipher-code.de>> het volgende:
------------------------------------------------------------------------------
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users
------------------------------------------------------------------------------
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users