Mapviewer demo mapinit.jsp with svg doesn't work with jdeveloper

hi ng,
i tried the source code for the svg-sample in jdeveloper and first of all jdeveloper dislikes the line "<embed id="map" src="<%= mv.getGeneratedMapImageURL() %>...". after "embed" a green line is to be seen.
When i start the sample the map looks okay, but when i want to hide a theme (or zoom), i get the internet_explorer-message "error on the page".
"themeVisibleArray[idx]='false';" goes right but the next line occurs the error: "map.window.hideTheme(theme) ;"
map is not known at this place, it seems to me.
who can help (please)?
greetings
thomas

hi,
i still have a problem. i can work on an existing svg-map but not on a just generated svg-map. zoomin2 works.
here's the code:
<%@ taglib uri="http://xmlns.oracle.com/j2ee/jsp/tld/spatial/mvtaglib.tld" prefix="mapviewer"%>
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ page import="java.io.*"%>
<%@ page import="java.net.*"%>
<%@ page import="java.util.*"%>
<%@ page import="oracle.lbs.mapclient.*"%>
<%@ page import="oracle.lbs.mapcommon.MapResponse"%>
<%@ page import="java.awt.Dimension"%>
<%
String sizeStr = request.getParameter("initsize") ;
String scaleStr = request.getParameter("scale") ;
String cxStr = request.getParameter("centerX") ;
String cyStr = request.getParameter("centerY") ;
String baseMap = request.getParameter("basemap");
String _width = request.getParameter("width") ;
String _height = request.getParameter("height") ;
String _infoon = request.getParameter("infoon") ;
String action = request.getParameter("action");
boolean infoon = false;
boolean recenter = false ;
boolean zoomin = false ;
boolean zoomin2 = false ;
int width = 600 ;
int height = 400 ;
if(_width!=null && _height!=null)
try
width = Integer.parseInt(_width) ;
catch(Exception e){}
try
height = Integer.parseInt(_height) ;
catch(Exception e){}
if(baseMap==null) baseMap = "demo_map";
double size = 0.2 ;
try
size = Double.parseDouble(sizeStr) ;
catch(Exception e){}
double scale = 2 ;
try
scale = Double.parseDouble(scaleStr) ;
catch(Exception e){}
double cx = -122.2615 ;
try
cx = Double.parseDouble(cxStr) ;
catch(Exception e){}
double cy = 37.5266 ;
try
cy = Double.parseDouble(cyStr) ;
catch(Exception e){}
String dataSrc = request.getParameter("datasrc");
boolean newSession = false;
// retrieve mapviewer client handle from session
MapViewer mv = (MapViewer) session.getAttribute("mvhandle");
boolean sessionExpired = false ;
if(mv==null || request.getParameter("initflag")!=null)
if(request.getParameter("initflag")==null)
sessionExpired = true ;
else
//initializes MapViewer bean instance
newSession = true;
String mvURL = request.getParameter("mvurl");
// create a new mapviewer client handle
mv = new MapViewer(mvURL);
mv.setDataSourceName(dataSrc);
mv.setImageFormat(MapResponse.FORMAT_SVGZ_URL);
/* the javascript function svgClicked will be called when the svg map
is clicked. svgClicked is defined in this page, it recenters or zoomins
the map. */
mv.setSVGOnClick("svgClicked") ;
/* initial themes (from an existing base map) */
mv.addThemesFromBaseMap(baseMap);
mv.setSVGZoomLevels(3);
/* disable the builtin navigation bar */
mv.setShowSVGNavBar(false) ;
mv.setMapTitle(" MAP TITLE ");
mv.setMapLegend(
"<legend bgstyle=\"fill:#ffffff;stroke:#ff0000\" profile=\"MEDIUM\" position=\"SOUTH_EAST\">"+
" <column>"+
" <entry text=\"Map Legend\" is_title=\"true\" />"+
" <entry style=\"M.CITY HALL 3\" text=\"cities\" />"+
" <entry style=\"M.CITY HALL 4\" text=\"big cities\" />"+
" <entry style=\"L.PH\" text=\"interstate highway\" />"+
" </column></legend>");
mv.setDeviceSize(new Dimension(width, height));
session.setAttribute("mvhandle", mv); // keep client handle in the session
String themes[] = new String[0] ;
if(!sessionExpired)
themes = mv.getThemeNames() ;
mv.setCenter(cx, cy);
mv.setSize(size);
mv.setSVGZoomRatio(scale) ;
mv.setSVGShowInfo(infoon);
String[] checkedThemes = request.getParameterValues("_mthemev_");
if(checkedThemes!=null && checkedThemes.length>0)
Hashtable checked = new Hashtable(30) ;
for(int i=0; i<checkedThemes.length; i++)
checked.put(checkedThemes, checkedThemes[i]) ;
for(int i=0; i<themes.length; i++)
if(checked.get(themes[i])!=null)
mv.setThemeVisibleInSVG(themes[i], true);
else
mv.setThemeVisibleInSVG(themes[i], false) ;
mv.run() ;
%>
<html>
<head>
<title>untitled</title>
<%-- <embed id="map" name="map" src="<%= mv.getGeneratedMapImageURL() %>" width="<%= width %>" height="<%= height %>"></embed> --%>
<%-- src="images/omsmap3_56.svgz" --%>
<%-- src="<%= mv.getGeneratedMapImageURL() %>" --%>
<%-- <object name="map" data="images/test_svg.svgz" type="image/svg+xml" width="800" height="600" standby="Warte noch ein Weilchen..."> --%>
<%-- </object> --%>
<script type="text/javascript">
var mapSize = <%= size %> ;
var scale = <%= scale %> ;
var width=<%= width%> ;
var height=<%= height%> ;
var rcx = <%= cx %> ;
var rcy = <%= cy %> ;
var cx = <%= width/2%> ;
var cy = <%= height/2%> ;
var disabled = true ;
// var themeVisibleArray = ...
var info = <%= infoon %> ;
var legend = false ;
var clickZoomin = <%= zoomin %> ;
var clickRecenter = <%= recenter %> ;
function zoomin()
map.window.setZoomRatio(1.1);
function zoomin2()
map2.window.setZoomRatio(1.1);
</script>
</head>
<body>
<P>
<form method="GET" action="test2.jsp">
<P>Name:
<input type="text" size="60" name="name" value="<%= mv.getGeneratedMapImageURL() %>"/>
<input type="text" size="60" name="datasrc" value="<%= request.getParameter("datasrc") %>"/>
<input type="text" size="60" name="basemap" value="<%= request.getParameter("basemap") %>"/>
<input type="text" size="60" name="centerX" value="<%= request.getParameter("centerX") %>"/>
<input type="text" size="60" name="centerY" value="<%= request.getParameter("centerY") %>"/>
<input type="text" size="60" name="initsize" value="<%= request.getParameter("initsize") %>"/>
<input type="text" size="60" name="width" value="<%= request.getParameter("width") %>"/>
<input type="text" size="60" name="height" value="<%= request.getParameter("height") %>"/>
<input type="text" size="60" name="type" value="<%= request.getParameter("type") %>"/>
</P>
<P>
<input type="SUBMIT" value="Submit"/>
</P>
</form>
</P>
<table>
<tr>
<td colspan="2">
<I>URL</I>[<B><%=mv.getGeneratedMapImageURL()%></B>]
</td>
</tr>
</table>
<%-- images/test_svg.svgz --%>
<embed src="<%= mv.getGeneratedMapImageURL() %>" name="map" id="map" width="500" height="500" type="image/svg+xml" />
<embed src="images/test_svg.svgz" name="map2" id="map2" width="500" height="500" type="image/svg+xml" />
<%-- <embed id="map" src="<%= mv.getGeneratedMapImageURL() %>" width="<%= width %>" height="<%= height %>"></embed> --%>
<FORM name="form" action="test2.jsp" method="GET" >
<input type="radio" name="action" value="zoomin" <%= zoomin?"checked":"" %> onclick="zoomin()" ><B>Zoom In</B>
<input type="radio" name="action2" value="zoomin2" <%= zoomin2?"checked":"" %> onclick="zoomin2()" ><B>Zoom In2</B>
<input type="hidden" name="width" value="<%=width%>"/>
<input type="hidden" name="height" value="<%=height%>"/>
<input type="hidden" id="cx" name="centerX" value=""/>
<input type="hidden" id="cy" name="centerY" value=""/>
<input type="hidden" id="size" name="initsize" value=""/>
<input type="hidden" id="scale" name="scale" value=""/>
<input type="hidden" id="infoon" name="infoon" value="<%=(infoon?"yes":"no")%>" />
</FORM>
<br>
<P> 
</P>
</body>
</html>

Similar Messages

  • Mapviewer demo mapinit.jsp with svg

    hi,
    the demo shows me per tooltip the number of a highway or the data about a county.
    how can i in a jsp-file get the highlighted data out of the svg-map, for example:
    if i get a tooltip for a highway and i click the mouse, i want to (onclick) get the highwaynumber. all i know now is that i can get the rowid of the selected feature.
    function my_feature(theme, id, x, y)
    alert('my_feature 1');
    alert(theme);
    alert(id);
    s_str = map.window.getinfo(theme, id); --> error
    alert('my_feature 2');
    is getinfo the right method?
    thomas

    getInfo is the right method for your purpose. However, getInfo returns the whole info tip string and you need to extract the attribute that you need from it.

  • "Store presets with catalog" doesn't work with web galleries

    I reinstalled Windows 7 and copied over my LR4 presets and galleries over to the new install.  I decided to try ""Store presets with catalog" to keep things simpler next time since I do periodic backups of the catalog folder anyway, so in the future all presets are backed up at the same time as the catalog.  I put the presets including a couple web gallery presets in the proper folders.  LR4 recognized all presets except for the web gallery presets--when I went to the Web module it didn't list them as options.  I then copied those web gallery presets to the default LR4 settings folder (C:\User\XYZ\AppData\Etc-so-on-so-forth) at which point it recognized the presets and listed them in the Web module.
    So it seems that LR4 doesn't respect the "Store presets with catalog" setting when looking for web gallery presets.  Am I missing something?

    MentatYP wrote:
    Yeah, I have 1 gigantic catalog so it makes sense for me to keep presets with the catalog file for backup purposes.
    I disagee. You've already discovered that Web Galleries remain in the default location when you use "Store Presets with Catalog", and there are other things as well which remain in the default location. So if you want to backup your entire Lightroom environment, including settings, now you have to backup not only the Lightroom Settings folder adjacent to the catalog, but also the Lightroom folder in the appdata area of your user profile. It's far simpler to leave everything in the default location (cos you still have to back it up, right), than mess about with backing up partial sets of settings.
    Plus, as Sean says, leaving them in the default location means any new catalog (e.g. for testing) gets access to your presets irrespective of where you locate it.
    To be honest, I don't think the "Store Presets with Catalog" was the development team's finest hour, as it's implementation seems muddled and inconsistent. We've had to bail out so many people over at Lightroomforums.net ("help, my presets are missing!") that we ended up documenting the implications of using that setting: http://www.lightroomforums.net/showthread.php?14169-What-is-the-purpose-of-the-quot-Store- Presets-with-Catalog-quot-option

  • Download an s-record file. Works with hypterminal,doesn't work with meas studio.

    Having problems downloading s-record to unit under test. Hyperterminal downloads file in seconds. But, measurement studio takes a long time, have to send file byte by byte. Don't get correct return value when sending file. Tried Xmodemsend function. Com port is set for direct connection.

    This is going to be hard to solve without a little more information. Can you let us know what libraries you're using (NI-Serial, NI-VISA, etc), and maybe provide the code that's exhibiting the problem? I believe XModemSend is part of the LabWindows/CVI serial library - is that what you're using, and if so, are you using from Microsoft Visual C++ or are you developing with LabWindows/CVI? If the latter, you might get a better answer to your question from the LabWindows/CVI forum.

  • Own JDialog - works with java5, doesn't work with java6

    Hello,
    I'm working on map editor for a bigger project and I'm stuck with displaying my own JDialog (grrr...). I found out that problem occurs only with java6. See the screenshots below:
    java5
    http://student.agh.edu.pl/~kdzwinel/Projects/TrafficSim/MapEditor/good.jpg
    java6
    http://student.agh.edu.pl/~kdzwinel/Projects/TrafficSim/MapEditor/wrong.jpg
    And some implementation details:
    how do I create new dialog:
    NewMapDialog dialog = new NewMapDialog(this);
    dialog.setVisible(true);how dialog class looks like:
    public class NewMapDialog extends JDialog implements ActionListener, ChangeListener
         NewMapDialog(Main owner)
              super(owner,"New map",true);
              this.setAlwaysOnTop(true);
              this.setSize(200, 280);
              this.setResizable(false);
              this.setLocationRelativeTo(owner);
              makeLayout();
         private void makeLayout()     
              Container content = getContentPane();
              content.setLayout(new FlowLayout());
    //(...) <- add stuff
    }That is so simple that I'm really confused. I will appreciate some help.
    Regards,
    Konrad
    Edited by: kdzwinel on Feb 5, 2008 6:23 PM

    kdzwinel wrote:
    Hm, creating my applications I extend JFrame, JPanel, JLabel all the time, what is wrong with extending JDialog?In this case your class contained two methods that were already defined to mean something completely different in the class you derived from. That's just one example of what can go wrong when you use inheritance. Had you used composition rather than inheritance (i.e. your class contained a JDialog rather than being a JDialog) this problem would never have happened.
    Such an extension was quite natural for me to use because I was looking for this dialog to be modal. And I guess making JFrame modal is not so trivial.
    You can make a modal JDialog without extending JDialog, so that's not a problem.
    BTW, funny thing is that this 'mistaken' code worked just fine with java5 - I was confused by this fact so my first guess was that I messed something up with panes/layouts.Another reason you should be careful with inheritance: your program may break from implementation changes in the library code you are using and extending. Maybe Java 5 does not use those two methods when it "draws the dialog". Again, had you been using composition your program would not have been affected.
    If you can, get your hands on a copy of "Effective Java" by Joshua Bloch, and read chapter 14 "Favor composition over inheritance". He explains this much better than I can.

  • Ultralingua "instant translation with F2" doesn't work with Firefox 4

    I recently upgraded to firefox 4 and now my ultralingua dictionary package doesn' recognise words in instant translation option (you put your cursor over the word and press a button, usually F2). It is a usefull option and i'm not ready to give it up. Perhaps there is a solution. I would want to give up firefox.
    Thank you!

    You could try installing this add-on instead: https://addons.mozilla.org/en-US/firefox/addon/foxlingo-translator-dictionary/

  • Sync Outlook Calendar with iPod doesn't work with iTunes 7?

    Ever since I've upgraded to iTunes 7, when I try to sync my Outlook Calendar with my iPod - either Outlook crashes or it says it's doing it, but the calendar on my iPod is now blank even when I have things scheduled on my calendar.
    Is there any fix or work around for this? Is anyone aware of this problem?

    This is meant with a bit of humor in the first part of my response to illustrate why polls asking for people not having a problem can be inaccurate here. Then I will get into some suggestions that are more techical in nature.
    If you walk to the waiting room at your local hospital's emergency room, and ask is there anybody here who is waiting to see the Doctors who is not sick or injured, please speak up. If everything was working, would you be here to post?
    If you turn off Outlook Syncing, and turn it back on, do you get the Windows security screen? It might pop up under the iTunes 7 window. There is a screenshot of the window I am referring to here:
    http://docs.info.apple.com/article.html?artnum=302268

  • Sync iPhone with Bluetooth doesn't work with me.

    I have try to sync my bluetooth with my computer, and I just can make it work, I know I have to turn on my iphone's bluetooth and have it discoverable, I have done that and still not working, my macbook founds it but if I try to send something it said that the devicer is not connected, while my iphone still just searching for bluetooth devicers or compu, phone, etc.
    How do I fix this?

    It is not supposed to work. Syncing via bluetooth is not a supported feature, you have to use a USB cable. (you really wouldn't want to wait for bluetooth anyway, it is horribly slow for transferring multi-gigs of data)

  • Headphone jack works with music, doesn't work with streaming radio (WABC)?

    I have the 77 WABC app installed and the first time I used it, it worked perfectly.  It streamed the station nicely and the audio went through the headphones.  Now, it streams fine, but the audio goes out over the speaker when I have a headphones plugged in.  If I use the music app, the audio goes through the headphones as it should.  Any ideas?

    Hi
    try this patch for vista sp1
    http://europe.nokia.com/A41447283#uniq=1230311349600&qt=crash〈=en&wsid=1008&comp=nokianokiamusicstor...(if you cant copy/paste url, go to this page http://europe.nokia.com/A41447283 and type crash in the search box)
    You need to install the patch and this should solve problems caused by vista sp1

  • Homegroup worked with E1200, doesn't work with EA3500

    Just upgraded from an E1200 to an EA3500 router. Everything works except Homegroup - my PCs cannot see each other. If i put the E1200 back in the mix it works fine. I do not have UPnP turned enabled on either router. Any idea what I'm missing, or need to set on the EA3500? Thanks.

    That led me down the right path - thanks. I had one PC set to a public instead of home network. Thanks!

  • jsp:setProperty doesn't work with short properties

    Hi,
              Setting bean properties doesn't work with properties that are of type short.
              Any ideas what's going on? I'm using WLS 6.1SP1 on W2K.
              --John
              <jsp:useBean id="test" scope="session" class="test.Test" />
              <jsp:setProperty name="test" property="*" />
              -- Test.java
              package test;
              * @author john
              public class Test {
              /** Creates new Test */
              public Test() {
              public short getShort() {
              return 0;
              public void setShort(short val) {
              Produces the following error while attempting to compile the jsp:
              Compilation of
              'C:\bea\wlserver6.1\config\cleanoffer\applications\.wlnotdelete\WEB-INF\_tmp
              warCleanOffer Server_CleanOffer Server_test\jsp_servlet\__test.java'
              failed:
              C:\bea\wlserver6.1\config\cleanoffer\applications\.wlnotdelete\WEB-INF\_tmp_
              war_CleanOffer Server_CleanOffer Server_test\jsp_servlet\__test.java:104:
              setShort(short) in test.Test cannot be applied to ()
              probably occurred due to an error in /test.jsp line 7:
              <jsp:setProperty name="test" property="*" />
              C:\bea\wlserver6.1\config\cleanoffer\applications\.wlnotdelete\WEB-INF\_tmp_
              war_CleanOffer Server_CleanOffer Server_test\jsp_servlet\__test.java uses or
              overrides a deprecated API.
              Full compiler error(s):
              C:\bea\wlserver6.1\config\cleanoffer\applications\.wlnotdelete\WEB-INF\_tmp_
              war_CleanOffer Server_CleanOffer Server_test\jsp_servlet\__test.java:104:
              setShort(short) in test.Test cannot be applied to (<null>)
              test.setShort(null); //[ /test.jsp; Line: 7]
              ^
              Note:
              C:\bea\wlserver6.1\config\cleanoffer\applications\.wlnotdelete\WEB-INF\_tmp_
              war_CleanOffer Server_CleanOffer Server_test\jsp_servlet\__test.java uses or
              overrides a deprecated API.
              Note: Recompile with -deprecation for details.
              1 error
              Fri Nov 09 00:24:58 PST 2001
              [test.war]
              

    It looks like a bug in JSP generator. If you look and the .java
              created by 6.1 it doesn't make any sence:
              String _propertyValue = request.getParameter("short");
              if (_propertyValue != null && !_propertyValue.equals(""))
              test.setShort(null);
              (needless to say that this works correctly in Resin).
              John Hampton <[email protected]> wrote:
              > Thanks for reply,
              > Changing getShort and setShort to getId and setId makes no difference. I
              > still get the error described below:
              > C:\bea\wlserver6.1\config\cleanoffer\applications\.wlnotdelete\WEB-INF\_tmp_
              > war_CleanOffer Server_CleanOffer Server_test\jsp_servlet\__test.java:104:
              > setId(short) in test.Test cannot be applied to (<null>)
              > test.setId(null); //[ /test.jsp; Line: 7]
              > John
              > "Jignesh" <[email protected]> wrote in message
              > news:[email protected]...
              >>
              >> hi,
              >> i think you have not given the property name properly.
              >> give some other name than short becuase short is the keyword (data-type)in
              > java.
              >> bye,
              >> Jignesh
              >>
              >>
              >> "John Hampton" <[email protected]> wrote:
              >> >Hi,
              >> >
              >> >Setting bean properties doesn't work with properties that are of type
              >> >short.
              >> >Any ideas what's going on? I'm using WLS 6.1SP1 on W2K.
              >> >
              >> >--John
              >> >
              >> ><jsp:useBean id="test" scope="session" class="test.Test" />
              >> ><jsp:setProperty name="test" property="*" />
              >> >
              >> >-- Test.java
              >> >package test;
              >> >
              >> >/**
              >> > *
              >> > * @author john
              >> > */
              >> >public class Test {
              >> >
              >> > /** Creates new Test */
              >> > public Test() {
              >> > }
              >> >
              >> > public short getShort() {
              >> > return 0;
              >> > }
              >> >
              >> > public void setShort(short val) {
              >> > }
              >> >}
              >> >
              >> >Produces the following error while attempting to compile the jsp:
              >> >
              >> >Compilation of
              >>
              >>'C:\bea\wlserver6.1\config\cleanoffer\applications\.wlnotdelete\WEB-INF\_tm
              > p
              >> >warCleanOffer Server_CleanOffer Server_test\jsp_servlet\__test.java'
              >> >failed:
              >>
              >>---------------------------------------------------------------------------
              > -
              >> >----
              >>
              >>C:\bea\wlserver6.1\config\cleanoffer\applications\.wlnotdelete\WEB-INF\_tmp
              > _
              >> >war_CleanOffer Server_CleanOffer Server_test\jsp_servlet\__test.java:104:
              >> >setShort(short) in test.Test cannot be applied to ()
              >> >probably occurred due to an error in /test.jsp line 7:
              >> ><jsp:setProperty name="test" property="*" />
              >> >
              >>
              >>C:\bea\wlserver6.1\config\cleanoffer\applications\.wlnotdelete\WEB-INF\_tmp
              > _
              >> >war_CleanOffer Server_CleanOffer Server_test\jsp_servlet\__test.java
              >> >uses or
              >> >overrides a deprecated API.
              >> >
              >>
              >>---------------------------------------------------------------------------
              > -
              >> >----
              >> >Full compiler error(s):
              >>
              >>C:\bea\wlserver6.1\config\cleanoffer\applications\.wlnotdelete\WEB-INF\_tmp
              > _
              >> >war_CleanOffer Server_CleanOffer Server_test\jsp_servlet\__test.java:104:
              >> >setShort(short) in test.Test cannot be applied to (<null>)
              >> > test.setShort(null); //[ /test.jsp; Line: 7]
              >> > ^
              >> >Note:
              >>
              >>C:\bea\wlserver6.1\config\cleanoffer\applications\.wlnotdelete\WEB-INF\_tmp
              > _
              >> >war_CleanOffer Server_CleanOffer Server_test\jsp_servlet\__test.java
              >> >uses or
              >> >overrides a deprecated API.
              >> >Note: Recompile with -deprecation for details.
              >> >1 error
              >> >
              >> >
              >>
              >>---------------------------------------------------------------------------
              > -
              >> >----
              >> >Fri Nov 09 00:24:58 PST 2001
              >> >
              >> >
              >> >
              >> >
              >> >begin 666 test.war
              >> >M4$L#!!0`" `(`,@`:2L````````````````4``0`345402U)3D8O34%.249%
              >> >M4U0N34;^R@``X^4"`%!+!PBLA:(4! ````(```!02P,$% `(``@`R !I*P``
              >> >M``````````````\```!714(M24Y&+W=E8BYX;6RE4DMOVS ,/L^ _P/GTP9,
              >> >M4NH=M@YIBC3I@ )M&G3IAIX*1V9B!;)D6'0>WY2GDT6# /FD&1WX,4V]?+
              >> >M4L,<:Z>LN4HN>"L!--+FRDRODN?1=_8UN>[$4?L]8W$$)]^/QL"P&6LEX5Y)
              >> >M- YA8,G_Q5$<C0H$:0VA(0=V`E0H!Q.E$;(:P37C&4H"LKZ 9Y3BZ.<F%?A0
              >> >M\"$T)=M2\I'#BVV@S%9@+$'C?0_JN)18$2@31]*6E5:9D0@+1<7:::O!H>O3
              >> >M5:M-LCT,7B6;9TIGXQ"4XJ@@JKX)L5@LN&L,]Y)B-]UCK:;*9!IZ-E\S!T@W
              >> >MF!G'(93OC"+EJWV<H[85UCNO'2^.=L0P_H.2M74K1UBZ3YXL.0QM37X#SAM4
              >> >M*T\J""XN+[^PM-5J!4X<G2%UM8:GT.O@"1W6<\QY'#'6";'#2_8?>Z.7X2TL
              >> >M<,RRJMH\Z_#YYOZN!PD3XGP8(?JC/OS",70KOU29A620\E2(VT&R$4FVRYKY
              >> >M%>ZW-4L114ZY$UO#U_0UY1Y(UHG:6[2SD6@[=.'5F3^=B9IV#D>WKY JT3;4
              >> >M.;['SZTWK>)\[P$_4O<1M$^*+-P/T\J%_G='Z(F9,CDN^<Q5;SU/^O]!H*!2
              >> >M_[?"7P3^!'?3M<5A[;\!4$L'"/]33>'A`0``! 0``%!+`P04``@`" #(`&DK
              >> >M````````````````" ```'1E<W0N:G-P-4X[#L(P#-US"A.I"P/>D1LAQ,14
              >> >MB5X@M!84M4E4&XG>GJ:!R<_OIT?5*?D'0Q>#<M!V25Q;Y8_B4Z?15LY0!OFP
              >> >M[QWIH".[ZZV!9HT1EI]P4PW=8[\X8^@EZ?@6/K,/,/2Y4=2"=#'7"XL,,5CH
              >> >M1B]2Q$.[.="5K+ V\VJ>=8'@)_XW0/JQM=T7=W+F$@/O=H9PQ81E`F&9_050
              >> >M2P<(E)0WZYL```#@````4$L#!!0`" `(`,@`:2L````````````````?````
              >> >M5T5"+4E.1B]C;&%S<V5S+W1E<W0O5&5S="YC;&%S<TV/OT[#,!#&OTO2IDT+
              >> >M_4.I6-D*`C(@)A +$E,$0ZKN3K!:5R&1$K=/Q<*$Q, #\%"(LQ-%]7!W_MU]
              >> >MW]F_?]\_<'&-><#IQ,?,QRFA^Z!RI1\)[N)B1?">BC=)&$4JER^[]T262Y%D
              >> >M3*91D8IL)4IE[@WT]$95A$&D9:7#)8=[0F\M=;PI2FT]8P95"[Q%;+:X>Y$1
              >> >MB'M!7.S*5#XK8]<W#C=;L1=#>.@P:'T)8\/#3.3K\#79RE3C' [_Q!P79 0<
              >> >MNWR[Y4R<.Y=?H$\N'/@<`\[ F <GZ'$UK(?0YPZX'EAB#*X:`\?]:-5=2V8'
              >> >M2J=5'N&X4=Y9CL.UM?#,"N=ULQ&::L0/,LLF=G[Z#U!+!PA>>AD-#@$``*4!
              >> >M``!02P$"% `4``@`" #(`&DKK(6B% 0````"````% `$````````````````
              >> >M````345402U)3D8O34%.249%4U0N34;^R@``4$L!`A0`% `(``@`R !I*_]3
              >> >M3>'A`0``! 0```\`````````````````2@```%=%0BU)3D8O=V5B+GAM;%!+
              >> >M`0(4`!0`" `(`,@`:2N4E#?KFP```. ````(`````````````````&@"``!T
              >> >M97-T+FIS<%!+`0(4`!0`" `(`,@`:2M>>AD-#@$``*4!```?````````````
              >> >M`````#D#``!714(M24Y&+V-L87-S97,O=&5S="]497-T+F-L87-S4$L%!@``
              >> >0```$``0`!@$``)0$````````
              >> >`
              >> >end
              >> >
              >>
              Dimitri
              

  • Why EL doesn't work with custom tags ?!

    I don't know why expression lang. doesn't work with me.
    here's an example, and please tell me why :
    --- the jsp page with EL ==> doesn't work :
    <%-- In the name of ALLAH most gacious most merciful --%>
    <%@ page language="java" %>
    <%@ taglib uri="/cartlib" prefix="cart" %>
    <html>
    <jsp:useBean id="product" class="ch16.cart.ProductCatalog" scope="application" />
    <cart:showCatalog productCatalog="${product}" addToShoppingCartUri="<%= response.encodeURL("AddToShoppingCart.jsp") %>" />
    </html>
    when using expressions instead, the page works .
    the new page is :
    <%-- In the name of ALLAH most gacious most merciful --%>
    <%@ page language="java" %>
    <%@ taglib uri="/cartlib" prefix="cart" %>
    <html>
    <jsp:useBean id="product" class="ch16.cart.ProductCatalog" scope="application" />
    <cart:showCatalog productCatalog="<%= product %>"
    addToShoppingCartUri="<%=
    response.encodeURL("AddToShoppingCart.jsp") %>" />
    </html>
    The error was :
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: jsp.error.beans.property.conversion
    org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper
    .java:512)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    org.apache.jasper.JasperException: jsp.error.beans.property.conversion
    org.apache.jasper.runtime.JspRuntimeLibrary.getValueFromPropertyEditorManager(Js
    pRuntimeLibrary.java:885)
    org.apache.jsp.ShowProductCatalog_jsp._jspService(ShowProductCatalog_jsp.java:77
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs.

    Regarding setup, see this post reply #6
    http://forum.java.sun.com/thread.jspa?threadID=629437&tstart=0
    Other potential things to check: make sure you are getting the right value passed in
    productCatalog="${applicationScope.product}"
    ${product} by preference would take a pageContext, request or session attribute before the application level one (it uses pageContext.findAttribute).
    What do you get if you just print out ${product} on the screen?
    It should call a toString() on it for rendering purposes.

  • Lexmark scanner doesn't work with mac os x

    I have a problem with my scanner lexmark p4330. For two weeks now it doesn't work with my imac. I have the imac os x 10.7.5.
    When I try to scan, my printer displays "the all in one driver did not respond" and in Image Capture it displays "lexmark language error".
    I updated my softwares, there's one for lexmark but I can't install it and I don't know why!
    Can someone help me please?

    Mmm. Not sure what's going on. Has scanning ever worked with the OS you are currently running?
    A couple of suggestions (my last two I think as I'm running out of ideas ). I realise that your problems are only with scanning, but sometimes resetting the printing system resloves printing problems. I wonder whether it will help with the scanning issue given that Print & Scan are lumped together in System Preferences. To do it go to:
    System Preferences>Print & Scan, Control+Click or Right Click on the printer on the left and select 'reset printing system'. All printers will be deleted and need to be added again using the '+' button.
    If that doesn't help my last suggestion is to download the paid for app VueScan (which you can run in demo mode for free) to see whether it works or not. VueScan is very good and driving numerous types of scanners:
    http://www.hamrick.com

  • Trying to load illustrator 6cs onto new mac and the old activation code for my ill cs doesn't work with it

    Trying to load a downloaded version of illustrator 6cs onto new mac and the old activation code for my illustrator cs doesn't work with it.  Do I need a new code or am I missing something?  Same goes for my Photoshop cs.

    you need your serial number.
    if you purchased from or registered with adobe check your account, https://www.adobe.com/account.html

  • Cinema Display (clear) with DVI/ADC box doesn't work with MacBook Pro

    Cinema Display (clear) with DVI/ADC box doesn't work with MacBook Pro when plugged in with a dvi to mini dvi cable. Any ideas what to do to make it work? I lugged the 23" 2500 miles into the wilderness and I need help

    Okay, here's an update: the DVI to ADC adapter does work with the Apple displays that I have tried, but it won't work with the Formac. I have tried multiple time to contact them, but to no avail... they don't even respond to threats of posting my opinion of them, which is this:
    DON'T BUY ANYTHING FROM FORMAC! They make quality products, but their customer service is a big time joke! They won't take care of you.

Maybe you are looking for