James

I tried that and I am just fighting against my inexperience with Java
outside of CF and in doing it with Eclipse.  I have touched pure Java in
about 11 or 12 years and we didn't have eclipse back then.  A friend of mine
suggested that I just call the servlet within a cf page as Java in CF...but
that didn't work either...or I am doing something wrong.  This is getting a
bit frustrating.  This shouldn't be this difficult.

Eric

PS...you seem to know ajax pretty well...we are using Help Bubble and want
to put a google map to show the location.  We have the GPS coordinates in
the DB, so I am just passing that to the page that generates the map.  If I
call that page, the map comes up fine, but when I call it in the help
bubble, I get all the textual output, but no map.  Here's the code that
calls the bubble...maps_test2.cfm is the page that contains the code that
calls the map:

<li><a href="##" id="map2" onclick="return false;">850 Stephenson Highway,
Troy MI</a></li>
        <script>
                new HelpBalloon(
                        { 
                                title: 'Job Location Map',
                                dataURL: 'maps_test2.cfm?latlng=42.5429670,
-83.1201470',
                                icon: $('map2') 
                                                                
                        });
        </script>
The page has a link with the coordinates that brings up a page with google
maps so they can enter their address to get directions...that comes up fine.
Just no map.  Both the map and the link are surrounded in divs.  Any ideas?

Thanks!


-----Original Message-----
From: James Holmes [mailto:[email protected]] 
Sent: Monday, February 15, 2010 4:49 AM
To: cf-talk
Subject: Re: java assistance


You need Java EE to compile these. This is not included in the standard JDK.
Download Java EE and you should be ok to compile the code.

mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/


On 15 February 2010 09:45, Eric Roberts <[email protected]> wrote:

>
> We are trying to implement a signature pad.  The code that I found that
> seems to work well with CF in both browsers comes with example code that I
> am using as the basis for the actual code.  There are some calls that are
> giving the following errors:
>
>
>
> Description       Resource          Path     Location           Type
>
> HttpServlet cannot be resolved to a type            TestServlet.java
> /servlet/src        line 26   Java Problem
>
> HttpServletRequest cannot be resolved to a type
TestServlet.java
> /servlet/src        line 34   Java Problem
>
> HttpServletResponse cannot be resolved to a type         TestServlet.java
> /servlet/src        line 34   Java Problem
>
>
>
> These calls are unmodified from the original code that did work fine, but
> won't compile.  I do not have the source on the .class files so I can't
> look
> and make sure that syntax or class are correct.is there anyway to expose
> at
> least the function names to make sure that isn't the problem?  There are
no
> javadocs.
>
>
>
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330737
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to