Solved

How do I deploy a jsp page in eclipse to Weblogic server

Posted on 2011-02-27
3
632 Views
Last Modified: 2012-06-21
I am new to jsp, having done asp.net in the past.  So I have eclipse and weblogic installed on my  machine and need to figure out how to make this work.  I am accessing a database on a remote server using Hibernate, so I set up the xml to configure that.  Now I need to try to run my page on my machine.  But how do I do this?

There is something I found that says to 'pick a web server' but all the examples are Tomcat.  How Do I pick WebLogic, what parameters do I need, how do I 'deploy' each time I change my jsp page until I get it running as I want?

0
Comment
Question by:d2fox
  • 2
3 Comments
 
LVL 1

Expert Comment

by:saleh_neu
ID: 34994327
first you need to define  weblogic  server in  the eclipes
1- switch to java EE perspective (from window drop doen window menu)
2-you will find down there --> server view
3- right click --> new --> server --> weblogic server (make sure to select the version that u have)
*** to run the page right click --> run as --> run on server --> select the alrady defined server (ur application will be deployed there and no need to redeploy the application manually )
0
 

Author Comment

by:d2fox
ID: 35046030
thank you...after I select seblogic server, then what do I do next?
0
 
LVL 1

Accepted Solution

by:
saleh_neu earned 500 total points
ID: 35052914
If you define the new server well , you should find weblogic server  in server view , you can turn it on and off by right click on it ....., once you trun the server on you can run your pages
* you can create new dynamic web project then create your own JSP pages
* if u have a project in a war , zip ...file you can  import it to ur eclipes

in all cases to run JSP page right click --> run as --> run on server --> select the weblogic server
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

This exercise is about for the following scenario: Dmgr and One node with 2 application server. Each application server contains it owns application. Application server name as follows server1 contains app1 server2 contains app1 Prereq…
Most of the developers using Tomcat find it easy to configure the datasource in Server.xml and use the JNDI name in the code to get the connection.  So the default connection pool using DBCP (or any other framework) is made available and the life go…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now