title: How to correctly deploy a EAR file on Oracle Weblogic administrator console
body: <p>I have an <code>EAR</code> file that I have built from my existing <code>maven web application</code>. I want to deploy the same on the <code>Oracle Weblogic Server Administration Console</code>. To go ahead with that, I logged in to the weblogic conole on <code>http://localhost:7001/console</code> and went to the <code>deployments tab</code>. Previously, I had placed the <code>EAR</code> file in my <code>Oracle_Middleware\domain\mydomain\base\applications</code> folder. In the deployments section, on the console, I get to chose <code>myprojectname.ear</code> and when I select that I get an option to <code>install</code>. So after I install the same, and everything happens properly, how do I be access my <code>index.jsp</code> that was the first screen in my <code>web project</code>? I do find something when I expand <code>myprojectname</code>'s tree in the deployment tab-> select the <code>myprojectnameWAR</code> module-> go to the testing tab-> and under <code>test point</code> I see a URL that is present it. but when I click that URL to access it, the webpage that opens up says <code>Error 403--Forbidden</code>. Any help on how I can access the <code>index.jsp</code> on the administrator console?</p>
  
  <p><strong>UPDATE-1</strong> </p>
  
  <p>I'd like to point out that I was trying to access the application using the URL <code>http://localhost:7001/projectnameEAR</code> and <code>http://localhost:7001/projectname</code> etc. But just to take a look at it, I tried importing the <code>EAR</code> file into a new workspace on eclipse too see if the <code>index.jsp</code> actually existed in the <code>EAR</code>. But when I import it, all I can see is the <code>WARModule snapshot</code> and the <code>JAR Module</code>. I expected the <code>index.jsp</code> to be there because I obtained the <code>EAR</code> file from an existing web application that had the <code>index.jsp</code>. Or perhaps, it is there but the <code>EAR</code> file does not allow me to see it? Please help regarding how to access the <code>index.jsp</code> page. 
  Im in much need. </p>
  
  <p><strong>UPDATE-2</strong></p>
  
  <p>So after trying everything out, I created a blank maven project in eclipse, built <code>.war</code>, <code>.jar</code> and <code>.ear</code> modules out of it, added the <code>.jar</code> and the <code>.war</code> modules as dependencies to the <code>ear</code> project and ran a maven clean install through eclipse. Further, I took the <code>.ear</code> file and put it in the <code>applications</code> folder and ran the URL to access the <code>index.jsp</code> in the <code>war</code> module, placed at <code>src/main/webapp/</code> and it worked. </p>
  
  <p>I went ahead and copy pasted the contents of my existing <code>maven project</code> (i.e. the <code>jsps</code>, the <code>js's</code>, to the same <code>src/main/webapp/</code> directory. I also took all my <code>packages</code> that contained my <code>java classes</code> and put them in the <code>warmodule/src/main/java</code> path. But now if I go to run my <code>index.jsp</code>, I get to see the UI but the <code>chrome debugger</code> shows me a <code>404 - Not found</code> error when I try to access any of the functionalities(button click etc.) of the page. Is it because I have probably put the classes in the wrong place? </p>
  
  <p>My existing project consists of <code>packages</code> in the <code>existingproject/src/</code> path and all the other <code>jsps</code> and <code>js's</code> in the <code>existingproject/WebContent</code> path. </p>
  
  <p>Could somebody help me with where exactly (at which <code>path</code> in which of the <code>modules</code>) should I be putting all of my content so that it is accessible properly? </p>
  
  <p>Many thanks</p>