You can view the tutorials best in Google Chrome, Mozilla Firefox, Opera, higher version of Internet Explorer

Struts 2 Tabbedpanel Example

Struts » On Oct 27, 2011 By Sivateja

Let us see how to work with this struts 2 Tabbedpanel.

jars required

  • commons-logging-1.0.4.jar
  • freemarker-2.3.8.jar
  • ognl-2.6.11.jar
  • struts2-core-2.0.11.jar
  • xwork-2.0.4.jar

Example

files required

  • index.jsp
  • success.jsp
  • web.xml
  • struts.xml
  • LogingEx.java

Directory Structure

index.jsp

success.jsp

LogingEx.java

web.xml

struts.xml

Output








By ( Java/J2EE Developer & Web Designer )
Founder of Java4s.com. You can contact me at sivateja [at] java4s.com


Comments

10 Responses to “Struts 2 Tabbedpanel Example”
  1. Mohammed Vaseem says:

    Am getting error in this program as No tag “tabbedPanel” defined in tag library imported with prefix “s”.
    I downloaded the source code. The code of success.jsp is of another concept but not of tabbedpanel.
    Please help.

  2. Java4s says:

    @Vaseem

    Gosh, some thing went wrong.
    I have updated the files, please download & check it again.

    Thank a lot vaseem.

  3. Saloni Agarwal says:

    Hello java4s,
    The rar file is showing me garbage data. how can i open this file?

  4. Java4s says:

    @Saloni

    Download that .rar file and open with WinRar software. I have tested and working fine from my end.

  5. i have downloaded .rar file and copied content in my project but still it is not showing proper output as u shown above. i new to struts.

  6. Java4s says:

    @durgesh kumawat
    What type of error you are getting…?

  7. sailaja says:

    It is not enough to paste the jar files in lib folder.You need to add all 5 jar files to your project build path (right click on project stuts-tabbed-paneEx -select bulid path-select configure build path-click add jars-select all jar iles under you project’s lib-click ok)

  8. Rajesh Rana says:

    thanks good job easy to learn to freasher

  9. Tamizharasi says:

    Very useful for the beginners.Thank you so much..

  10. Jagannath says:

    Retrieving menu and submenu from database.
    how can use hashmap here? and create menu and submenu.

Name*
Mail*
Website



By posting your answer, you agree to our comments policy.
So, What would you like to learn today?
Browse these popular technologies
Hibernate spring struts Servlets ajax Log4j jQuery Json Core Java Web Services AngularJs

Most Recent Tutorials
Hibernate Recent Posts
Spring Recent Posts
Struts Recent Posts
Recomandded Links
Current & UpComing Tutorials
Sitemap :
spring Hibernate struts Json Ajax Log4j Log4j coreJava Servlets Web Services


Upcoming
  Web Services [ SOAP ], JSP
Facebook_Java4s  Twitter_Java4s  GooglePlus_Java4s  Youtube_Java4s 
© 2010 - 2014 Java4s - Get It Yourself.
The content is copyrighted to Sivateja Kandula and may not be reproduced on other websites.