but it is pointing to a source that does not exist (really does not exist on the filesystem)..
So, am I suppose to compile something before run that example? Or what?
I'm on windows xp, with tomcat 7.
Wellington Carvalho
Greenhorn
Joined: Nov 10, 2009
Posts: 11
posted
0
I see some html files in the path:
C:\Documents and Settings\tombrito\My Documents\Downloads\apache-tomcat-7.0.11\webapps\examples\servlets
..but there are java code on them. Do I need the Java SDK to use TomCat? Or it's just with those samples?
I intend to use TomCat for some javascript programs, not Java.
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35253
7
posted
0
That source code is just for tutorial purposes - they're the examples this web app is all about. The code comes pre-compiled with Tomcat, though, so you don't need to compile anything.
Tomcat's main point is that it's a servlet container (so it can run servlets and JSPs). If you don't intend to use it for those then there's no point in looking at the example web app. In fact, there isn't much of a point in using Tomcat at all - any web server can serve HTML and JavaScript files.
Ulf Dittmer wrote:That source code is just for tutorial purposes - they're the examples this web app is all about. The code comes pre-compiled with Tomcat, though, so you don't need to compile anything.
Tomcat's main point is that it's a servlet container (so it can run servlets and JSPs). If you don't intend to use it for those then there's no point in looking at the example web app. In fact, there isn't much of a point in using Tomcat at all - any web server can serve HTML and JavaScript files.
there are 2 options there: execute and see source
why the execute don't work?
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35253
7
posted
0
Which URL are you accessing, exactly?
Wellington Carvalho
Greenhorn
Joined: Nov 10, 2009
Posts: 11
posted
0
Ulf Dittmer wrote:Which URL are you accessing, exactly?