| | |
how to change the root directory
Please support our JSP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Aug 2008
Posts: 56
Reputation:
Solved Threads: 2
hi every1..
im just starting with JSP..i run the jsp pages on a single machine using localhost:8080/examples/jsp/my pages...but what if i want to store my pages into some other directory n wish to access them then how can i do tht??is there any file wher ive to change the path or wht..
2) im using tomcat version 5.x..when i used version 4.x i used to get a command prompt when i used to start a tomcat server.but in 5.x it doesnt appear..when i used to check for my code like System.out.println("test statements"); it used to appear in the command prompt,...how can i test this in 5.x??
hoping to get a reply soon..
thanks..
im just starting with JSP..i run the jsp pages on a single machine using localhost:8080/examples/jsp/my pages...but what if i want to store my pages into some other directory n wish to access them then how can i do tht??is there any file wher ive to change the path or wht..
2) im using tomcat version 5.x..when i used version 4.x i used to get a command prompt when i used to start a tomcat server.but in 5.x it doesnt appear..when i used to check for my code like System.out.println("test statements"); it used to appear in the command prompt,...how can i test this in 5.x??
hoping to get a reply soon..
thanks..
In your installation of Tomcat under TOMCAT_HOME_DIRECTORY/webapps you can create new folders for your projects. Just don't forget to create WEB-INF folder with web.xml document. More on directory structure here
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
I think it is possible to do, but in the 30 min search I was not able to find clear instructions, just hints on editing servlet.xml with some "context"
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
![]() |
Similar Threads
- Change Password In A Shell Script (Shell Scripting)
- Checking for going up a Directory (PHP)
- quick Basic on xp (Legacy and Other Languages)
- just to change directories... (Shell Scripting)
- another newbie with alot of redhat and apache server Q'S (Linux Servers and Apache)
- Changing permission for www/html directory (Window and Desktop Managers)
- Need DOS help (Windows 95 / 98 / Me)
Other Threads in the JSP Forum
- Previous Thread: I need to check the existence of "#" in requested URL.
- Next Thread: how to call one bean method from other bean in JSP
| Thread Tools | Search this Thread |
apache backbutton combobox connection database development directorystructure dynamicpagetitles eclipse frames glassfish ie8 imagetodatabse imageupload integer internet java javaee javascript jsf jsp jsppagetitles levels mvc2 mvcmodel2 network parameters passing ping printinserverinsteadofclient redirect request.getparameter response servlet servletdopost()readxml sessions software ssl state_saving_method stocks sun tomcat tutorial update video web






