On 11/5/06, ryan mckinley <[EMAIL PROTECTED]> wrote:
>
> The examples have a static /index.html and multiple apps defined at
> /helloworld, /echo, etc each one has its own session (if i understand
> correctly)
>
In case of the examples index.html is registered in web.xml as the welcome page
<welcome-file-list>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
and allows you to easily select any of the example applications.
A session is created by the servlet container per user (not per
application) and can be used to stored eg user information. Because a
session is a per user object, it is available for the various pages
which make up your application.
> I'd like to have wicket style templates on index.html and share session
> attributes across the sub pages (specifically user authentication)
>
> Do i need to map an Application to index.html also?
>
> thanks
>
> (i apologize if this is super basic)
>
>
>
> On 11/5/06, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:
> > There is no need to use /*. In fact it is the least favourable
> > solution. Take a look at the examples.
> >
> > Juergen
> >
> > On 11/5/06, ryan mckinley <[EMAIL PROTECTED]> wrote:
> > >
> > > I'm trying to build my first real app using wicket and am looking for
> advice
> > > on how to structure it. I expect it will have moderately heavy traffic
> but
> > > most things can be cached with a simple ehcache Filter.
> > >
> > > The issue i see is that if i want to have wicket generated content on
> the
> > > root page, i need to map the application servlet to:
> > > <url-pattern>/*</url-pattern>
> > >
> > > But if i do that, it looks like all the static content has to go through
> > > wicket too. Is there any way to have the web server directly serve
> content
> > > under: /static/*?
> > >
> > > Alternatively i guess i could map multiple application to deeper paths,
> but
> > > that seems like a bad idea.
> > >
> > > I've read that 2.0 will switch to a filter model, what is the best
> practice
> > > until then?
> > >
> > > thanks
> > >
> > >
> > >
> -------------------------------------------------------------------------
> > > Using Tomcat but need to do more? Need to support web services,
> security?
> > > Get stuff done quickly with pre-integrated technology to make your job
> > > easier
> > > Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> > >
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > >
> > > _______________________________________________
> > > Wicket-user mailing list
> > > [email protected]
> > >
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >
> > >
> > >
> >
> >
> -------------------------------------------------------------------------
> > Using Tomcat but need to do more? Need to support web services, security?
> > Get stuff done quickly with pre-integrated technology to make your job
> easier
> > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> >
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > _______________________________________________
> > Wicket-user mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
>
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user