• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Creating application using struts in the weblogic 8.1

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 977
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 977
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
There is no greater crime than stealing somebody's best friend. I miss you tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic