Re: Very Basic: Want to learn JAVA and JSP

2000-01-14 Thread John Wheeler
K (Java Servlet Development kit) - from Sun, a JSP engine, such as GnuJSP (available from Gnu), and a Serlvet engine for your web-server. Popular ones are JRun (www.allaire.com) with IIS, or Apache JServ (www.apache.org/jser

Re: jsp simple question...

2000-01-14 Thread John Wheeler
your HTML page, your JSP script would be: <% String strShowMe = request.getParameter("showme"); if (strShowMe.equals("true")) { // ..process code and output HTML } else { // do some other stuff } %> Remember, that your HTML form can

Re: OFF TOPIC (but good java trivia)

2000-01-14 Thread John Wheeler
> you could try JProbe - I used the evaluation to profile a graphical app in Java. > Quite useful but you do have to pay if you want it for longer than the month. > > Also I haven't tried it with servlets, so not sure how well it integrates. > > Jari > There is another profiler called "Optimize

When to use JavaBeans?

2000-01-13 Thread John Wheeler
r way to ActiveX objects. Could anyone explain to me the advantages and uses of Beans on the server-side? What are the fundamental differences between Beans, and other Java classes, and when should one choose one over the other? Thanks for any information! John Wh

Re: FTP methods

2000-01-13 Thread John Wheeler
el free to e-mail me.   John Wheeler.

Re: reloading classes used by jsp

2000-01-13 Thread John Wheeler
worked for a servlet class that was called from a JSP, so I think it should work for normal Java classses as well. Hope this helps. John Wheeler === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-IN

Re: WebSpeher and Web Server

2000-01-05 Thread John Wheeler
As far as I know, yes, but you will probably need to set up either two IP addresses or use a different TCP/IP port number for one of the servers (this tends to cause problems with some firewalls). John Wheeler === To unsub

Re: Is There any way to define user function in JSP file?

2000-01-05 Thread John Wheeler
unc()     {             } %>   <%             // call myFunc()         myFunc();           . %>     For versions less than 1.0, instead of the <%! %>, use If you do this you need to pass the implicit objects (out, request, response etc.) as parameters to your function.   HTH   John Wheeler.

Re: JspException: Undefined variable or class name

2000-01-05 Thread John Wheeler
er of a servlet class. Declaring a class inside a function is not legal Java, hence the error. You should define your class in a separate Java file and import it.   Hope this helps,   John Wheeler.

Re: Simple question

2000-01-04 Thread John Wheeler
nat="server"> void myFunc( PrintWriter out) { out.println("HelloWorld!"); } You can then call myFunc() from the rest of your script. Remember than the built-in objects are not available in the function u

Re: Hi Guys I Need Help In JSP

1999-12-22 Thread John Wheeler
e development cycle requiring a server restart if a class file is modified. == I guess the JSP page mechanism is different. The JSP pages are compiled on the fly to a servlet, and presumably this uses a servlet zone cl

Re: Java Script To JSP

1999-12-21 Thread John Wheeler
> Dear all, > > Does anyone know how we can pass a JavaScript variable into JSP? > > For example, when I try to following simple JSP file, it will say that > jscript_data is not found. Does anyone know how I can achieve this? > Any help will be greatly appreciate it. Thanks. > > Francis >

Re: FORM METHOD

1999-12-21 Thread John Wheeler
e output HTML source for all pages. You probably have a syntax error in the second page that prevents further output to the browser. If you need more detailed help, please send/post the source code. HTH, John Wheeler. === To un