I am completely new to servlets. I have an extensive programming background (C, C++, assembler, PHP, python, javascript, others) and I am trying to get into servlet programming. I have done several jsp's and small java apps, and I have code that works both as a java app and as a jsp:
Code:
class foobar {
int x = 0;
public void foobar() { }
}
public class mytest {
public static
I see a big problem with the code. The jsvar is a variable within your browser:
var jsvar=monthNum;
Only your browser understands what jsvar is, but then you are trying to use it within your jsp, which basically gets compiled into a servlet and is only known to you app server (e.g. Tomcat). You cannot do this:
Leave a comment: