Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

newbie: help starting

ArnieArnie Member Posts: 155
hey all,
i'm just reading up on JSP and have seen how they can be really advantagous for webpages....now the hproblem i have is, how to start. cause as simple as you can get, i've written a hello world jsp file and when i try and view it from a local drive it doesnt want to view it...but when i view it on another server i can see it. how do i get started with creating a server so i can view the things i make on my own computer - and is there a way to view it without being online at all? sorry if these are all basic questions and all but i really dont know where to start...
thanks!
An

Comments

  • joebeewjoebeew Member Posts: 61
    : hey all,
    : i'm just reading up on JSP and have seen how they can be really advantagous for webpages....now the hproblem i have is, how to start. cause as simple as you can get, i've written a hello world jsp file and when i try and view it from a local drive it doesnt want to view it...but when i view it on another server i can see it. how do i get started with creating a server so i can view the things i make on my own computer - and is there a way to view it without being online at all? sorry if these are all basic questions and all but i really dont know where to start...
    : thanks!
    : An
    :


    First of all you have to have the JDK installed. After that I would try a free servlet container such as tomcat. What OS are you running? Tomcat is part of the apache / jakarta project. Here is the link for it
    http://jakarta.apache.org/tomcat/index.html. I'm familiar with the setup on linux but not windows. I can help you in that case if you need it. Plus I would also run apache as your web server. Another good free servlet container is resin. http://www.caucho.com/ I also have experience with this. Both come with webservers of their own.
    Aint nothing to it but to do it!
    Linux: Because rebooting is for adding new hardware!

  • ArnieArnie Member Posts: 155
    : : hey all,
    : : i'm just reading up on JSP and have seen how they can be really advantagous for webpages....now the hproblem i have is, how to start. cause as simple as you can get, i've written a hello world jsp file and when i try and view it from a local drive it doesnt want to view it...but when i view it on another server i can see it. how do i get started with creating a server so i can view the things i make on my own computer - and is there a way to view it without being online at all? sorry if these are all basic questions and all but i really dont know where to start...
    : : thanks!
    : : An
    : :
    :
    :
    : First of all you have to have the JDK installed. After that I would try a free servlet container such as tomcat. What OS are you running? Tomcat is part of the apache / jakarta project. Here is the link for it
    : http://jakarta.apache.org/tomcat/index.html. I'm familiar with the setup on linux but not windows. I can help you in that case if you need it. Plus I would also run apache as your web server. Another good free servlet container is resin. http://www.caucho.com/ I also have experience with this. Both come with webservers of their own.
    : Aint nothing to it but to do it!
    : Linux: Because rebooting is for adding new hardware!
    :
    :

    hey! thanks for the reply! i did d/l tomcat and installed it and all. so now when i start up, i can view jsp files from: http://localhost/someFile.jsp

    now that i got that working...
    (1) how do other people view that file? do free web hosting things support jsp? or do people have to access through my tomcat thing?
    (2) is it possible to view the jsp files while i'm offline? because at the moment i can only view those jsp files with tomcat while i'm online - it doesnt work when offline :P

    thanks for the help!
    An


  • ozkrozkr Member Posts: 34
    : : : hey all,
    : : : i'm just reading up on JSP and have seen how they can be really advantagous for webpages....now the hproblem i have is, how to start. cause as simple as you can get, i've written a hello world jsp file and when i try and view it from a local drive it doesnt want to view it...but when i view it on another server i can see it. how do i get started with creating a server so i can view the things i make on my own computer - and is there a way to view it without being online at all? sorry if these are all basic questions and all but i really dont know where to start...
    : : : thanks!
    : : : An
    : : :
    : :
    : :
    : : First of all you have to have the JDK installed. After that I would try a free servlet container such as tomcat. What OS are you running? Tomcat is part of the apache / jakarta project. Here is the link for it
    : : http://jakarta.apache.org/tomcat/index.html. I'm familiar with the setup on linux but not windows. I can help you in that case if you need it. Plus I would also run apache as your web server. Another good free servlet container is resin. http://www.caucho.com/ I also have experience with this. Both come with webservers of their own.
    : : Aint nothing to it but to do it!
    : : Linux: Because rebooting is for adding new hardware!
    : :
    : :
    :
    : hey! thanks for the reply! i did d/l tomcat and installed it and all. so now when i start up, i can view jsp files from: http://localhost/someFile.jsp
    :
    : now that i got that working...
    : (1) how do other people view that file? do free web hosting things support jsp? or do people have to access through my tomcat thing?
    : (2) is it possible to view the jsp files while i'm offline? because at the moment i can only view those jsp files with tomcat while i'm online - it doesnt work when offline :P
    :
    : thanks for the help!
    : An
    :
    :
    :

    They are some sites that offer you free jsp hosting:
    www.isavvix.com
    www.mycgiserver.com

    The way that other people can see your files through your machine using the tomcat is 'http://IP:port' where IP is the addres of your machine and port is the port assigned to the tomcat (8080 by default). Although you can change the port in the file config.xml in the config folder of the tomcat.
  • ArnieArnie Member Posts: 155
    : : : : hey all,
    : : : : i'm just reading up on JSP and have seen how they can be really advantagous for webpages....now the hproblem i have is, how to start. cause as simple as you can get, i've written a hello world jsp file and when i try and view it from a local drive it doesnt want to view it...but when i view it on another server i can see it. how do i get started with creating a server so i can view the things i make on my own computer - and is there a way to view it without being online at all? sorry if these are all basic questions and all but i really dont know where to start...
    : : : : thanks!
    : : : : An
    : : : :
    : : :
    : : :
    : : : First of all you have to have the JDK installed. After that I would try a free servlet container such as tomcat. What OS are you running? Tomcat is part of the apache / jakarta project. Here is the link for it
    : : : http://jakarta.apache.org/tomcat/index.html. I'm familiar with the setup on linux but not windows. I can help you in that case if you need it. Plus I would also run apache as your web server. Another good free servlet container is resin. http://www.caucho.com/ I also have experience with this. Both come with webservers of their own.
    : : : Aint nothing to it but to do it!
    : : : Linux: Because rebooting is for adding new hardware!
    : : :
    : : :
    : :
    : : hey! thanks for the reply! i did d/l tomcat and installed it and all. so now when i start up, i can view jsp files from: http://localhost/someFile.jsp
    : :
    : : now that i got that working...
    : : (1) how do other people view that file? do free web hosting things support jsp? or do people have to access through my tomcat thing?
    : : (2) is it possible to view the jsp files while i'm offline? because at the moment i can only view those jsp files with tomcat while i'm online - it doesnt work when offline :P
    : :
    : : thanks for the help!
    : : An
    : :
    : :
    : :
    :
    : They are some sites that offer you free jsp hosting:
    : www.isavvix.com
    : www.mycgiserver.com
    :
    : The way that other people can see your files through your machine using the tomcat is 'http://IP:port' where IP is the addres of your machine and port is the port assigned to the tomcat (8080 by default). Although you can change the port in the file config.xml in the config folder of the tomcat.
    :

    hey thanks :) i'll get around to looking at those sites later :) any ideas about how to work on jsp stuff while being offline though?
  • joebeewjoebeew Member Posts: 61
    : : : hey all,
    : : : i'm just reading up on JSP and have seen how they can be really advantagous for webpages....now the hproblem i have is, how to start. cause as simple as you can get, i've written a hello world jsp file and when i try and view it from a local drive it doesnt want to view it...but when i view it on another server i can see it. how do i get started with creating a server so i can view the things i make on my own computer - and is there a way to view it without being online at all? sorry if these are all basic questions and all but i really dont know where to start...
    : : : thanks!
    : : : An
    : : :
    : :
    : :
    : : First of all you have to have the JDK installed. After that I would try a free servlet container such as tomcat. What OS are you running? Tomcat is part of the apache / jakarta project. Here is the link for it
    : : http://jakarta.apache.org/tomcat/index.html. I'm familiar with the setup on linux but not windows. I can help you in that case if you need it. Plus I would also run apache as your web server. Another good free servlet container is resin. http://www.caucho.com/ I also have experience with this. Both come with webservers of their own.
    : : Aint nothing to it but to do it!
    : : Linux: Because rebooting is for adding new hardware!
    : :
    : :
    :
    : hey! thanks for the reply! i did d/l tomcat and installed it and all. so now when i start up, i can view jsp files from: http://localhost/someFile.jsp
    :
    : now that i got that working...
    : (1) how do other people view that file? do free web hosting things support jsp? or do people have to access through my tomcat thing?
    : (2) is it possible to view the jsp files while i'm offline? because at the moment i can only view those jsp files with tomcat while i'm online - it doesnt work when offline :P
    :
    : thanks for the help!
    : An
    :
    :
    :
    Well if you have an external ip address people could access your file at http://externalipaddress/somefile.jsp
    http://www.mycgiserver.com/ is a free site that will allow you to host some jsp and servlet files. I think you only get 5 megs though. You don't have to be online to view files but you have to have tomcat up and running and your webserver.
    Aint nothing to it but to do it!
    Linux: Because rebooting is for adding new hardware!

  • ArnieArnie Member Posts: 155
    : : : : hey all,
    : : : : i'm just reading up on JSP and have seen how they can be really advantagous for webpages....now the hproblem i have is, how to start. cause as simple as you can get, i've written a hello world jsp file and when i try and view it from a local drive it doesnt want to view it...but when i view it on another server i can see it. how do i get started with creating a server so i can view the things i make on my own computer - and is there a way to view it without being online at all? sorry if these are all basic questions and all but i really dont know where to start...
    : : : : thanks!
    : : : : An
    : : : :
    : : :
    : : :
    : : : First of all you have to have the JDK installed. After that I would try a free servlet container such as tomcat. What OS are you running? Tomcat is part of the apache / jakarta project. Here is the link for it
    : : : http://jakarta.apache.org/tomcat/index.html. I'm familiar with the setup on linux but not windows. I can help you in that case if you need it. Plus I would also run apache as your web server. Another good free servlet container is resin. http://www.caucho.com/ I also have experience with this. Both come with webservers of their own.
    : : : Aint nothing to it but to do it!
    : : : Linux: Because rebooting is for adding new hardware!
    : : :
    : : :
    : :
    : : hey! thanks for the reply! i did d/l tomcat and installed it and all. so now when i start up, i can view jsp files from: http://localhost/someFile.jsp
    : :
    : : now that i got that working...
    : : (1) how do other people view that file? do free web hosting things support jsp? or do people have to access through my tomcat thing?
    : : (2) is it possible to view the jsp files while i'm offline? because at the moment i can only view those jsp files with tomcat while i'm online - it doesnt work when offline :P
    : :
    : : thanks for the help!
    : : An
    : :
    : :
    : :
    : Well if you have an external ip address people could access your file at http://externalipaddress/somefile.jsp
    : http://www.mycgiserver.com/ is a free site that will allow you to host some jsp and servlet files. I think you only get 5 megs though. You don't have to be online to view files but you have to have tomcat up and running and your webserver.
    : Aint nothing to it but to do it!
    : Linux: Because rebooting is for adding new hardware!
    :
    :

    ahh 5 megs okay...well i have tried turning on tomcat and viewing the files and typing http://localhost/fileName.jsp - but i can't see anything cause it wants me to be online or something....i know this might sound stupid but isnt tomcat and the webserver the same thing or am i missing something? *newbie drivvle*
  • ArnieArnie Member Posts: 155
    : : : : : hey all,
    : : : : : i'm just reading up on JSP and have seen how they can be really advantagous for webpages....now the hproblem i have is, how to start. cause as simple as you can get, i've written a hello world jsp file and when i try and view it from a local drive it doesnt want to view it...but when i view it on another server i can see it. how do i get started with creating a server so i can view the things i make on my own computer - and is there a way to view it without being online at all? sorry if these are all basic questions and all but i really dont know where to start...
    : : : : : thanks!
    : : : : : An
    : : : : :
    : : : :
    : : : :
    : : : : First of all you have to have the JDK installed. After that I would try a free servlet container such as tomcat. What OS are you running? Tomcat is part of the apache / jakarta project. Here is the link for it
    : : : : http://jakarta.apache.org/tomcat/index.html. I'm familiar with the setup on linux but not windows. I can help you in that case if you need it. Plus I would also run apache as your web server. Another good free servlet container is resin. http://www.caucho.com/ I also have experience with this. Both come with webservers of their own.
    : : : : Aint nothing to it but to do it!
    : : : : Linux: Because rebooting is for adding new hardware!
    : : : :
    : : : :
    : : :
    : : : hey! thanks for the reply! i did d/l tomcat and installed it and all. so now when i start up, i can view jsp files from: http://localhost/someFile.jsp
    : : :
    : : : now that i got that working...
    : : : (1) how do other people view that file? do free web hosting things support jsp? or do people have to access through my tomcat thing?
    : : : (2) is it possible to view the jsp files while i'm offline? because at the moment i can only view those jsp files with tomcat while i'm online - it doesnt work when offline :P
    : : :
    : : : thanks for the help!
    : : : An
    : : :
    : : :
    : : :
    : : Well if you have an external ip address people could access your file at http://externalipaddress/somefile.jsp
    : : http://www.mycgiserver.com/ is a free site that will allow you to host some jsp and servlet files. I think you only get 5 megs though. You don't have to be online to view files but you have to have tomcat up and running and your webserver.
    : : Aint nothing to it but to do it!
    : : Linux: Because rebooting is for adding new hardware!
    : :
    : :
    :
    : ahh 5 megs okay...well i have tried turning on tomcat and viewing the files and typing http://localhost/fileName.jsp - but i can't see anything cause it wants me to be online or something....i know this might sound stupid but isnt tomcat and the webserver the same thing or am i missing something? *newbie drivvle*
    :

    oh and besides my not being able to view stuff online problem *see above*, i also tried to view the jsp file using my ip address...so i typed in something like: http://123.12.123.123/sample.jsp and i can view it at home. but i got someone else to view that same URL but they cant see it. am i suppose to do something else so others can view it on other computers? thanks :)

  • ArnieArnie Member Posts: 155
    : : : : : : hey all,
    : : : : : : i'm just reading up on JSP and have seen how they can be really advantagous for webpages....now the hproblem i have is, how to start. cause as simple as you can get, i've written a hello world jsp file and when i try and view it from a local drive it doesnt want to view it...but when i view it on another server i can see it. how do i get started with creating a server so i can view the things i make on my own computer - and is there a way to view it without being online at all? sorry if these are all basic questions and all but i really dont know where to start...
    : : : : : : thanks!
    : : : : : : An
    : : : : : :
    : : : : :
    : : : : :
    : : : : : First of all you have to have the JDK installed. After that I would try a free servlet container such as tomcat. What OS are you running? Tomcat is part of the apache / jakarta project. Here is the link for it
    : : : : : http://jakarta.apache.org/tomcat/index.html. I'm familiar with the setup on linux but not windows. I can help you in that case if you need it. Plus I would also run apache as your web server. Another good free servlet container is resin. http://www.caucho.com/ I also have experience with this. Both come with webservers of their own.
    : : : : : Aint nothing to it but to do it!
    : : : : : Linux: Because rebooting is for adding new hardware!
    : : : : :
    : : : : :
    : : : :
    : : : : hey! thanks for the reply! i did d/l tomcat and installed it and all. so now when i start up, i can view jsp files from: http://localhost/someFile.jsp
    : : : :
    : : : : now that i got that working...
    : : : : (1) how do other people view that file? do free web hosting things support jsp? or do people have to access through my tomcat thing?
    : : : : (2) is it possible to view the jsp files while i'm offline? because at the moment i can only view those jsp files with tomcat while i'm online - it doesnt work when offline :P
    : : : :
    : : : : thanks for the help!
    : : : : An
    : : : :
    : : : :
    : : : :
    : : : Well if you have an external ip address people could access your file at http://externalipaddress/somefile.jsp
    : : : http://www.mycgiserver.com/ is a free site that will allow you to host some jsp and servlet files. I think you only get 5 megs though. You don't have to be online to view files but you have to have tomcat up and running and your webserver.
    : : : Aint nothing to it but to do it!
    : : : Linux: Because rebooting is for adding new hardware!
    : : :
    : : :
    : :
    : : ahh 5 megs okay...well i have tried turning on tomcat and viewing the files and typing http://localhost/fileName.jsp - but i can't see anything cause it wants me to be online or something....i know this might sound stupid but isnt tomcat and the webserver the same thing or am i missing something? *newbie drivvle*
    : :
    :
    : oh and besides my not being able to view stuff online problem *see above*, i also tried to view the jsp file using my ip address...so i typed in something like: http://123.12.123.123/sample.jsp and i can view it at home. but i got someone else to view that same URL but they cant see it. am i suppose to do something else so others can view it on other computers? thanks :)
    :
    :

    actually...i hardly ever use netscape, and i noticed that i "can" in fact work on jsp stuff while i'm offline. however with IE, it always asks me to connect online to view the page - is there something i can do to make IE let me view the file without being online?
  • Andre YoungAndre Young USAMember Posts: 0

    _______ \ http://forcoder.org \ free ebooks and video tutorials about // Visual Basic Visual Basic .NET Scratch PHP Delphi R Swift Ruby Python Go Java C Objective-C JavaScript C# Assembly MATLAB PL/SQL C++ Perl SAS Awk FoxPro Scala Crystal Rust Alice Clojure Kotlin Ada Bash D ABAP LabVIEW COBOL Hack Lua Julia Fortran Scheme Transact-SQL Logo Apex Lisp ML Erlang Dart VBScript Prolog F# // _____

Sign In or Register to comment.