some more information.
If I use sub context in jboss-web.xml then it works fine.
e.g.
<jboss-web>
<context-root>/wtp</context-root>
</jboss-web>
One thing I found out is,
If I click on button and the response page is not mounted, it does not work.
If I click on button and the response page is mounted, it works fine.
-----Original Message-----
From: Patel, Sanjay [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 20, 2008 1:23 PM
To: [email protected]
Subject: RE: error occurs in IE when I click on button in wicket
application deployed in JBoss
Hi,
I am trying to deploy a small wicket application in JBoss. It works fine in
fire fox and does not work in IE.
I access my application at " http://localhost/"
When I click on any button in my application it goes to <http://localhost/./>
http://localhost/./ and it display "Directory Listing For /" in my browser.
It works fine if I click on any link. The problem is only when I click on any
button.
If I mount the pages then it works without any problem.
I am using Wicket Version 1.3.2 and JBoss 4.0.5 GA.
My jboss-web.xml looks like as below.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.4//EN" "
<http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd>
http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd">
<jboss-web>
<context-root>/</context-root>
</jboss-web>
My web.xml looks like below.
<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app xmlns=" <http://java.sun.com/xml/ns/j2ee>
http://java.sun.com/xml/ns/j2ee"
xmlns:xsi=" <http://www.w3.org/2001/XMLSchema-instance>
http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=" <http://java.sun.com/xml/ns/j2ee>
http://java.sun.com/xml/ns/j2ee
<http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd>
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">
<display-name>wicket-test-project</display-name>
<distributable/>
<filter>
<filter-name>wicket.test</filter-name>
<filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class>
<init-param>
<param-name>applicationClassName</param-name>
<param-value>org.nemours.test.ui.WicketApplication</param-value>
</init-param>
<init-param>
<param-name>configuration</param-name>
<param-value>deployment</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>wicket.test</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
</web-app>
-----Original Message-----
From: Patel, Sanjay [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 20, 2008 9:18 AM
To: [email protected]
Subject: error occurs in IE when I click on button in wicket application
deployed in JBoss
I developed small wicket application. It is address book kind of application
and it has "add new contact" , "edit", "delete" button. I deployed it in JBoss
4.0. It works good in FireFox but in IE when I click on any button it is not
able find the page. Please see the attached screen shot so you have an idea.
<<wicket-test-project.JPG>>
is anybody experienced this problem?
Sanjay Patel
Application Engineer
Web Team
Nemours
"NOTICE...This electronic transmission is intended only for the person(s)
named. It may contain information that is (i) proprietary to the sender, and/or
(ii) privileged, confidential and/or otherwise exempt from disclosure under
applicable State and Federal law, including, but not limited to, privacy
standards imposed pursuant to the federal Health Insurance Portability and
Accountability Act of 1996 (HIPAA). Receipt by anyone other than the named
recipient(s) is not a waiver of any applicable privilege. If you received this
confidential communication in error, please notify the sender immediately by
reply e-mail message and permanently delete the original message from your
system."
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]