JSP with websphere


Web tier: servlets, JSP, Web frameworks: JSP with websphere

  1. JSP with websphere (6 messages)


    I just wanted to know If i can put my .jsp files in my websphere application server. Where exactly do i need to put my files.

    Any suggestions will be really helpfull.


    Threaded Messages (6)

  2. JSP with websphere[ Go to top ]

    Put them in your WAR and deploy your WAR using WebSphere's admin console, WebSphere will take care of the rest.
  3. JSP with websphere[ Go to top ]

    Thanx for replying,

    can u tell me a litlle about how to construct .war and .ear files from my .jsp files.

    Thanx alot
  4. JSP with websphere[ Go to top ]


    Below is a WAR directory structure. Use ANT to create the WAR or simply jar the files into a .WAR

    other web folders

    An EAR contains the WAR as well as ejb jars and a META-INF folder that contains your application.xml.

    If you only have jsp's, simply create the WAR and WebSphere will create the EAR (with application.xml) for you when you deploy. It will ask you for your context root which it sticks in the application.xml.

    Hope that works for you...
  5. JSP with websphere[ Go to top ]

    Thanx alot. But i am still in little trouble.

    I have made the .ear and .war using the Application Assembly Tool. Its showing the content correctly under the installedApps. I have index.html and start.jsp files. But I am not able to run it using


    where /webapp/ATFP is my contect root. I have done everything like mentioned in

    except that i havenot installed their integra software, as I feel that is unnecessary.

    Pls Advice.

    Thanx in advance
  6. JSP with websphere[ Go to top ]

    integra is not necessary.

    Maybe double-check that your server is bound to port 9080 as your URL shows. Most installations Ive done have defaulted to port 8080. Also, if your app server is running with IBM HTTP Server in front, then you dont need to specify the port at all since it uses port 80 and it passes requests for JSP's back to WebSphere.

    Other than that, Im out of suggestions.

    Good luck...
  7. JSP with websphere[ Go to top ]

    I take that back, 9080 is usually the default (I was thinking Tomcat, not WebSphere).

    Still double check your port though...