I am trying to use a javascript library which requires two additions to my JSP for touchscreen devices.

Note: At present I am using Spring MVC.

Code:
In the head section:

<link rel="stylesheet" href="/scheduler/ext/dhtmlxscheduler_touch.css" type="text/css" charset="utf-8">

In the body section:

<script src="/scheduler/ext/dhtmlxscheduler_touch.js" type="text/javascript" charset="utf-8"></script>

It is not clear to me.

1) Is 'spring mobile' the way to achieve this ?

2) If so how do I distingish touchscreen devices ?

3) If the answers above means I use the "WNG tag library" can I just place tags around the <script> / <link> sections I need or do I need to provide a complete WNG jsp ?

Thanks in advance.