|
Charles (thanks for the kudos, by the way <g>), the bizarre behavior with links is widespread throughout WDSC. I don't usually worry about it because they're warning messages and I can typically ignore them, but there are times when they get to be a pain. As near as I can figure, WDSC does not always correctly figure out the base location for relative links. In the last situation I saw, this seemed to have something to do with the fact that when a servlet is used to include a JSP, the base of the relative location changes from (for example) /MyApp to /MyApp/servlet. The magic "servlet" folder becomes part of the base path, which means in order to get relative links to work, you have to use "..". And of course if you use ".." in the editor, it has no idea what you're talking about and gets confused. If this problem is as widespread as I think it is, then you should be able to create a dummy workspace (or at least a new web project) and break it with just a couple of pages. If you can do that, and let us know how you did it, then we can try to recreate it. At that point, I'm sure IBM will want to know what's up. Also, you might want to do this ASAP, since I don't know when WDSC 6.0 is coming out, but I suspect lots of resources are currently pushing that project. Joe > From: Charles Holley > > We're using the "Pluta Method" > > BUT, back to the topic... > > I am not terribly impressed with WDSc's development environment for > Java, JavaScript, JSP & HTML. For instance - I spent considerable time > yesterday with a simple link - well, not so simple as it turns out. > > Simply typing "<A HREF="anypage.html">Click Here</A>" sometimes produces > a "broken link" error. HOWEVER using the "Insert" "Link" options from > the toolbar does not produce the error even though the text is EXACTLY > the same, i.e., "<A HREF="anypage.html">Click Here</A>" > > This seems to occur primarily with internal links - those going to the > same "box."
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.