Web Hosting Talk







View Full Version : problem with java


0senjed0
09-13-2009, 09:09 PM
i have html + java website and it dose not work fine .
at the left page of solmate.ir i have java menu and it dose not load .

when i ask my hosting provider them told me :

=======================
- you are not able to see the left option in the main page of http://solmate.ir/ .

- In the coding of index.html file , you have mentioned the following:
script type="text/javascript
But you are using JSP(java servlet pages) instead of java script for this. So you need to please correct it and use JS script instead of JSP script.

=======================
now what should i do exactly ?
i must change script type="text/JSP
or do any other update ?
(my menu name is menu.JSP)

stdunbar
09-14-2009, 10:37 AM
It looks like you have this fixed - is it working as you expect now?

FreeKill
09-14-2009, 10:45 AM
Usually you need to wrap your JSP calls in:

<% %>

Nizumzen
10-04-2009, 03:33 PM
Java and JavaScript are two different things. Please clarify which you are trying to use (I am assuming JavaScript and you just didn't know that it was different from Java).