Discussion:
how can I deploy simple jsp file?
(too old to reply)
Ramazan Pekin
2004-12-27 20:51:08 UTC
Permalink
How can I deploy a simple jsp page to weblogic 8.1.4? can you help me? I want to explain what I am doing and tell me what I am missing?

First of all I have create a simple jsp page "index.jsp" which including this code:

<%@page language="java" contentType="text/html"%>
<HTML>
<BODY>
<% String message = "first weblogic application"; %>
<%= message %>
</BODY>
</HTML>

I have create a war file, which including this jsp page. The war file "myFirst.war" is including these:

myFirst.war
/index.jsp
/META-INF/MANIFEST.MF

and I have put this file into this directory like that:

"C:\bea\user_projects\domains\mydomain\admin\upload\myFirst.war"
After that I have clicked
"start/programs/BEA_WebLogic_Platform_8.1/User_Projects/mydomain/Start_Server"
After that I have writed this to my internet explorer browser:
"http://localhost:7001/mydomain/index.jsp"
but there is nothing.
What I am doing wrongly can you help me please.

Ramazan Pekin
pradeep tiwari
2004-12-30 15:03:23 UTC
Permalink
Hi,
To deploy the jsp file please follow these steps..
make adirectory structure like
/index.jsp
/WEB-INF/classes
Then open the weblogicbuilder and choose your web folder it wil create the required deployment descriptor files for your web application.
Now go in to your directory where index.jsp is and then use the command jar cfv app.war * ,it will create a jar file,copy this jar file to the following folder
c:\bea\user_projects\domains\mydomain\applications
and then open web browser and type the following URL
http://localhost:7001/app/indesx.jsp.
Pradeep Tiwari

Loading...