SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 52 | Next

Alexander Kolesnikov

"Tapestry 5: Building Web Applications"

Confirm your decision in the dialog that opens. Navigate in your
file system to the directory structure created by Maven and copy the contents of that
java subdirectory that we linked previously (these contents should consist of just one
\com subdirectory, but with more subdirectories and files under it).
Now navigate to your Eclipse workspace, and find the \t5first subdirectory
containing our new Eclipse project, and then under it the directory named \src. Paste
the copied \com subdirectory into \src. Now we need to make sure that Eclipse
knows about the addition, for which it is enough to just refresh the project. Click
on the project name in Project Explorer and press F5, or alternatively right-click on
the project name and click on Refresh. You will see how the code packages have
appeared under the Java Resources: src folder.
Whichever approach you have chosen to add the source code, let's change the
code of the Start.java file a little and see how the changes are reflected by the
application when we run it. Change the source code to look like this:
package com.packtpub.t5first.pages;
import java.util.Date;
/**
* Start page of application t5first.
*/
public class Start
{
public String getCurrentTime()
{
Date date = new Date();
String message = ".


Pages:
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6