Hi Andy,
I'm not yet a guru (or an expert) in this area, but do take a look at this link :
http://www.togethercommunity.com/download.jsp?type=templates
I suppose it might help you in your decision making !
Best Regards,
Bob
===
probably you have been trying to access the variable i outside the for... loop(ie.
when i is local to the for-loop). If that is the case, then you may get this error
message. Try something like :
int i=0;
for(i; ihttp://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/f
Check the 'well-formed-ness' of the generated XML document.
Whereas IE tolerate allot of generated or topographic errors ,where an XML
document is created by hand , Nescape and Mozilla do thorough checks where
XML, HTML and Make-up Languages are concerned.
==
Has anyone activated Server Side Include(SSI) in Tomcat 4.1 ?
I have followed the normal instruction under Apache's Tomcat website,
including :
1. Renaming servlets-ssi.renametojar to servlets-ssi.jar in directory
CATALINA_HOME/server/lib/ ;
2. Uncommented ssi... and
ssi
*.shtml
Can somebody tell me why the following code is throws an exception when I try
to compile it (code is from J. Hunter's Java Servlet Programming) :
Hello1
Hello, <%= getName(request) %>
private static final String DEFAULT_NAME = "World";
private String getName(HttpServletRequest req) {
St
Hi Rajarshi,
Thanks for your suggestion! However, the code works partially, that is, after
incorporating your suggestion, namely : the variable "name" is not able to
return the DEFAULT_NAME when the later is null - it works only when it is not
null(name!=null). Here is the revised code once again
I can't get the following code to display the string variable "DEFAULT_NAME"
when variable "name" is null or empty. This appears unusual :
[
Hello1
Hello, <%= getName(request) %>
<%! private static final String DEFAULT_NAME = "World";
private String getName(HttpServletRequest req) {
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, February 13, 2003 11:28 PM
> Subject: Re: Strange Jsp Behaviour
>
>
> >Here's a guess. Close off the tag for the static string. For example:
> ><%! private static final String DEFAULT_NAME = "World";