Configuring web.xml

3 views
Skip to first unread message

sunanda

unread,
Nov 23, 2009, 7:13:03 PM11/23/09
to Lift
Hi,
I need the url pattern for my application to be "/grid/*".

I configured the web.xml file like this:
<web-app>
<filter>
<filter-name>LiftFilter</filter-name>
<display-name>Lift Filter</display-name>
<description>The Filter that intercepts lift calls</description>
<filter-class>net.liftweb.http.LiftFilter</filter-class>
</filter>


<filter-mapping>
<filter-name>LiftFilter</filter-name>
<url-pattern>/grid/*</url-pattern>
</filter-mapping>

</web-app>

But my application does not run with this pattern (e.g.
http://localhost:8080/SortableGridViewApp-0.0.1/grid/).
What other seetings I need to make?

Regards,
Sunanda


David Pollak

unread,
Nov 23, 2009, 7:21:20 PM11/23/09
to lif...@googlegroups.com
What do you mean by "does not run"?
 

Regards,
Sunanda


--

You received this message because you are subscribed to the Google Groups "Lift" group.
To post to this group, send email to lif...@googlegroups.com.
To unsubscribe from this group, send email to liftweb+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/liftweb?hl=.





--
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Surf the harmonics

sunanda

unread,
Nov 23, 2009, 7:27:44 PM11/23/09
to Lift
I get the HTTP Status 404 Error: The requested resource () is not
available


On Nov 24, 11:21 am, David Pollak <feeder.of.the.be...@gmail.com>
wrote:
> > liftweb+u...@googlegroups.com<liftweb%2Bunsu...@googlegroups.com­>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/liftweb?hl=.
>
> --
> Lift, the simply functional web frameworkhttp://liftweb.net
> Beginning Scalahttp://www.apress.com/book/view/1430219890
> Follow me:http://twitter.com/dpp
> Surf the harmonics- Hide quoted text -
>
> - Show quoted text -- Hide quoted text -
>
> - Show quoted text -

David Pollak

unread,
Nov 23, 2009, 7:49:48 PM11/23/09
to lif...@googlegroups.com
On Mon, Nov 23, 2009 at 4:27 PM, sunanda <sunand...@gmail.com> wrote:
I get the HTTP  Status  404 Error: The requested resource () is not
available


Do you have items and SiteMap entries for
/grid/index
/grid/....

?
 
To unsubscribe from this group, send email to liftweb+u...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/liftweb?hl=.





--
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890

sunanda

unread,
Nov 23, 2009, 7:54:30 PM11/23/09
to Lift
No I don't have.
Do I need to have this.

On Nov 24, 11:49 am, David Pollak <feeder.of.the.be...@gmail.com>
wrote:
> > <liftweb%2Bunsu...@googlegroups.com<liftweb%252Bunsubscribe@googlegroup­s.com>

David Pollak

unread,
Nov 23, 2009, 8:14:49 PM11/23/09
to lif...@googlegroups.com
On Mon, Nov 23, 2009 at 4:54 PM, sunanda <sunand...@gmail.com> wrote:
No I don't have.
 Do I need to have this.

If you don't define the pages, then you'll get a 404.
 
To unsubscribe from this group, send email to liftweb+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.





--
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Reply all
Reply to author
Forward
0 new messages