Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
sumDigits  challenge 7 75
word0 challenge 4 66
wordcount challenge 11 109
replace a word with other 1 40
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…
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 …
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.

896 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

11 Experts available now in Live!

Get 1:1 Help Now