Well your question is vague, but in general the easiest thing to do is bind your data as a Bean or a Map into the request as an attribute, or something; it depends on what framework you're using. Once you've done that, you just refer to the fields via JSTL EL expressions:
events: [
<c:forEach var='event' items='${myData.events}'>
{ title: '${event.title}', start: new Date(${event.timestamp}) },
</c:forEach>
null
];
The trailing "null" is to put something there for IE; you could also code the loop to avoid the stray trailing comma.
In my applications, I always write a "jsQuote" EL function that does something analogous to "fn:escapeXml" for Javascript string constant syntax. It's dangerous to just dump stuff like your event title directly into the Javascript source like that, but there's no function in the standard JSP libraries to perform string escaping for Javascript. It's easy to write one however. Thus in my code that line would look like this:
{title: '${xyz:jsQuote(event.title)}', start: new Date(${event.timestamp}) },
You don't have to worry about "timestamp" if it's a "long" or a "Long" in your data.
Again, all this depends completely on what your data looks like.