On 6/26/07, tnjtn1 <[EMAIL PROTECTED]> wrote:
When i am using that default jetty server.The code will work.
When i am using Tomcat.. where i place my html file...?
I got the same problem.
Thanks in advance.
Thanks & Regards,
senthil.
you put your .html files next to .java files - in the same package/dir.
if you use maven to package the war you need to make sure that it will copy
.html files out of src/main/java folder. to do so you need to add the
following to pom/build section
<resources>
<resource>
<filtering>false</filtering>
<directory>src/main/resources</directory>
</resource>
<resource>
<filtering>false</filtering>
<directory>src/main/java</directory>
<includes>
<include>**</include>
</includes>
<excludes>
<exclude>**/*.java</exclude>
</excludes>
</resource>
</resources>
if i was just getting started i would check this out
https://svn.apache.org/repos/asf/incubator/wicket/trunk/archetypes/
and let it create the initial project structure for me. see README file
-igor
Mr Mean wrote:
>
> The helloworld example quickly steps over the fact that you have to
> deploy your example to tomcat. It does mention that you should use the
> quickstart project. After you have integrated your helloworld example
> in the quickstart you need to deploy it.
>
> Maurice
>
> On 6/26/07, tnjtn1 <[EMAIL PROTECTED]> wrote:
>>
>> HI,
>>
>> I am newer to wicket. just i am trying to use HelloWorld program
>> following
>> this below url with Tomcat5.0 server.
>>
>> http://wicket.sourceforge.net/ExampleHelloWorld.html
>>
>> 1) I have place java file under src folder.
>> 2) I have placed HelloWorld.html file under webContent folder.
>>
>> when i run the Helloworld.html file, it display only -- " Message goes
>> here" . But it won't display the content of label component..
>>
>> where i took mistake..?
>>
>> Thanks & Regards,
>> kumar
>> --
>> View this message in context:
>>
http://www.nabble.com/Wicket-Helloworld-using-Tomcat-tf3982219.html#a11305084
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>>
-------------------------------------------------------------------------
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>> _______________________________________________
>> Wicket-user mailing list
>> Wicket-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>
>
>
-------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
--
View this message in context:
http://www.nabble.com/Wicket-Helloworld-using-Tomcat-tf3982219.html#a11306893
Sent from the Wicket - User mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user