Hi,

I am not able to obtain the wicketsession even though sessionFilter has been
added
My requirement
1. Click of button on Page 1 (url : http://localhost:7001/abc/def/). open
editable Pdf form in new window.
2. on click of submit present on pdf form , call a servlet (configured at
http://localhost:7001/abc/def/fgh/ijk).
3. Trying to access the session in this servlet . But of no avail.

The session is configured at (/def/* ) 

*****Code in web.xml ****** 

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC &quot;-//Sun Microsystems, Inc.//DTD Web
Application 2.3//EN&quot;
&quot;http://java.sun.com/dtd/web-app_2_3.dtd&quot;>
<web-app>
        <context-param>
                <param-name>configuration</param-name>
                <param-value>deployment</param-value>
        </context-param>

        
        
          <filter>
                <filter-name>loadablePdfWicketSessionFilter</filter-name>
                <filter-class>
                        
org.apache.wicket.protocol.http.servlet.WicketSessionFilter
                </filter-class>
                <init-param>
                        <param-name>filterName</param-name>
                        <param-value>applicationSession</param-value>
                </init-param>
        </filter>
        

        <filter>
                <filter-name>applicationSession</filter-name>
                <filter-class>
                        com.marsh.itg.ddeepa.presentation.appcore.MWicketFilter
                </filter-class>
                <init-param>
                        <param-name>applicationClassName</param-name>
                        <param-value>
                                
com.marsh.itg.abc.presentation.app.view.ApplicationSession
                        </param-value>
                </init-param>
        </filter>

        
        
        <filter-mapping>
                <filter-name>loadablePdfWicketSessionFilter</filter-name>
                <url-pattern>/abc/def/ghi</url-pattern>
        </filter-mapping>
        

        <filter-mapping>
                <filter-name>applicationSession</filter-name>
                <url-pattern>/abc/*</url-pattern>
        </filter-mapping>


        
        
        <servlet>
                <servlet-name>loadablePdf</servlet-name>
                <servlet-class>
                        com.marsh.itg.abc.presentation.quote.servlet.ghi
                </servlet-class>
        </servlet>
        
        <servlet-mapping>
                <servlet-name>ProlStartUpServlet</servlet-name>
                <url-pattern>*.do</url-pattern>
        </servlet-mapping>

        
        
        <servlet-mapping>
                <servlet-name>loadablePdf</servlet-name>
                <url-pattern>/abc/def/ghi</url-pattern>
        </servlet-mapping>
        

</web-app>






--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Not-able-to-get-Wicket-Session-even-though-WicketSessionFilter-has-been-added-tp4666469.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to