Getting Started with Apache Struts 2 , with Netbeans 6.1

Total Page:16

File Type:pdf, Size:1020Kb

Getting Started with Apache Struts 2 , with Netbeans 6.1 Getting started with Apache Struts 2 , with Netbeans 6.1 There are plenty of guides that tell you how to start with struts 2, but most of them are incomplete or don’t work. This guide even makes sure you have IDE JavaDoc support for struts 2 libraries. (Press Ctrl- Space to get details about methods and classes in struts 2 libraries) Download Struts 2 here : http://struts.apache.org/download.cgi Download the Full Distro, so that we get all libraries and docs. (docs are important if u want to have IDE support help and tooltips and syntax) • Full Distribution: o struts-2.0.11.2-all.zip (91mb) [ PGP ] [ MD5 ] As of this writing , this is the latest version of Struts. Download Netbeans 6.1 here : http://www.netbeans.org/downloads/ or here : http://dlc.sun.com.edgesuite.net/netbeans/6.1/final/ Download the full bundle (under the All column) size about 220 MB Choose a folder for all your JAVA material that has NO SPACES in its path. Like C:\Java “C:\Program Files” has a space, so it has some issues with the Sun Application Platform, which you might need after development. Other downloads : [These are not necessary now, but just download them while working on this guide] Eclipse for JavaEE Dev : http://www.eclipse.org/downloads/ Eclipse IDE for Java EE Developers (163 MB) Java Application Platform : http://java.sun.com/javaee/downloads/index.jsp App Platform + JDK† Java Standard Edition [SE] : http://java.sun.com/javase/downloads/index.jsp JDK 6 Update 7 Install as follows : This is how a pro I knew advised to set a comp up for Java EE Dev. You can install anywhere, but the Guide will use these assume, this is how you’ve installed things. 0. Install Java SE (JDK 6 Update 7) to C:\Java\jdk1.6.0_07 and the packaged Java Runtime Environment (Public JRE) to C:\Java\jre1.6.0_07 Note : No Spaces in the path 1. Extract struts-2.1.2-all.zip to C:\Java . This will create a folder C:\Java \struts-2.1.2 2. Install Netbeans 6.1 to C:\Java\NetBeans6.1 .[ Note: There is no space in the path] Along with the Apache Server packed with netbeans, you need to press the customize or advanced button to install the packaged apache server, and to set your own path. 3. After Netbeans , the packaged apache server will ask for path give C:\Java ApacheTomcat6.0.16 Note: No Space here also My comp is set up like this C:\Java\ ApacheTomcat6.0.16 - from netbeans-6.1-ml-windows setup C:\Java\ NetBeans6.1 - from netbeans-6.1-ml-windows setup C:\Java\ jdk1.6.0_04 - from jdk-6u4-windows-i586-p setup C:\Java\ jre1.6.0_04 - from jdk-6u4-windows-i586-p setup C:\Java\ struts-2.1.2 - from struts-2.1.2-all.zip extract C:\Java\ Eclipse - from eclipse-jee-ganymede-win32 setup C:\Java\ AP - from java_app_platform_sdk-5_05-windows setup C:\Java\glassfish-v2ur2 - from java_app_platform_sdk-5_05-windows setup C:\Java\Nwork - Netbeans WorkSpace C:\Java\Ework -Eclipse WorkSpace C:\Java\ StrutsBlank -Contents of struts2-blank-2.1.2.war file I Created my POJOs i.e Plain Old Java Objects – Business model classes and helper classes in Eclipse, just to know whats there in the IDE, and compiled them to JAR files. Then I used these JARs in the WebApplication fully done in NetBeans. But leave that, we’ll see how to set up struts 2 and netbeans, fully dev-ready Important Stuff (so don’t deviate!) : Create a new Web Application in NetBeans File-> New Project..-> Category:Web -> Projects:Web Application Choose Java EE5 as the Java EE Version, and Apache Tomcat 6.0.16 as the Server (which we installed from the netbeans setup itself) If the server is not there Add it, choosing the path C:\Java\ ApacheTomcat6.0.16 as the home directory of the server. DO NOT ADD ANY Frameworks like struts of JSF now, you can add ‘em later. Click Finish . Go to C:\Java\ struts-2.1.2\ apps folder. Open WinZip. Drag - Drop the struts2-blank-2.1.2.war onto the WinZip window. Press the Extract button on the top of the WinZip window and extract to C:\Java\ StrutsBlank . You must type this in cause “StrutsBlank” is a folder WinZip will have to create to place the contents of the WAR file. Come back to NetBeans, Go to Tools-> Libraries, Click on New Library.. button Type in “Struts2Library” as name and Press OK Then Press Add JAR/Folder.. button and in the open file dialog , navigate to C:\Java\StrutsBlank\WEB- INF\lib Select all the JAR files in there pressing the SHIFT key, and add ‘em. Go to Javadoc Tab, Press Add Zip/Folder button and in the Open Folder Dialog navigate to C:\Java\struts-2.1.2\docs\struts2-core and select apidocs folder and click Add Zip/Folder button in the dialog Press Ok that closes the Library Manager dialog box. Now Right Click the Libraries folder in the Projects window in the netbeans IDE, select Add Library.. and add the Struts2Library. Navigate to C:\Java\StrutsBlank in windows explorer and Drag-Drop the C:\Java\StrutsBlank\example folder into the NetBeans Web Pages treenode Delete the Web Pages\WEB-INF\web.xml in netbeans Drag-Drop the C:\Java\StrutsBlank\WEB-INF\web.xml file into the NetBeans Web Pages\WEB-INF treenode Delete the Web Pages\ index.html in netbeans Drag-Drop the C:\Java\StrutsBlank\index.html file into the NetBeans Web Pages treenode Right-Click the Source Packages treenode in NetBeans, and New->Java Package, and type in “example” as the package name. This name is necessary to allow the blank app to get working. Drag-Drop all the 6 files in C:\Java\StrutsBlank\WEB-INF\src\java\example onto the Source Packages\example treenode Drag-Drop the 2 XML files in C:\Java\StrutsBlank\WEB-INF\src\java example.xml and struts.xml to the Source Packages treenode[ such that they come under the default package] Thus we have moved all XML and .jsp and .java files from blank app to netbeans. After all that your Project Explorer will belike : Build using F11 key. NetBeans will have created two folders for you build and dist. build\web\WEB-INF\lib and build\web\WEB-INF\classes are automatically created and populated with the JAR files and .class files. dist will have the WAR file that u can use to distribute your web app. Run using F6 key to see the output. If any error while building or running, Save everything, close netbeans AFTER closing the server by pressing the green square stop button in the serve tab of the netbeans IDE. Then go to task manager close all java.exe process and any and all server process also and reopen netbeans and press f6. I localized to Tamil. You should see Spanish instead of Tamil in the output. .
Recommended publications
  • Mobile Server Deployment and Configuration Guide Content
    CUSTOMER SAP BusinessObjects Mobile Document Version: 4.2 SP6 – 2017-12-15 Mobile Server Deployment and Configuration Guide Content 1 Document History..............................................................5 2 Target Audience............................................................... 6 3 Introducing the SAP BusinessObjects Mobile Solution.................................. 7 3.1 Solution Overview...............................................................7 SAP BusinessObjects Mobile Client................................................8 SAP BusinessObjects Mobile Server................................................8 SAP BusinessObjects Business Intelligence (BI) Platform.................................9 4 Deploying the SAP BusinessObjects Mobile Server Package.............................10 4.1 Pre-Installation Checklist..........................................................11 4.2 Deploying Server Package using WDeploy..............................................12 4.3 Configuring Your Web application Server.............................................. 13 SAP NetWeaver Web Application Server ............................................13 WebSphere Application Server ...................................................14 WebLogic Web Application Server.................................................14 JBoss Web Application Server................................................... 15 4.4 Auto-Deployment of Mobile Server.................................................. 15 4.5 Deploying SAP Lumira Server on Unsupported
    [Show full text]
  • California State University, Northridge the Design And
    CALIFORNIA STATE UNIVERSITY, NORTHRIDGE THE DESIGN AND IMPLEMENTATION OF A SMALL TO MEDIUM RESTAURANT BUSINESS WEB APPLICATION A graduate project submitted in partial fulfillment of the requirements for the degree of Master of Science in Computer Science By Edward Gerhardstein May 2011 The graduate project of Edward Gerhardstein is approved: John Noga , Ph.D. Date Robert McIlhenny , Ph.D. Date Jeff Wiegley , Ph.D., Chair Date California State University, Northridge ii Table of Contents Signature page ii Abstract vi 1 Overview of Pizza Application 1 2 Open Source Licenses Servers 2 2.1 Open Source License Definition . .2 2.2 Ubuntu . .2 2.3 Apache Tomcat . .2 2.4 MySQL . .4 3 Selected Concepts and Terminologies 6 3.1 Model-View-Controller (MVC) . .6 3.2 JavaScript . .7 3.3 Ajax . .7 3.4 XML . .7 3.5 DTD . .7 3.6 XML Schema . .7 3.7 CSS . .8 4 J2EE Concepts 9 4.1 J2EE Overview . .9 4.2 JavaBean . .9 4.3 Enterprise JavaBeans (EJB) . .9 4.4 Other J2EE APIs and Technologies . .9 4.5 Servlets . 10 4.6 JavaServer Pages (JSP) . 11 4.6.1 Scriptlet . 11 5 Apache Struts Framework 13 5.1 Apache Struts Overview . 13 5.2 ActionServlet . 13 5.3 Struts Config . 13 6 Pizza Application Overview 15 6.1 Design Layout . 15 6.2 Workflow . 15 6.3 JSP Page formats - Index.jsp/Templates . 17 6.4 JSP Page Divisions . 18 7 ClockIn/Clockout and Logon Functionality 21 7.1 ClockIn/Clockout Functionality . 21 iii 7.2 Logon Functionality . 21 8 Administrator Functionality 24 8.1 Administrator Functionality Description .
    [Show full text]
  • Un Enfoque Semántico
    UNIVERSIDAD DE CHILE FACULTAD DE CIENCIAS FISICAS Y MATEMATICAS DEPARTAMENTO DE CIENCIAS DE LA COMPUTACION BÚSQUEDA Y VISUALIZACIÓN DE IMÁGENES EN MEMORIA CHILENA: UN ENFOQUE SEMÁNTICO MEMORIA PARA OPTAR AL TITULO DE INGENIERO CIVIL EN COMPUTACION FELIPE IGNACIO SAAVEDRA CÉSPEDES PROFESOR GUIA: CLAUDIO GUTIERREZ GALLARDO MIEMBROS DE LA COMISION: CARLOS HURTADO LARRAIN SANTIAGO DE CHILE SEPTIEMBRE 2007 RESUMEN DE LA MEMORIA PARA OPTAR AL TITULO DE INGENIERO CIVIL EN COMPUTACION POR: FELIPE SAAVEDRA CESPEDES FECHA: 23/10/2007 PROF. GUIA: Sr. CLAUDIO GUTIERREZ. BÚSQUEDA Y VISUALIZACIÓN DE IMÁGENES EN MEMORIA CHILENA: UN ENFOQUE SEMÁNTICO La Web Semántica ha cambiado la forma de presentar los contenidos en la web. Ha logrado el desarrollo de nuevos estándares descriptores para los recursos presentados denominados metadatos, como también estructurarlos y relacionarlos. Esto ha permitido una ganancia en cuanto a expresividad de contenidos, a la vez de posibilitar su interacción tanto por la profundidad de las relaciones como por la interactividad lograda con el usuario. En la actualidad, se están utilizando metadatos principalmente como una manera de relacionar los recursos y almacenar mayor información descriptiva sobre recursos de distintas naturalezas (textos, multimediales, etc). Aún no resulta común encontrar aplicaciones que permitan al usuario interactuar directamente con las relaciones proporcionadas por el modelo de datos inherente de algún portal, y si se añade un interés especial en contenidos multimediales es aún menor. Un caso particular se encuentra en el sitio web de Memoria Chilena, cuyos contenidos presentan metadatos. En el siguiente trabajo se proporciona un enfoque para lograr explotar los metadatos y brindar mayor expresividad para el usuario final, con el motivo final de presentar recursos visuales que faciliten al usuario explorar contenidos y realizar búsquedas de contenidos.
    [Show full text]
  • Metadefender Core V4.12.2
    MetaDefender Core v4.12.2 © 2018 OPSWAT, Inc. All rights reserved. OPSWAT®, MetadefenderTM and the OPSWAT logo are trademarks of OPSWAT, Inc. All other trademarks, trade names, service marks, service names, and images mentioned and/or used herein belong to their respective owners. Table of Contents About This Guide 13 Key Features of Metadefender Core 14 1. Quick Start with Metadefender Core 15 1.1. Installation 15 Operating system invariant initial steps 15 Basic setup 16 1.1.1. Configuration wizard 16 1.2. License Activation 21 1.3. Scan Files with Metadefender Core 21 2. Installing or Upgrading Metadefender Core 22 2.1. Recommended System Requirements 22 System Requirements For Server 22 Browser Requirements for the Metadefender Core Management Console 24 2.2. Installing Metadefender 25 Installation 25 Installation notes 25 2.2.1. Installing Metadefender Core using command line 26 2.2.2. Installing Metadefender Core using the Install Wizard 27 2.3. Upgrading MetaDefender Core 27 Upgrading from MetaDefender Core 3.x 27 Upgrading from MetaDefender Core 4.x 28 2.4. Metadefender Core Licensing 28 2.4.1. Activating Metadefender Licenses 28 2.4.2. Checking Your Metadefender Core License 35 2.5. Performance and Load Estimation 36 What to know before reading the results: Some factors that affect performance 36 How test results are calculated 37 Test Reports 37 Performance Report - Multi-Scanning On Linux 37 Performance Report - Multi-Scanning On Windows 41 2.6. Special installation options 46 Use RAMDISK for the tempdirectory 46 3. Configuring Metadefender Core 50 3.1. Management Console 50 3.2.
    [Show full text]
  • Talend Open Studio for Big Data Release Notes
    Talend Open Studio for Big Data Release Notes 6.0.0 Talend Open Studio for Big Data Adapted for v6.0.0. Supersedes previous releases. Publication date July 2, 2015 Copyleft This documentation is provided under the terms of the Creative Commons Public License (CCPL). For more information about what you can and cannot do with this documentation in accordance with the CCPL, please read: http://creativecommons.org/licenses/by-nc-sa/2.0/ Notices Talend is a trademark of Talend, Inc. All brands, product names, company names, trademarks and service marks are the properties of their respective owners. License Agreement The software described in this documentation is licensed under the Apache License, Version 2.0 (the "License"); you may not use this software except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.html. Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. This product includes software developed at AOP Alliance (Java/J2EE AOP standards), ASM, Amazon, AntlR, Apache ActiveMQ, Apache Ant, Apache Avro, Apache Axiom, Apache Axis, Apache Axis 2, Apache Batik, Apache CXF, Apache Cassandra, Apache Chemistry, Apache Common Http Client, Apache Common Http Core, Apache Commons, Apache Commons Bcel, Apache Commons JxPath, Apache
    [Show full text]
  • Assessing the Effectiveness of the Model View Controller Architecture for Creating Web Applications
    Assessing the Effectiveness of the Model View Controller Architecture for Creating Web Applications Nick Heidke, Joline Morrison, and Mike Morrison Department of Computer Science University of Wisconsin-Eau Claire Eau Claire, WI 54702 [email protected] Abstract The Model View Controller (MVC) architecture has been widely embraced as an approach for developing Web-based applications that contain a server-side programming component. The bulk of the published literature on MVC Web applications to date describes the architecture and underlying specification of specific systems, but does not specifically address the effectiveness of MVC for developing these applications. This research seeks to fill this gap by comparing MVC to other widely-used Web development methods in terms of development time, maintainability, and the ability to support communication among designers and programmers by contrasting a non-MVC Web application with an MVC-based Web application, and highlighting the advantages and disadvantages of each approach. Introduction The Model View Controller (MVC) software engineering architecture has been widely embraced as an approach for developing Web-based systems that contain a server-side programming component, particularly for those requiring database access. MVC isolates the business logic from the user interface, with the goal of creating applications that are easier to manage and maintain because designers can modify the visual appearance of the application and programmers can modify the underlying business rules with fewer harmful side effects. The bulk of the published literature on MVC Web applications describes the architecture and underlying specification of these systems, but does not specifically address the effectiveness of the architecture. The purpose of this research is to compare MVC to other widely-used Web development methods in terms of development time, maintainability, and ability to support and enhance interaction among designers and programmers.
    [Show full text]
  • Jformdesigner 7 Documentation
    JFormDesigner 7 Documentation Copyright © 2004-2019 FormDev Software GmbH. All rights reserved. Contents 1 Introduction ................................................................................................................................................................................................ 2 2 User Interface ............................................................................................................................................................................................. 3 2.1 Menus ................................................................................................................................................................................................... 4 2.2 Toolbars ............................................................................................................................................................................................... 6 2.3 Design View ......................................................................................................................................................................................... 7 2.3.1 Headers ......................................................................................................................................................................................... 9 2.3.2 In-place-editing .......................................................................................................................................................................... 11 2.3.3 Keyboard Navigation
    [Show full text]
  • Gaurav Purandare
    Gaurav Purandare 1444, W Lexington Street, Apt 2F, Chicago, IL 60607 [email protected] j [email protected] j 773-844-6354 http://www.cs.uic.edu/∼gpuranda/ EDUCATION Master of Science, Computer Science August 2011 ∼ Present University of Illinois, Chicago Bachelor of Engineering, Information Technology August 2005 { May 2009 University of Pune, India COMPUTER Languages Java (Advanced), C, Shell Scripting, Processing, LaTeX, C++, SKILLS Smalltalk(Basic) Operating Systems Windows 7/XP/2K/9x/NT/3x, Unix, Linux, Macintosh. Web Development JSP/Servlets, PHP, HTML, XML, JavaScript/Ajax, Flash, iTunes Podcasts Databases Oracle, MS Access, MySQL, PostgreSQL, SQLite General Git, Subversion, Google Analytics Frameworks J2EE, Apache Axis, Apache Ant, JNLP, Smarty PHP template engine, JFreeChart PHP Quick forms, Struts, Memcached, Android(basic) IDE's Eclipse, Visual Studio 2005/08, NetBeans EXPERIENCE Assistant Network Analyst May 2012 { Present Department of Disability and Human Development, University of Illinois at Chicago, Illinois • Developer and designer for web applications at Great Lakes ADA Center. • Provided technical assistance for users participating in webinars conducted by Great Lakes ADA Center. (100 ∼ 500 participants). Received high acclaim from participants for the excellent assistance. • Designed database schema for MySQL database. • Wrote Ant script to take backup of MySql Databases periodically. • Technologies: Java, JNLP, JSP/Servlets/ J2EE, Struts, Apache Tomcat, Apache Ant, PHP, ASP, MS Access, Apache web server, MySQL, iTunes
    [Show full text]
  • IBM Websphere Application Server Community Edition V3.0 Helps Streamline the Creation of Osgi and Java Enterprise Edition 6 Applications
    IBM United States Software Announcement 211-083, dated September 27, 2011 IBM WebSphere Application Server Community Edition V3.0 helps streamline the creation of OSGi and Java Enterprise Edition 6 applications Table of contents 1 Overview 6 Technical information 2 Key prerequisites 8 Ordering information 2 Planned availability date 9 Services 3 Description 9 Order now 6 Product positioning At a glance With WebSphere® Application Server Community Edition V3.0: • Developers can select just the components they need for optimum productivity (using OSGi and a component assembly model). • Developers can get JavaTM Enterprise Edition (Java EE) 6 applications started quickly for no charge. • System administrators are given more deployment and management options. • Organizations can take advantage of world-class, IBM® support options under a socket-based pricing model that can help reduce the cost burden in larger configurations. • You have access to a comprehensive and proven portfolio of middleware products from the WebSphere family. Overview WebSphere Application Server Community Edition V3.0 is the IBM open source- based application server that provides: • Java Enterprise Edition (Java EE) 6 support • An enterprise OSGi application programming model • Java Standard Edition (Java SE) 6 support Version 3 is built on Apache Geronimo and integrated with best-of-breed, open- source technology such as Apache Tomcat, Eclipse Equinox OSGi Framework, Apache Aries, Apache OpenEJB, Apache OpenJPA, Apache OpenWebBeans, and Apache MyFaces. Eclipse-based
    [Show full text]
  • HDP 3.1.4 Release Notes Date of Publish: 2019-08-26
    Release Notes 3 HDP 3.1.4 Release Notes Date of Publish: 2019-08-26 https://docs.hortonworks.com Release Notes | Contents | ii Contents HDP 3.1.4 Release Notes..........................................................................................4 Component Versions.................................................................................................4 Descriptions of New Features..................................................................................5 Deprecation Notices.................................................................................................. 6 Terminology.......................................................................................................................................................... 6 Removed Components and Product Capabilities.................................................................................................6 Testing Unsupported Features................................................................................ 6 Descriptions of the Latest Technical Preview Features.......................................................................................7 Upgrading to HDP 3.1.4...........................................................................................7 Behavioral Changes.................................................................................................. 7 Apache Patch Information.....................................................................................11 Accumulo...........................................................................................................................................................
    [Show full text]
  • Netbeans Platform
    NETBEANS PLATFORM Satyajit Tripathi Member Technical Staff ISV-Engineering, Sun Microsystems 1 NetBeans Platform Build new desktop applications without re-inventing the wheel • NetBeans Platform is a broad SWING-based framework to create rich desktop applications • Platform provides out-of-the-box APIs to simplify application common requirements such as window management, menus, actions, settings and storage, an update manager, and files access • Core of NetBeans-IDE is Platform ie. NetBeans-IDE 'minus' IDE specific modules 2 NetBeans Platform Manager NetBeans IDE 6.1 (build 200805300101) 3 NetBeans Module (Plugin) Add the missing functionalities to IDE • Module can be built to extend the functionality of NetBeans IDE and to add specific features • NetBeans (Plug-in) Module is a group of Java classes that interacts with NetBeans APIs and provides an application with specific features • Java classes use the MANIFEST.MF file to declare the module and XML Layer file (layer.xml) to register their functionality • Modules with non-installer distributions are packaged as NBM files (.nbm extension) 4 Module (Plugin) Development Development Life cycle • Setting up the project • NetBeans IDE generates Project organization and code • Coding the module or application • Building and Running • Testing, Debugging, and Profiling • Branding and Distributing 5 NetBeans Module Projects NetBeans IDE 6.1 6 Module Project Organization NetBeans IDE 6.1 7 NetBeans APIs Complete API set is quite extensive! • Action APIs • Palette APIs • File Systems APIs • Refactoring APIs • Loaders APIs • MultiView APIs • Nodes APIs • JavaHelp Integration APIs • Windows APIs 8 Action APIs Package : org.openide.actions • Standard SWING Actions For installation of global, always-enabled actions, register javax.swing.Action in appropriate folder of System Filesystem.
    [Show full text]
  • Java- EE Web Application Development with Apache Struts 1
    +91-9791 044 044 Java- EE Web Application Development with Apache Struts 1 Duration:60 HOURS | Price: INR 7000 SAVE NOW! INR 6000 until December 1, 2011 Students Will Learn • Java EE Web Application Architecture • Servlets and JSPs • NDI, RMI, & JDBC • JMS (Java Messaging Service) • Developing Struts Applications • Developing a Struts Controller • Developing a Struts View Course Description: This hands-on course provides participants with the knowledge and experience necessary to develop and deploy large, robust and complex Java web applications utilizing the Apache Struts 1 framework. The Apache Software Foundation has provided numerous open-source tools, which set the standard for web application development. These include the Apache web server and the Tomcat Servlet Container. Apache Struts 1 provides a flexible controller layer for JSP-based applications, with significant facilites for validation, internationalization and page layout. Struts is an implementation of the Model-View-Controller (MVC) pattern, a recommended architectural design pattern for interactive applications. The Struts controller is based on standardized technologies including Servlets, JSP Pages, Tag libraries, JavaBeans and XML. Students will learn how to use the Struts framework to write, assemble, configure and deploy complex web applications. This course covers architectural design issues as well as specific coding models for Java EE components, and is up to date with the latest Java EE 5, JSP 2.1 and Servlet 2.5 specifications. Security, transaction management, inter-component communication and deployment issues are discussed in detail, with hands-on labs to solidify understanding. Since coding and deployment files are standardized by the Jave EE specifications, students may readily apply the skills learned in this class to write code for any compliant server, including Apache Tomcat, JBoss, WebSphere, Oracle, WebLogic and many others.
    [Show full text]