• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 730
  • Last Modified:

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

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
d2fox
Asked:
d2fox
  • 2
1 Solution
 
saleh_neuCommented:
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
 
d2foxAuthor Commented:
thank you...after I select seblogic server, then what do I do next?
0
 
saleh_neuCommented:
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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now