Win a copy of Practice Tests for OCP Java 17 Certification Exam (1Z0-829) this week in the OCPJP forum!
  • 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:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

Confusion regarding Struts tiles configuration

 
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi EveryBody !

I have one query regarding tiles framework which i am using in connection with struts 1.1 . I am using tomcat 5.0.25. Whenever I switch off the net connection of my pc. and starts my tomcat server, it generates following exception .

struts-config.xml


web.xml


tiles-defs.xml



However , If start tomcat after connecting to net then everythings goes normal. Why it is show error when net connection is off ?
Another Query is , On Tomcat console , struts property messages Resources are loaded twice .
eg.
Feb 25, 2006 5:55:33 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.action.ActionResources', return Null=true

Feb 25, 2006 5:56:06 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.action.ActionResources', return Null=true

why is this occur ?

Last Query ,What are the changes i need to make in xml file if i want to run the web application in internet less environment ?
Do i have to define <controller tag in struts-config.xml> . is it compulsory kind of think ?
is it neccessary to pass the following parameter in action servlet
<init-param>
<param-name>definitions-config</param-name>
<param-value>/WEB-INF/tiles-config.xml</param-value>
</init-param>
while using tiles framework ?

Please reply on the earliest. i will be really thankful for replies.

Gauravb Nigam
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic