I am newbie to websphere app server. I just downloaded verion 4.0 and installed on NT 4.0 Sp 6.0a. I am able to access the Admin site of the app server and also can access all the static html pages. But i cannot access jsp page. I am storing this jsp page in WSsamples directory. All the static html pages are accessible but when i try jsp page i get following error Virtual host or web application not found The host localhost has not been defined Could somebody explain me steps to run a simple jsp page. No wonder Weblogic has good market share. Balaji
Balaji Kithiganahalli, You are missing out the basic point over here. In WebSphere 4.0 you do not have a folder where you can put your jsp�s and things start working. You have to understand the J2EE model of doing things. In this model you have a war file for the web application archive and a ear file for the enterprise archive. You will first have to create the war file and then the ear file. The steps are clearly mentioned in the examples provided by the Websphere 4.0 Infocenter documentation. Try downloading the infocenter and checking out the examples here
Thanks for the reply. I did not understand why i should create ear file for me to access the jsp page. For example in j2ee reference implementation i can create a sub directory under public_html and add all the jsp pages and then can access it. or under Weblogic 6.0 I can create a subdirectory under DefaultWebApp_myserver and add all the jsp files i want. I was able to run the jsp file on websphere by creating a ear file. But during development i thought there could be an easier way Thanks Balaji
To the best of my knowledge there is no way other than creating the ear file and deploying it. Yes in some ways WAS 4.0 does not support a great development environment. But i think that this job has been left for the VAJ 4.0 environment. Thus in my opnion we have to use VAJ 4.0 for our development environment and WAS 4.0 for our production environment.