Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Spring Framework | Web Services | BioInformatics | Java Server Faces | Jboss 3.0 tutorial | Hibernate 3.0 | XML
 
 
Hot Web Programming Job

 

Tutorial Categories: Ajax | Articles | JSP | Bioinformatics | Database | Free Books | Hibernate | J2EE | J2ME | Java | JavaScript | JDBC | JMS | Linux | MS Technology | PHP | RMI | Web-Services | Servlets | Struts | UML


 

Java Tutorials

Core Java
JSP
Servlet
JDBC
Hibernate
Struts 1
Struts 2
JSF
Spring
J2EE
J2ME
Web Services
Ajax
Dojo
MySQL
Latest Comments
Null pointer excep
swap program faile
hi.........
very good
navigaton mobile
  All Comments...
 

 

 
Struts Tutorials
*Stuts TOC
*Apache Struts Introduction
* Struts Controller
* Struts Action Class
* Struts ActionFrom Class
* Using Struts HTML Tags
*Struts Validator Framework    
*Client Side Address Validation    
*Struts Tiles
*tiles-defs.xml
*Struts DynaActionForm
*Struts File Upload
*Struts DataSource
*AGGREGATING ACTIONS
*Internationalization
Struts Resources
*Struts Books
*Struts Articles
*Struts Frameworks
*Struts IDE
*Struts Alternative
*Struts Links
*Struts Presentations
*Struts Projects
*Struts Software
*Struts Reference
*Struts Resources
*Other Struts Tutorial
Visit Forum! Post Questions!
Jobs At RoseIndia.net!

Have tutorials?
Add your tutorial to our Java Resource and get tons of hits.

We offer free hosting for your tutorials. and exposure for thousands of readers. drop a mail
roseindia_net@yahoo.com
 
   

 
Join For Newsletter

Powered by groups.yahoo.com
Visit Group! Post Questions!

Struts Struts_tiles

User Comments
Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl
  Blink   Furl   Simpy   Y! MyWeb 

Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 

Current Comments

67 comments so far (post your own) View All Comments Latest 10 Comments:

Hi this is lohith
i am using struts1.1
and tiles1.1

in jsp pagae it is showing the error
tag.getAsString : component context is not defined

if i remove title

it is showing
java.lang.NullPointerException
org.apache.struts.taglib.tiles.InsertTag.processAttribute(InsertTag.java:689)

how can it be solved

with regards
Lohith

Posted by lohith on Sunday, 12.21.08 @ 23:31pm | #83023

Hi this is lohith
i have using tiles1.1
at the time of execution at this time showing
http 500 error
Error is in jsp is
type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

java.lang.IllegalArgumentException: Path Tiles.Example does not start with a "/" character
i dont now the error
plz help,

With Regards
Lohith

Posted by lohith on Sunday, 12.21.08 @ 23:01pm | #83020

ladies and gentlement,

I got the trouble, when I implement my web site. I want to implement tiles via servlet, but I didn't know, where I should put the uri, and how?

please help me..

thanks

Posted by Sarwo Edi Wibowo on Tuesday, 12.16.08 @ 02:45am | #82810

you have to add the struts capabilities if you are using myeclipse IDE then automatically struts-tiles.tld file will be created

Posted by Deepak Gupta on Wednesday, 12.3.08 @ 03:09am | #82310

I use struts 2 but i don't see the file struts-tiles.tld in folder WEB-INF so when i insert code
<taglib>
<taglib-uri>/tags/struts-tiles</taglib-uri>
<taglib-location>/WEB-INF/struts-tiles.tld</taglib-location>
</taglib>
in to web.xml
When i run i show error.
How to solve this problem

Posted by hoa phạm on Monday, 10.13.08 @ 07:49am | #81034

I am having the same prb..did u get some solution for the same.if yes plz do tell me also..thanks

Posted by Priya on Tuesday, 08.12.08 @ 16:07pm | #72505

it's very good and need to be covered in detail with other tags of the tiles framework, thankyou

Posted by kishore on Thursday, 08.7.08 @ 12:24pm | #71536

Hi,
Is there anyone let me know if there is any document guide us how to use strut 2 tiles?

Thanks in advance!

Posted by kienjudo on Thursday, 03.6.08 @ 08:18am | #51652

how can we set the target of menu to body in struts tiles frame work?it is opening in a new page every time?

Posted by G.Venu Prasad on Friday, 02.22.08 @ 17:36pm | #49419

Its very useful and easy for d beginners to learn.....

Posted by balskrishnan on Friday, 02.1.08 @ 17:13pm | #46862

every one sholld go fro learning struits on roseindia.ne web site. it is magic.
thanks

Posted by Manoj Singh on Wednesday, 01.16.08 @ 12:43pm | #45333

the struts tiles example code is not use in beginners.only useful for expert.what i fell means give the easy way and simple executable folder also

Posted by velusamy on Thursday, 12.27.07 @ 12:31pm | #43935

how to use tiles with struts 1.3.8. can anyone tell it with simple steps. i am new to struts. thanks in advance
Regards,
Annette

Posted by annette on Monday, 12.10.07 @ 12:06pm | #41716

Please correct the grammar and spelling mistakes in the content.
Thank you
Anwar

Posted by Anwar on Monday, 12.10.07 @ 05:11am | #41695

In The above example what is the use of Content.jsp

Posted by Ramu on Monday, 11.19.07 @ 13:26pm | #37800

hi all,

can any one resolve the below issue, i am very thankfull

in my application i am using tiles with 4 parts Header footer left and right, if i make any changes in right part my whole page is getting refreshed it shouldn,t happen only the right page should refresh can any one solve this

Posted by guru prasdad on Friday, 11.16.07 @ 17:27pm | #37567

You example is very good for basic.

thank u

Posted by rathnakumar on Saturday, 11.10.07 @ 13:42pm | #36831

Short and sweet information

Regards,
Ravi Shiraguppi.
Dharwad,Karnataka.
India

Posted by Ravi Shiraguppi on Monday, 10.8.07 @ 15:09pm | #32475

<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>

Posted by Srinivas Marripudi on Friday, 10.5.07 @ 19:12pm | #31834

tiles type






Posted by Boopathi.D on Thursday, 10.4.07 @ 10:57am | #31347


Good tutorial

But it will be very useful for beginners if some eg programs using tiles are provided...........
thks.........

Posted by Asha on Monday, 10.1.07 @ 11:20am | #30806



tiles struts application program

Posted by venkateswara Rao on Tuesday, 09.4.07 @ 15:20pm | #24990

These contents are really very useful for me. If u can pls provide some more advanced sample examples.

Thanks.,

Posted by Mohan on Tuesday, 08.7.07 @ 16:45pm | #22868

plz provide some good structs programms for begginers having tiles

Posted by Anson on Monday, 07.23.07 @ 11:48am | #21764

This is an excellent refresher. I spent all day trying to search the net for an easy to understand tutorial and nothing compares to this. Hours of frustration finally solved when I found your site.

Posted by N.Butthajit on Tuesday, 07.17.07 @ 13:23pm | #21429

just wanna to say thank you
very easy to follow, great help

Posted by Tom Feng on Friday, 07.13.07 @ 00:36am | #21166

I just spent the entire day trying to find a clear example of how to use struts....and nothing.

Then I found your site......THANK YOU!

Posted by eom on Thursday, 07.12.07 @ 23:54pm | #21165

This Tutorial has Simple Examples with Good.
plz send me with spring framework example.

Posted by Umar Saeed on Thursday, 07.12.07 @ 23:40pm | #21164

very lucid and easy to understand

Posted by saurabh chauhan on Friday, 07.6.07 @ 14:33pm | #20831

Hi, Thanks for this great example. I tried modifying this example by making the call to action . for that chnaged it to <html:link page="/tiles/example">Tiles Example</html:link>

and gave corresponding forward to example.jsp. But this didn't worked. Please let me know how can we achieve this.

Posted by Abhinav on Friday, 06.29.07 @ 02:04am | #20353

its makes me so happy, and i got idea ,how to use the tiles..

Posted by sankar ramasamy on Thursday, 06.28.07 @ 14:42pm | #20322

really very good fr beginners as well as fr any stage of learner.

Posted by Subhendu Maity on Wednesday, 06.27.07 @ 17:02pm | #20280

Kindly provide more examles for struts and demo applications too.

Posted by Rajesh on Wednesday, 06.20.07 @ 18:59pm | #19793

plz provide some examples with AJAX implementation

Posted by Janmejay Swain on Friday, 05.25.07 @ 18:44pm | #17255

Realy iam wondering ,In an simple method you explain the gretest things...thanks a lot

Posted by R.G.Ramesh on Thursday, 05.24.07 @ 18:22pm | #17169



This Tutorial has Simple Examples with Good Explanation. Its Very Useful for me.

Thanks.

Posted by Priyadarshini Chakrapwar on Monday, 05.14.07 @ 12:38pm | #15837

very basic

Posted by ramu on Thursday, 05.10.07 @ 23:12pm | #15601

Its too Good.

Posted by Praveen on Sunday, 05.6.07 @ 11:15am | #15339

Very helpful and good.

Posted by Naina Mathur on Wednesday, 04.18.07 @ 23:35pm | #14517

Very usefull

Posted by ramesh on Monday, 04.9.07 @ 16:37pm | #13639

i'm getting only example page content nothing will showing

Posted by srinivas Reddy on Thursday, 04.5.07 @ 15:48pm | #13387

This is good site. I am new to tiles, and it helped me a lot.

Posted by Amogha on Tuesday, 04.3.07 @ 15:19pm | #13263

Hi,
after reading tiles part i got good confidence

Posted by srinivas on Monday, 03.26.07 @ 15:17pm | #12719

This is very helpful with the simple example.
It has cleared lots of doubts.
Im new to Tiles.

Posted by Sanjeev on Wednesday, 03.21.07 @ 21:25pm | #12404

I have been reading a few articles related to Tiles. However I none mentions that you have to have 2 files jsp file ; one for the layout and the other for the content.

Its all becoming clear ..thanks to your article, which states very simply how to use tiles.

Thanks

Posted by Bharat Jilka on Saturday, 02.17.07 @ 18:13pm | #8178

Thanks, it's a good tutorial and helped me knowing about struts tiles.

Posted by S Prathibha on Wednesday, 02.14.07 @ 14:09pm | #7873

CAN YOU PLEASE SEND ME THE SIMPLE TO COMPLEX EXAMPLES OF TILES.
WHCH CAN BE USED IN THE CORPORATE LEVELS.

Posted by pankaj on Wednesday, 01.31.07 @ 23:55pm | #5007

This site is really helpful to start & work on Struts.

Thanks,
Indika

Posted by Indika on Monday, 01.22.07 @ 13:55pm | #4028

This is a very useful for the beginners in struts.

Posted by dsbj on Tuesday, 01.16.07 @ 15:43pm | #3623

excellent ,marvelous site

Posted by sureshkumar on Tuesday, 01.16.07 @ 15:19pm | #3620

A fair and simple demo through a simple example.
Excellent Stuff.

Rev

Posted by Revathy on Thursday, 01.11.07 @ 11:33am | #3188

just a small suggestion for new version of struts

Rather then using "<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>" and making an entry in web.xml one can use the absolute uri = "<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>"

Posted by Gaurang on Thursday, 01.4.07 @ 11:29am | #2613

Hi,
A small typing mistake

If the attribute ignore="true" then Tiles ignore the missing parameter. If this is true(CORRECTION false) then the Tiles framework will through (throw) the exception in case the parameter is missing.

Posted by abhilash on Wednesday, 01.3.07 @ 14:45pm | #2541

This is very useful for people, who don't know about tiles framework

Posted by Phanidhar on Tuesday, 12.26.06 @ 15:06pm | #2036

I was looking for a tiles-defs.xml example. Exactly what's missing.

Posted by Radu on Saturday, 12.16.06 @ 15:21pm | #1105

Thanks for helping me to get myself introduced to struts framework.

Posted by Shameer Bangalore on Wednesday, 12.13.06 @ 12:18pm | #939

hi
thanks for u r helping on struts
give me one application how to use streams(input output-streams) in struts

Ravi

Posted by ravi on Tuesday, 12.12.06 @ 12:05pm | #881

Thanks for giving valuable information

Posted by Madhusmita on Monday, 12.11.06 @ 17:53pm | #852

I have menu in tiles , when the page is refreshed all the tiles are shown .

Posted by sunu on Monday, 12.11.06 @ 12:18pm | #754

GOOD ...
BUT SOMEDOUBTS STILL EXIST...

IF I WANT A NEW PRESTATION LAYAR I HAVE TO CREATE A ANOTHER example.jsp PAGE...

Posted by BODEPUDI ROOP KISHAN CHOWDARY on Wednesday, 12.6.06 @ 15:09pm | #496

thanks for ur help,i got a good information abwt tiles.

Posted by janardhan on Wednesday, 12.6.06 @ 12:49pm | #485

hi,
Thanks for your effort but requred more information.

Regards
Ravi Shiraguppi
Bangalore(Silicon City)
India

Posted by Ravi Shiraguppi on Tuesday, 12.5.06 @ 16:53pm | #422

HI,
Thanks for this guide, it is very informative to beginners.

Regards,
Ashis
Bhubaneswar(India).

Posted by Ashis on Friday, 12.1.06 @ 11:25am | #300

Hi friends,

Thanks for ur help,pls give the example Application for tiles.

Regards,
Raja(Chinna)

Posted by sivaprasad on Wednesday, 11.29.06 @ 14:33pm | #199

hi,
Thanks for helping me to get myself introduced to tiles framework.


Thanks,
Yugendar,
India(Chennai)

Posted by Yugendar on Monday, 11.27.06 @ 10:45am | #126

How to send responses to the WAP applications through the struts frame work

Posted by Anilkumar N on Sunday, 11.26.06 @ 11:36am | #111

hi,
Thnks for u r giving information.
keep it up

Regards
MahipalReddy,
India

Posted by MahipalRedy on Friday, 11.24.06 @ 15:06pm | #78

Leave your comment:

Name:

Email:

URL:

Title:

Comments:


Enter Code:

Audio Version
Reload Image
 

Note: Emails will not be visible or used in any way, and are not required. Please keep comments relevant. Any content deemed inappropriate or offensive may be edited and/or deleted.

No HTML code is allowed. Line breaks will be converted automatically. URLs will be auto-linked. Please use BBCode to format your text.

Back to Tutorial

 

  JDO Tutorials
  EAI Articles
  Struts Tutorials
  Java Tutorials
  Java Certification

Tell A Friend
Your Friend Name
Search Tutorials

 

 
 
Browse all Java Tutorials
Java JSP Struts Servlets Hibernate XML
Ajax JDBC EJB MySQL JavaScript JSF
Maven2 Tutorial JEE5 Tutorial Java Threading Tutorial Photoshop Tutorials Linux Technology
Technology Revolutions Eclipse Spring Tutorial Bioinformatics Tutorials Tools SQL
 

Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs

About Us | Advertising On RoseIndia.net  | Site Map

India News

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2007. All rights reserved.