<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>
		<title>Cycling 74  &#187;  Topic: Some example code for jweb and JSPs</title>
		<atom:link href="http://cycling74.com/forums/topic/some-example-code-for-jweb-and-jsps/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/some-example-code-for-jweb-and-jsps/feed</link>
		<description></description>
		<pubDate>Wed, 19 Jun 2013 07:06:28 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/some-example-code-for-jweb-and-jsps/#post-37501</guid>
					<title><![CDATA[Some example code for jweb and JSPs]]></title>
					<link>http://cycling74.com/forums/topic/some-example-code-for-jweb-and-jsps/#post-37501</link>
					<pubDate>Sat, 03 May 2008 14:35:07 +0000</pubDate>
					<dc:creator>nick rothwell / cassiel</dc:creator>

					<description>
						<![CDATA[
						<p>I&#8217;ve just spent a couple of hours knocking up some example code using  <br />
my embedded Jetty web server package generating HTML pages for jweb,  <br />
leading to a level of integration where Max can control the rendering  <br />
of HTML pages, and the HTML can contain links which generate Max  <br />
messages&#8230; so if calculating &#8220;2 * 2&#8243; using the [*] box is too easy,  <br />
you can now inject the numbers into a JSP, use EL for the calculation  <br />
via a J2EE servlet engine, and get the result back in Max merely by  <br />
clicking an HTML link. Progress.</p>
<p>I&#8217;ve integrated the example into my web package, here:</p>
<p>	<a href="http://www.loadbang.net/space/Software/net.loadbang.web" rel="nofollow">http://www.loadbang.net/space/Software/net.loadbang.web</a></p>
<p>
Nick Rothwell &#8211; <a href="mailto:nick@cassiel.com">nick@cassiel.com</a> &#8211; <a href="http://www.cassiel.com" rel="nofollow">http://www.cassiel.com</a><br />
&#8212; open-source goodies for MaxMSP: Python, Groovy, Nixie Tubes,<br />
&#8212; rotatable text bricks, databases: all at <a href="http://www.loadbang.net" rel="nofollow">http://www.loadbang.net</a></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/some-example-code-for-jweb-and-jsps/#post-129642</guid>
					<title><![CDATA[Re: Some example code for jweb and JSPs]]></title>
					<link>http://cycling74.com/forums/topic/some-example-code-for-jweb-and-jsps/#post-129642</link>
					<pubDate>Sat, 03 May 2008 19:56:16 +0000</pubDate>
					<dc:creator>pelado</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Nick<br />
I&#8217;ve just tried this version but am unable to load anything with the max5<br />
example.  I get the error messages below.  I&#8217;m using Mac OSX 10.4.11.</p>
<p>The form example works as expected in mxt.server, but errors again occur<br />
with the jsp example using safari, which seems to suggest that the problem<br />
lies somewhere with jsp.  I had previously downloaded and successfully<br />
tested the previous version, (prior to Max5).</p>
<p>pelado</p>
<p>
2008-05-03 21:16:57.521::WARN: /jWebFun.jsp<br />
org.apache.jasper.JasperException: /jWebFun.jsp(9,21) PWC6038: &#8220;${border}&#8221;<br />
contains invalid expression(s): javax.el.ELException: Provider<br />
com.sun.el.ExpressionFactoryImpl not found at<br />
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:62)<br />
at<br />
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:357)<br />
at<br />
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:169)<br />
at org.apache.jasper.compiler.JspUtil.validateExpressions(JspUtil.java:633)<br />
at<br />
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:736)<br />
at org.apache.jasper.compiler.Node$ELExpression.accept(Node.java:929) at<br />
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2257) at<br />
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2307) at<br />
org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2313) at<br />
org.apache.jasper.compiler.Node$Root.accept(Node.java:481) at<br />
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2257) at<br />
org.apache.jasper.compiler.Validator.validate(Validator.java:1837) at<br />
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:195) at<br />
org.apache.jasper.compiler.Compiler.compile(Compiler.java:409) at<br />
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592)<br />
at<br />
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:344)<br />
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:470)<br />
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:364) at<br />
javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at<br />
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at<br />
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362) at<br />
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)<br />
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)<br />
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)<br />
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at<br />
org.mortbay.jetty.handler.HandlerList.handle(HandlerList.java:49) at<br />
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at<br />
org.mortbay.jetty.Server.handle(Server.java:324) at<br />
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) at<br />
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828)<br />
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514) at<br />
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at<br />
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at<br />
org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)<br />
at<br />
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)</p>
<p>On Sat, May 3, 2008 at 4:35 PM, Nick Rothwell <nick @cassiel.com> wrote:</nick></p>
<p>> I&#8217;ve just spent a couple of hours knocking up some example code using my<br />
> embedded Jetty web server package generating HTML pages for jweb, leading to<br />
> a level of integration where Max can control the rendering of HTML pages,<br />
> and the HTML can contain links which generate Max messages&#8230; so if<br />
> calculating &#8220;2 * 2&#8243; using the [*] box is too easy, you can now inject the<br />
> numbers into a JSP, use EL for the calculation via a J2EE servlet engine,<br />
> and get the result back in Max merely by clicking an HTML link. Progress.<br />
><br />
> I&#8217;ve integrated the example into my web package, here:<br />
><br />
>        <a href="http://www.loadbang.net/space/Software/net.loadbang.web" rel="nofollow">http://www.loadbang.net/space/Software/net.loadbang.web</a><br />
><br />
></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/some-example-code-for-jweb-and-jsps/#post-129643</guid>
					<title><![CDATA[Re: Some example code for jweb and JSPs]]></title>
					<link>http://cycling74.com/forums/topic/some-example-code-for-jweb-and-jsps/#post-129643</link>
					<pubDate>Sun, 04 May 2008 09:49:28 +0000</pubDate>
					<dc:creator>nick rothwell / cassiel</dc:creator>

					<description>
						<![CDATA[
						<p>
On 3 May 2008, at 20:56, pelado wrote:</p>
<p>> 2008-05-03 21:16:57.521::WARN: /jWebFun.jsp  <br />
> org.apache.jasper.JasperException: /jWebFun.jsp(9,21) PWC6038: &#8220;$ <br />
> {border}&#8221; contains invalid expression(s): javax.el.ELException:  <br />
> Provider com.sun.el.ExpressionFactoryImpl not found at</p>
<p>Hmm &#8230; sounds as if there&#8217;s a JSP engine problem somewhere.</p>
<p>I&#8217;ll give it a test on a Mac from the actual package ZIP using 10.4.11  <br />
and see if there&#8217;s any difference&#8230;</p>
<p>	&#8211; N.</p>
<p>
Nick Rothwell / Cassiel.com Limited<br />
<a href="http://www.cassiel.com" rel="nofollow">http://www.cassiel.com</a><br />
<a href="http://www.myspace.com/cassieldotcom" rel="nofollow">http://www.myspace.com/cassieldotcom</a><br />
<a href="http://www.last.fm/music/cassiel" rel="nofollow">http://www.last.fm/music/cassiel</a><br />
<a href="http://www.reverbnation.com/cassiel" rel="nofollow">http://www.reverbnation.com/cassiel</a><br />
<a href="http://www.linkedin.com/in/cassiel" rel="nofollow">http://www.linkedin.com/in/cassiel</a><br />
<a href="http://www.loadbang.net" rel="nofollow">http://www.loadbang.net</a></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/some-example-code-for-jweb-and-jsps/#post-129644</guid>
					<title><![CDATA[Re: Some example code for jweb and JSPs]]></title>
					<link>http://cycling74.com/forums/topic/some-example-code-for-jweb-and-jsps/#post-129644</link>
					<pubDate>Sun, 04 May 2008 10:33:01 +0000</pubDate>
					<dc:creator>nick rothwell / cassiel</dc:creator>

					<description>
						<![CDATA[
						<p>> The form example works as expected in mxt.server, but errors again  <br />
> occur with the jsp example using safari, which seems to suggest that  <br />
> the problem lies somewhere with jsp.  I had previously downloaded  <br />
> and successfully tested the previous version, (prior to Max5).</p>
<p>Hmm &#8211; I just installed the package from scratch on a Mac running  <br />
10.4.11, tried it with the Max5 Runtime, and it worked fine.</p>
<p>What do you have in your Cycling &#8217;74/java/lib directory? Are you  <br />
pulling in JARs from anywhere else? What version of Java do you have  <br />
installed? (10.4.11 should be running Java 1.5.x.)</p>
<p>	&#8211; N.</p>
<p>
Nick Rothwell &#8211; <a href="mailto:nick@cassiel.com">nick@cassiel.com</a> &#8211; <a href="http://www.cassiel.com" rel="nofollow">http://www.cassiel.com</a><br />
&#8212; open-source goodies for MaxMSP: Python, Groovy, Nixie Tubes,<br />
&#8212; rotatable text bricks, databases: all at <a href="http://www.loadbang.net" rel="nofollow">http://www.loadbang.net</a></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/some-example-code-for-jweb-and-jsps/#post-129645</guid>
					<title><![CDATA[Re: Some example code for jweb and JSPs]]></title>
					<link>http://cycling74.com/forums/topic/some-example-code-for-jweb-and-jsps/#post-129645</link>
					<pubDate>Sun, 04 May 2008 15:13:26 +0000</pubDate>
					<dc:creator>pelado</dc:creator>

					<description>
						<![CDATA[
						<p>I&#8217;ve just gone through the install again and think that I must have made a<br />
mistake with the max.java.config file.  I didn&#8217;t check this before as it<br />
appeared that max was locating the jar files correctly.  I&#8217;ve now got it up<br />
and working correctly now.  Sorry for the inconvenience and thanks for the<br />
example files.<br />
pelado</p>
<p>On Sun, May 4, 2008 at 12:33 PM, Nick Rothwell <nick @cassiel.com> wrote:</nick></p>
<p>> The form example works as expected in mxt.server, but errors again occur<br />
> > with the jsp example using safari, which seems to suggest that the problem<br />
> > lies somewhere with jsp.  I had previously downloaded and successfully<br />
> > tested the previous version, (prior to Max5).<br />
> ><br />
><br />
> Hmm &#8211; I just installed the package from scratch on a Mac running 10.4.11,<br />
> tried it with the Max5 Runtime, and it worked fine.<br />
><br />
> What do you have in your Cycling &#8217;74/java/lib directory? Are you pulling<br />
> in JARs from anywhere else? What version of Java do you have installed?<br />
> (10.4.11 should be running Java 1.5.x.)<br />
><br />
>        &#8212; N.<br />
><br />
><br />
><br />
> Nick Rothwell &#8211; <a href="mailto:nick@cassiel.com">nick@cassiel.com</a> &#8211; <a href="http://www.cassiel.com" rel="nofollow">http://www.cassiel.com</a><br />
> &#8212; open-source goodies for MaxMSP: Python, Groovy, Nixie Tubes,<br />
> &#8212; rotatable text bricks, databases: all at <a href="http://www.loadbang.net" rel="nofollow">http://www.loadbang.net</a><br />
><br />
></p>
<p>
&#8211; </p>
<p><a href="http://www.pelado.co.uk" rel="nofollow">http://www.pelado.co.uk</a></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/some-example-code-for-jweb-and-jsps/#post-129646</guid>
					<title><![CDATA[Re: Some example code for jweb and JSPs]]></title>
					<link>http://cycling74.com/forums/topic/some-example-code-for-jweb-and-jsps/#post-129646</link>
					<pubDate>Sun, 04 May 2008 15:25:04 +0000</pubDate>
					<dc:creator>nick rothwell / cassiel</dc:creator>

					<description>
						<![CDATA[
						<p>
On 4 May 2008, at 16:13, pelado wrote:</p>
<p>> I&#8217;ve just gone through the install again and think that I must have  <br />
> made a mistake with the max.java.config file.  I didn&#8217;t check this  <br />
> before as it appeared that max was locating the jar files correctly.</p>
<p>OK &#8211; classpath conflicts can be snarky sometimes. Glad you&#8217;re up and  <br />
running &#8211; do shout if you come up with anything interesting, since  <br />
having built this stuff I don&#8217;t have any immediate ideas what to do  <br />
with it&#8230;</p>
<p>	&#8211; N.</p>
<p>
Nick Rothwell &#8211; <a href="mailto:nick@cassiel.com">nick@cassiel.com</a> &#8211; <a href="http://www.cassiel.com" rel="nofollow">http://www.cassiel.com</a><br />
&#8212; open-source goodies for MaxMSP: Python, Groovy, Nixie Tubes,<br />
&#8212; rotatable text bricks, databases: all at <a href="http://www.loadbang.net" rel="nofollow">http://www.loadbang.net</a></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/some-example-code-for-jweb-and-jsps/#post-129647</guid>
					<title><![CDATA[Re: Some example code for jweb and JSPs]]></title>
					<link>http://cycling74.com/forums/topic/some-example-code-for-jweb-and-jsps/#post-129647</link>
					<pubDate>Wed, 13 Apr 2011 10:39:51 +0000</pubDate>
					<dc:creator>oli larkin</dc:creator>

					<description>
						<![CDATA[
						<p>net.loadbang.web is really cool, but i want to hack it a bit. I want to incorporate a json library so that i can send name value pairs into the net.loadbang.web mxj and have it write json to an attribute. I am reading the json with jquery to get the values in client side javascript.</p>
<p>At the moment i am using the sprintf object to format the json string and i&#8217;m having to add a backslash before quotes etc. This is cumbersome and i&#8217;m a bit concerned doing it in symbols might flood the max symbol table- so thats why i want to hack the functionality into net.loadbang.web</p>
<p>I am not familiar with eclipse. I don&#8217;t seem to be able to open the project &#8211; can you give me a clue how to do that?</p>
<p>thanks,</p>
<p>oli</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/some-example-code-for-jweb-and-jsps/#post-129648</guid>
					<title><![CDATA[Re: Some example code for jweb and JSPs]]></title>
					<link>http://cycling74.com/forums/topic/some-example-code-for-jweb-and-jsps/#post-129648</link>
					<pubDate>Wed, 13 Apr 2011 12:27:45 +0000</pubDate>
					<dc:creator>nick rothwell / cassiel</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Oli,</p>
<p>I have your email from last week &#8211; will follow up there when I get a moment&#8230; It sounds as if I need to flesh out the documentation a bit, at least.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/some-example-code-for-jweb-and-jsps/#post-129649</guid>
					<title><![CDATA[Re: Some example code for jweb and JSPs]]></title>
					<link>http://cycling74.com/forums/topic/some-example-code-for-jweb-and-jsps/#post-129649</link>
					<pubDate>Wed, 13 Apr 2011 12:46:27 +0000</pubDate>
					<dc:creator>oli larkin</dc:creator>

					<description>
						<![CDATA[
						<p>actually re the email&#8230; i no longer need to run it on port 80&#8230; i set up my office mac to forward all incoming port 80 data to 8080, so that is fine.</p>
<p>now i am doing the json stuff via javascript and it&#8217;s kind of nice&#8230; it means i can have exactly the same data structure, representing the state of my patch inside max as I do on the client side.</p>
<p>still would like to be able to compile net.loadbang.web myself since i think i may have to make some mods to it for my needs</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

