tiles

How do you disable session creation for all JSPs with Tiles?

*爱你&永不变心* 提交于 2019-12-01 20:48:53
Is there any way to make all my JSPs not create sessions when using Jasper (Tomcat)? Apparently Jasper will create a session unless you specify not to: <%@ page contentType="text/html;charset=UTF-8" language="java" session="false" %> Is there way to do this for the entire webapp (session="false")? Its seems you can't change: org.apache.jasper.runtime.JspFactoryImpl.getPageContext Which will create a session unless the JSP says session=false. Haakon This is container-specific; see this question . 来源: https://stackoverflow.com/questions/5093032/how-do-you-disable-session-creation-for-all-jsps

Not able build apache mod_tile in openSuse error: Could not find apxs on the path

妖精的绣舞 提交于 2019-12-01 17:42:53
I want to run a tiles server with OSM data i want to install mod_tile so i followed the mod_tile setup But when i do the ./configure It says checking for getloadavg... yes checking for apxs... no checking for apxs2... no checking for /opt/local/apache2/bin/apxs... no configure: error: Could not find apxs on the path. any idea what went wrong? According to the Internets you need to install apache2-devel . The apx binary should then be located under /usr/bin/apxs2 or /usr/sbin/apxs2 . Note: For building a tile server you should follow the guide on switch2osm . For Ubuntu sudo apt-get install

Not able build apache mod_tile in openSuse error: Could not find apxs on the path

戏子无情 提交于 2019-12-01 17:36:45
问题 I want to run a tiles server with OSM data i want to install mod_tile so i followed the mod_tile setup But when i do the ./configure It says checking for getloadavg... yes checking for apxs... no checking for apxs2... no checking for /opt/local/apache2/bin/apxs... no configure: error: Could not find apxs on the path. any idea what went wrong? 回答1: According to the Internets you need to install apache2-devel . The apx binary should then be located under /usr/bin/apxs2 or /usr/sbin/apxs2 . Note

Ensuring all tiles are loaded in Open Layers 3 XYZ source

僤鯓⒐⒋嵵緔 提交于 2019-12-01 15:58:46
We have some layers that make use of a ol.source.XYZ source. For the loading strategy we use ol.loadingstrategy.tile(new ol.tilegrid.createXYZ({})) . We need to ensure that all tiles have been completely loaded in the map view before proceeding with other operations. We have come across multiple articles regarding this and haven't found a 100% solution yet that will give us the solution we need. The logic returns true even when it's not the case. We've tried to make use of the tileloadstart, tileloadend, tileloaderror events as shown on the example page but this doesn't seem to always return

Sitemesh or Tiles [closed]

百般思念 提交于 2019-12-01 14:42:27
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . Working on the design of a web-application and since it will be a large application so can not reply on jsp include feature so have to

No mapping found for HTTP request with URI [/myappname/] in DispatcherServlet with name 'appServlet'

六眼飞鱼酱① 提交于 2019-12-01 13:38:46
I have got error No mapping found for HTTP request with URI [/myappname/] in DispatcherServlet with name 'appServlet' when I was starting my project on JBoss. This is issue has occurred after resolving another issue described here: "No Session found for current thread" after changing access method to the session Before everything was working fine. I am using Apache Tiles 2. I am reading few similar questions but I can't find working solution. This is my DispatcherServlet Context file without Hibernate configuration: <?xml version="1.0" encoding="UTF-8"?> <beans:beans xmlns="http://www

Tiles 3.0 & Spring MVC settings [closed]

限于喜欢 提交于 2019-12-01 08:57:38
Is it possible to run Tiles 3.0 with Spring 3.0? What is the needed configuration? The current version of Spring only officially supports Tiles 2. In order to get Tiles 3 working, you'd need to implement your own View Class, Tiles Configurer (if that is needed), etc. This is something the Spring community would appreciate very much, but no easy feat I'm sure. Hope this helps. 来源: https://stackoverflow.com/questions/11739777/tiles-3-0-spring-mvc-settings

How to tile a 30000 x 6000 image for a 480 x 320 screen?

天大地大妈咪最大 提交于 2019-12-01 08:02:19
问题 (this is related to another question about implementation on iPhone) I have a large image, size around 30000 (w) x 6000 (h) pixels. You may consider it's like a big map. I assume I need to crop it up into smaller tiles. Questions: what is the tile strategy? Requirements: whole image (though cropped) can be scrolled up/down/left/right by swipes zoom in (up to pixel-to-pixel) out (down to screen-fit-by-height) by the 2-finger operation memory efficiency by lazy loading tiles Thanks! 回答1: Check

Tiles 3.0 & Spring MVC settings [closed]

旧街凉风 提交于 2019-12-01 06:16:27
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 7 years ago . Is it possible to run Tiles 3.0 with Spring 3.0? What is the needed configuration? 回答1: The current version of Spring only officially supports Tiles 2. In order to get Tiles 3 working, you'd need to implement

Windows Phone 7 Map Control with custom layer in offline mode

 ̄綄美尐妖づ 提交于 2019-12-01 04:12:05
Hi WP7 mobile passionate developers! I'm trying to use the default provided Bing Map control from Windows Phone controls. Specifically I'm trying to use a custom TileSource to provide a custom made tiled map that will be stored in the project as a folder (Content files) or in isolate storage. Down I present the custom class I try to use with map tiles/images stored in "map" folder in ZXY storage format as content files. public class CustomTileSource : Microsoft.Phone.Controls.Maps.TileSource { private string uriFormat = @"map/{0}/{1}/{2}.png"; public string UriFormat { get { return uriFormat;