Solved

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

Posted on 2011-02-27
3
693 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

Question has a verified solution.

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

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…
There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
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.

717 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