*
The moose likes BEA/Weblogic and the fly likes Creating application using struts in the weblogic 8.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Creating application using struts in the weblogic 8.1" Watch "Creating application using struts in the weblogic 8.1" New topic
Author

Creating application using struts in the weblogic 8.1

Alka S.
Greenhorn

Joined: Nov 29, 2003
Posts: 26
I have created application in weblogic 8.1 IDE which have two projects - EJB and web .
Web project has following structures .
pmc - com - AnnotationAction.java
- AnnotationForm.java
- portal - Annotation.jsp.
All ActionMapping and form bean information copied in the jpf-struts-config.xml.Required struts libraries kept under lib folder of WEB-INF.
After creating the ear file - it is over writing jpf-struts-config.xml with its own data. So while running the application it could not find the given information of action mapping.
Is there any setting required in IDE or any other jsp tags required.
If anybody knows please tell me.
Thanks.
Marcos Maia
Ranch Hand

Joined: Jan 06, 2001
Posts: 977
Hi,
Are u using workshop? If yes, it uses anottations (javadoc style notes) to get struts working and not the usual struts-config file, also it has netui tags to render information, it's actually really productive, but it's also propietary as well, so it's up to u to decide to use it or not.
Alka S.
Greenhorn

Joined: Nov 29, 2003
Posts: 26
Thanks
it is working as u said. I have written all code of my Action class in to controller.jpf. It is working fine .
We are lanning to use TOMcat as web server and Weblogic as application server. So need to develope web application in weblogic
Marcos Maia
Ranch Hand

Joined: Jan 06, 2001
Posts: 977
As far as u're planning to use tomcat as web server I would suggest u to don't use weblogic workshop to build the web application as I'm not sure(but almost sure) if u can run a project generated under workshop that uses page flows, controllers, application views, anottations for struts, netui tags, using tomcat, if u do it pls post here how did u do.
regards.
Alka S.
Greenhorn

Joined: Nov 29, 2003
Posts: 26
Yes .That is true .using weblogic for web application is not straight way. We are planning to generate war file using jbuilder and will deploy on Tomcat . EJBs will be on Weblogic.
But still I am facing problem to getting InitialContext.
 
Don't get me started about those stupid light bulbs.
 
subject: Creating application using struts in the weblogic 8.1