misscemo
Junior Member
Posts: 8
Registered: 7/17/2007
Member Is Offline
|
| posted on 7/17/2007 at 02:42 PM |
|
|
Calendar Popup - 404 HTML File not found
I am using Websphere. I imported the free Tigra calendar and made adjustments.
Under WebContent, I have a folder called workstation. In it is a .jsp in which I include the index.html from the calendar demo within the jsp's
table body. In a SCRIPT at the top, I include the calendar2.js.
Also in the workstation folder is an includes folder where index.html, calendar2.js and calendar.html are stored.
Under WebContent there is also a folder called Images. All coresponding images for the calendar are stored there.
If I open index.html with the Web Browser, dates are working fine. However, if I run the server and try to click on the calendar.gif that is included
in my .jsp, I get a 404 HTML File not found error in a window the size of the expected calendar popup. The text boxes from index.jsp where dates
should show up display fine.
I'm guessing that somehow my calendar.html is not connected to the index.html cal.gif...
Can anyone help? I'm fairly new to javascript.
Thanks in advance,
~misscemo
|
|
|
tigra
Administrator
Posts: 1869
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 7/17/2007 at 10:34 PM |
|
|
you can adjust the path to calendar.html in calendar?.js in window.open(...) statement (use absolute http://... path if not sure). Path to the image files is specified in calendar.html
|
|
|
Chopenko
Junior Member
Posts: 9
Registered: 10/30/2007
Location: México
Member Is Offline
|
| posted on 10/30/2007 at 11:23 PM |
|
|
Partial Solution
To find a partial solution, go here http://www.softcomplex.com/forum/viewthread_4310/
|
|
|