I followed the advice and got my DataSource configured in Jetty, but I have a
new problem.  Jetty is not finding my images.  Is there anything we need to
add to the QuickStart's Jetty configuration in order to run an application
similar to Wicket example: http://www.wicketstuff.org/wicket13/images/   

I have some image files (e.g. "image1.png") stored directly inside the
"webapp" folder, and my application generates a popup containing the
following HTML to reference the image: 

<html xmlns="http://www.w3.org/1999/xhtml";
xmlns:wicket="http://wicket.sourceforge.net/"; xml:lang="en" lang="en"> 
<head/> <body> 
          < img wicket:id="picture" src="image1.png" alt="Picture"/ > 
</body> </html> 

but the image does not appear. 

(It would be great if Wicket Examples were a quickstart project ready to run
in Jetty!)


Are you running your app using Quickstart's test.Start?  That one does not
have Jetty-Plus and does not load your jetty-env.xml and you will get the
error you are seeing.  Use 'mvn jetty:run' instead.  It does Jetty-Plus and
loads jetty-env.xml from WEBINF all without any additional config.

If you want to use Quickstart's test.Start, you need to add this to your
jetty-env.xml:
...
  
On Fri, Mar 14, 2008 at 9:45 AM, Kevin Murphy <[EMAIL PROTECTED]>
wrote:

> I'm having difficulty adding database functionality to my Wicket
> QuickStart app by configuring a JNDI data source in Jetty.
...
-- 
View this message in context: 
http://www.nabble.com/Configuring-database-connection-pool-with-Jetty-in-QuickStart-tp16055722p17693607.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to