This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes Confusion regarding Struts tiles configuration Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Confusion regarding Struts tiles configuration" Watch "Confusion regarding Struts tiles configuration" New topic
Author

Confusion regarding Struts tiles configuration

Manish Sridharan
Ranch Hand

Joined: Jul 19, 2005
Posts: 64
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


Manish S.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Confusion regarding Struts tiles configuration
 
Similar Threads
problem with struts1.1 please help me...
Problem while running a project using tiles in netbeans
Someone out there! Help with tiles-def.xml
Servlet action is not available
Http 404 Error