Solved

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

Posted on 2011-02-27
3
659 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
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.

772 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