Hi guys, I'm back agn with a new query!! i have managed creating a .war file containing the servlet class file.
now how do i deploy? from which directory do i execute the command: java weblogic.deploy -port 7001 -host localhost -component myWebApp:myserver deploy pswd1234 myWebApp d:\myWebApp.war the actual syntax as given by Bea's documentation is : java weblogic.deploy -port port_number -host host_name -component application:target deploy password application source
Joined: Jul 26, 2001
Hi There, To deploy it either put in in the config/applications directory of your server, or use the console web application. Sam
<a href="http://www.samjdalton.com" target="_blank" rel="nofollow">Sam Dalton</a>,<br />Co-author of [http://www.amazon.com/exec/obidos/tg/detail/-/1590592255/qid=1068633302//ref=sr_8_xs_ap_i0_xgl14/104-4904002-9274339?v=glance&s=books&n=507846]Professional JSP 2.0[/URL] (October 2003)<br />Co-author of <a href="http://www.amazon.com/exec/obidos/ASIN/1861007701/ref=ase_electricporkchop" target="_blank" rel="nofollow">Professional SCWCD Certification</a><br />Co-author of <a href="http://www.amazon.com/exec/obidos/ASIN/186100561X/ref=ase_electricporkchop" target="_blank" rel="nofollow">Professional Java Servlets 2.3</a>
Joined: May 08, 2002
Hello Mr. Dalton, if i do that, can i access it directly from the browser (after starting weblogic server) with the following url pattern: http://localhost:7001/myApp/servletname here myApp is the war file servletName is the name of the servlet class ? or after putting the .war file in the config\applications folder, do i have to still execute the command which i mentioned in my previous question? and one more doubt, did u mean config\applications\DefaultWebApp folder? bcoz thats where we put the HTML, gif, jpg and JSP files. rgds, Shashi