sir i have installed weblogic server 5.1 but i don't know how to create a web application folder and regarding this folder what changes should i do in weblogic properties file,classpath and path. where should i keep jsp and ejb files.how to run ejb.is it necessary to create deployment descriptor and jar file before running it?
hi priya ranjan You need not create jar files to deploy your jsp just put them in the public_html folder under weblogic\myserver folder but for ejb you need to create a deployment descriptor(xml) and jar files which contains them. Now if you have just installed your weblogic to run your jsp open weblogic.properties file under the weblogic folder and find WEBLOGIC JSP PROPERTIES in that. Then uncomment the lines over there (you may have to change the path to the javac.exe file in case it is different from the one mentioned in weblogic.properties file). Then write a simple jsp and place it in public_html folder then invoke it using http://localhost:7001/yourjsp.jsp (assuming your development pc contains the weblogic server else replace localhost with the name of the server) thanks bhanu
For servlets you need to register them in the weblogic.properties file.Open this file and go to "User defined Servlets"(sth like this well below the file),add name of your servlet(alias name= actual servlet class).put the servlet file in "myserver/servletclasses" file you can create your own package under these (public_html or servletclasses) folder to differentiate your web application.