Need to host a web server for hw assignment

This is a discussion on Need to host a web server for hw assignment within the Tech Board forums, part of the Community Boards category; I have to do a HW assignment that either can be hosted on the school's web server or my own. ...

  1. #1
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901

    Need to host a web server for hw assignment

    I have to do a HW assignment that either can be hosted on the school's web server or my own. It's for a database and it uses mysql, apache tomcat, and a jsp file for a web interface. I basically want to allow one connection with a password to my server so that I can present it to the teacher when he needs to grade it. I am new to web serving so I don't know how to actually link the whole thing and put it on a site. And I would like to do it using my comptuer rather than some pay for domain. Can anyone steer me in the right direction

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,992
    Why not test locally, then upload to your school's webserver?
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901
    I'm trying to test locally, like have it show up on a website, so if I sent it to the schools' web server I know it works. I don't know how to set up webserving at all.

  4. #4
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,992
    Have you installed the necessary software yet?
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  5. #5
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901
    I have my mysql database setup, I can make the tables alright, I just set up apache tomcat and started the service but when I try to browse localhost I get a screen with this on it.
    Attached Images Attached Images  

  6. #6
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,992
    Could it be that you did not configure web.xml and context.xml correctly, as stated in Deployment?
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  7. #7
    pwns nooblars
    Join Date
    Oct 2005
    Location
    Portland, Or
    Posts
    1,094
    The folder containing your content doesn't exist according to that error message, reconfigure it so that it points to an existing folder that you plan on putting content in.

  8. #8
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901
    I assume I do that through the server.xml with

    Code:
          <Host name="localhost"  appBase="G:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps"
                unpackWARs="true" autoDeploy="true"
                xmlValidation="false" xmlNamespaceAware="false">
    still doesn't work.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. server client application - (i really need your help)
    By sarahnetworking in forum C Programming
    Replies: 3
    Last Post: 03-01-2008, 09:54 PM
  2. IE 6 status bar
    By DavidP in forum Tech Board
    Replies: 15
    Last Post: 10-23-2002, 05:31 PM
  3. free web host with php?
    By Xterria in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 08-22-2002, 02:25 PM
  4. Web Hosting SQL Server
    By Unregistered in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 06-14-2002, 07:00 PM
  5. Replies: 1
    Last Post: 06-07-2002, 11:22 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21