Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Confusion regarding Struts tiles configuration

 
Manish Sridharan
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic