Solved

Help... Weblogic 8.1 and Struts Dev environment setup.

Posted on 2006-07-06
3
842 Views
Last Modified: 2013-12-10
Hello there!

I am new to Weblogic. And I have to set this up ASAP. It's critical. I need help setting up my Weblogic 8.1 environment with Struts. I tried setting up sampel apps but I dont want to use PageFlow which is in there in WebLogic 8.1. I want to use plain Jsp/Java with Struts actions with Weblogic as a server.

Can anybody please please guide me setting up the app?

Thanks in advance.
-Amol
0
Comment
Question by:AmolDesai23
3 Comments
 
LVL 35

Expert Comment

by:girionis
ID: 17056975
You do not have to do anything special, just set up weblogic as normal and then put the struts classes (jar files)into the lib fodler of your web app. Then you use them like you do with any other web application.
0
 
LVL 3

Accepted Solution

by:
anumalas earned 500 total points
ID: 17057443
Hi

Prepare web application heirarchy like bellow.

yourapp-->WEB-INF --> classes --> your --> package --> structure --> Actions(to hold action classes)
                                                    '''''''                                        --> Beans (to hold Beans)
                             -->lib --> struts.jar, any other jar files.
                             ---> struts-config.xml, web.xml, and other struts related tlds, and configuration files
           -->jsp-->your jsp files

Use eclipse or any other IDE to prepare project like above,

To build classes use ANT or ECLIPSE (hope you know about ant and eclipse)

create weblogic domain(hope you already have)
select--> webapplicaiton --> new --> browse your war file and deploy. its very simple.

There no need to use weblogic page flow

For further reference about weblogic go thru e-docs @   http://edocs.bea.com/wls/docs81/index.html

Hope this will help :)                                                        
0
 

Author Comment

by:AmolDesai23
ID: 17057911
Thank you guys. Let me try implementing this today. I'll post back my comments if i get stuck somewhere.

Regards,
-Amol
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

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…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

778 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