tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Turner <tomcat-u...@johnturner.com>
Subject Re: Problem with my first webapp
Date Wed, 03 Sep 2003 16:10:06 GMT

oops, that should be:

out.println("<div align='center'><h2>" + myVar = "</h2></div>");

My bad.

John


John Turner wrote:

> 
> $CATALINA_HOME/webapps/myApp
> $CATALINA_HOME/webapps/myApp/hello.jsp
> $CATALINA_HOME/webapps/myApp/WEB-INF
> $CATALINA_HOME/webapps/myApp/WEB-INF/classes
> $CATALINA_HOME/webapps/myApp/WEB-INF/lib
> $CATALINA_HOME/webapps/myApp/WEB-INF/web.xml
> 
> hello.jsp:
> 
> <%
> 
> String myVar = new String("Hello World");
> out.println("<div align="center"><h2>" + myVar = "</h2></div>");
> 
> %>
> 
> http://localhost/myApp/hello.jsp
> 
> Post back when you are ready for servlets.
> 
> John
> 
> Damien wrote:
> 
>> Can somebody provides me a complete tree with a simple application to
>> start working on ? I think it would be a good idea if somebody
>> 'tar/gzip' the directory strutcure found in this page :
>> http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/sample/
>> so a beginner is able to start with a clean project.
>>
>>
>> Thanks
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 



Mime
View raw message