RE: In Struts 1.3 how to display multiple images in jsp from database

2012-04-24 Thread Givler, Eric
Message- From: raaja.g [mailto:raaj...@gmail.com] Sent: Wednesday, March 21, 2012 2:14 AM To: user@struts.apache.org Subject: In Struts 1.3 how to display multiple images in jsp from database Hi, I am facing problem in displaying multiple images at a time in jsp. I am able to retrieve the

In Struts 1.3 how to display multiple images in jsp from database

2012-03-20 Thread raaja.g
Hi, I am facing problem in displaying multiple images at a time in jsp. I am able to retrieve the images from db and storing them in a list and forwarding that to jsp in request from Action class. But I am not able to display those images in jsp. I am not getting an idea how to render those

Re: Displaying images from database (BLOB) using the tag

2011-05-16 Thread Maurizio Cucchiara
; > > Ilya Kazakevich, > Developer > JetBrains Inc > http://www.jetbrains.com > "Develop with pleasure!" > > -Original Message- > From: Saeed Najahi [mailto:najah...@gmail.com] > Sent: Monday, May 16, 2011 7:48 PM > To: user@struts.apache.org > Subje

RE: Displaying images from database (BLOB) using the tag

2011-05-16 Thread Ilya Kazakevich
eed Najahi [mailto:najah...@gmail.com] Sent: Monday, May 16, 2011 7:48 PM To: user@struts.apache.org Subject: Displaying images from database (BLOB) using the tag hello guys, can anyone kindly tell me how can i display an image fetched from a database using the tag? thanks

Re: Displaying images from database (BLOB) using the tag

2011-05-16 Thread Chris Pratt
Stream it to the ServletOutputStream and return null from the action. (*Chris*) On May 16, 2011 8:48 AM, "Saeed Najahi" wrote: > hello guys, can anyone kindly tell me how can i display an image fetched > from a database using the tag? thanks in advance. > > -- >

Displaying images from database (BLOB) using the tag

2011-05-16 Thread Saeed Najahi
hello guys, can anyone kindly tell me how can i display an image fetched from a database using the tag? thanks in advance. -- `*The early bird catches the worm, but the second mouse gets the

Re: JfreeChart plugin and dynamic size of the images

2010-11-04 Thread Maurizio Cucchiara
t; mccorby wrote: >> >> Hi all, >> I am using jfreechart plugin to display charts in the application. >> Everything was ok until I found out that certain images were clipped. >> This happens to charts having many items in the legend so that only (part >> of) the lege

Re: JfreeChart plugin and dynamic size of the images

2010-11-04 Thread mccorby
I forgot to tell the environment I'm working with: - Struts2 2.2.1 - struts2-jfreechart-plugin-2.2.1 mccorby wrote: > > Hi all, > I am using jfreechart plugin to display charts in the application. > Everything was ok until I found out that certain images were clipped. > Th

JfreeChart plugin and dynamic size of the images

2010-11-03 Thread mccorby
Hi all, I am using jfreechart plugin to display charts in the application. Everything was ok until I found out that certain images were clipped. This happens to charts having many items in the legend so that only (part of) the legend is displayed. Though I can change the height property in the

Re: Problem with iterator and images

2010-06-21 Thread Fabio Perfetti
Thanks Brian!! I resolved!! " width="50" /> Thanks a lot!! 2010/6/19 Brian Thompson > " /> > > Brian > > On Jun 19, 2010 5:01 AM, "Fabio Perfetti" wrote: > > Hi all, before to start, i want say sorry for my bad english. > I am developing an easy social network for a university projec

Re: Problem with iterator and images

2010-06-19 Thread Brian Thompson
" /> Brian On Jun 19, 2010 5:01 AM, "Fabio Perfetti" wrote: Hi all, before to start, i want say sorry for my bad english. I am developing an easy social network for a university project Every User has an image for the profile. I want to list all friends, and i want display Name, Surname and t

Problem with iterator and images

2010-06-19 Thread Fabio Perfetti
Hi all, before to start, i want say sorry for my bad english. I am developing an easy social network for a university project Every User has an image for the profile. I want to list all friends, and i want display Name, Surname and the image. So i have an action that retrieve the list of friends:

Re: Struts2: Referring to resources (images, stylesheets, ...)

2010-06-02 Thread Greg Lindholm
her than relative ones. Your > CSS folder you shoudl put on your root and always link to it with > "/css/blah.css" and the same with images then you wont get into directory > problems. > > Chris > >> You should not call your page from a link but always go through an

Re: Struts2: Referring to resources (images, stylesheets, ...)

2010-06-02 Thread chris
It would make sense to use absolute links rather than relative ones. Your CSS folder you shoudl put on your root and always link to it with "/css/blah.css" and the same with images then you wont get into directory problems. Chris > You should not call your page from a link but alwa

Re: Struts2: Referring to resources (images, stylesheets, ...)

2010-06-02 Thread Cimballi
You should not call your page from a link but always go through an action. It is more secure and also it would solve your problem. Nevertheless, one solution is to use the tag. Cimballi On Wed, Jun 2, 2010 at 3:12 AM, Guy Thomas wrote: > Hallo, > > On a jsp page booksearchresult.jsp I have ad

Struts2: Referring to resources (images, stylesheets, ...)

2010-06-02 Thread Guy Thomas
Hallo, On a jsp page booksearchresult.jsp I have added a link to a stylesheet in the html-header: /apps/intrabib/booksearchresult.jsp ... sometimes as the result of a link (case B): http://localhost:8080/intrabib/apps/intrabib/booksearchresult.jsp?... The css folder is in the

[Struts 2.1.8] Displaying images in a report with the JasperReports plugin

2010-02-07 Thread Celinio Fernandes
then how exactly do you handle images with that plugin ? What is the format of the image supposed to be in the .jrxml file ? Thanks for helping.

Re: CSS background images, struts2

2009-08-05 Thread Zoran Avtarovski
the browser knows its a CSS file. /* <%@ page contentType="text/css;charset=UTF-8" %> */ And the your style cane be set as follows: background-image: url('${pageContext.request.contextPath}/images/image.gif'); If it sounds complex its not. The only drawback is that th

Re: CSS background images, struts2

2009-08-05 Thread Andy Law
Haroon Rafique wrote: > > If your file structure is somewhat like: > > styles/base.css > images/image.gif > > then you can simply change your background-image directive to say: > background-image: url('../images/image.gif'); > > and Musac

Re: CSS background images, struts2

2009-08-04 Thread Musachy Barroso
assuming your dir structure is like: css ...main.css images someimage.jpg you can use this in your css: url(../images/someimagejpg) and then this in your jsp: musachy On Tue, Aug 4, 2009 at 9:38 AM, Andy Law wrote: > > I'm trying to specify a CSS style to be applied to a t

Re: CSS background images, struts2

2009-08-04 Thread Andy Engle
ground-image: url(); margin-top: 0px; padding: 0; } And then called them like this: " type="text/css"> Who cares if it's ugly or whatever; I don't have broken images in my apps anymore. :) Andy - Original Message From: Andy Law To:

Re: CSS background images, struts2

2009-08-04 Thread Andy Law
Wes Wannemacher wrote: > > One thing I've done in the past is to treat CSS files as JSPs and use > s:url tags or EL expressions (${contextRoot}/images/image.gif)... > > Oh. That feels s dirty!!! There has to be a cleaner way to do it. Later, Andy -- View thi

Re: CSS background images, struts2

2009-08-04 Thread Andy Law
Haroon Rafique wrote: > > On Today at 9:38am, AL=>Andy Law wrote: > > If your file structure is somewhat like: > > styles/base.css > images/image.gif > > then you can simply change your background-image directive to say: > background-image: url('../imag

Re: CSS background images, struts2

2009-08-04 Thread Haroon Rafique
On Today at 9:38am, AL=>Andy Law wrote: AL> [..snip..] AL> AL> th.myclass { AL> background-image: url('images/image.gif'); AL> } AL> Andy, If your file structure is somewhat like: styles/base.css images/image.gif then you can simply change your ba

Re: CSS background images, struts2

2009-08-04 Thread Wes Wannemacher
One thing I've done in the past is to treat CSS files as JSPs and use s:url tags or EL expressions (${contextRoot}/images/image.gif)... Pointing your jsp servlet in tomcat to CSS files, IIRC, didn't work right (I think I found the JSP servlet was actually looking at the file and say

CSS background images, struts2

2009-08-04 Thread Andy Law
ds to look something like this Header and my CSS file needs to look something like... th.myclass { background-image: url('images/image.gif'); } The problem is how to specify the url in the CSS file so that it works when the page is rendered as part of the web application. Of

Re: Performance issue with large data(such as images)

2009-06-11 Thread fireapple
s.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > Yes, I streamed it from an action. However, I could show the above table using an action to stream images. -- View this message in context: http://www.nabble.com/Performance-issue-with-large-data%28such-as-imag

Re: Performance issue with large data(such as images)

2009-06-10 Thread Dave Newton
fireapple wrote: Any way to resolve the security issue? If the user save the portrait in the hard drive(outside of app), I couldn't find a way to display it using URL. "" doesn't work at all. Stream it from an action/servlet/etc? Dave ---

RE: Performance issue with large data(such as images)

2009-06-10 Thread fireapple
mmands, e-mail: user-h...@struts.apache.org > > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > I also use the URL that points to an action in my jsp, such as: http:

Re: Performance issue with large data(such as images)

2009-06-10 Thread fireapple
Richard Sayre wrote: > > I should have also mentioned that there are security issues with > persisting to the hard drive. > > I would recommend saving to the database and loading the images as > needed. Do not save them to session. I do not think you will have a >

RE: Performance issue with large data(such as images)

2009-06-10 Thread Security Management
I should have also mentioned that there are security issues with persisting to the hard drive. I would recommend saving to the database and loading the images as needed. Do not save them to session. I do not think you will have a performance problem. Rich I have had problems when trying to

RE: Performance issue with large data(such as images)

2009-06-10 Thread Mitchell, Steven
Sayre [mailto:richardsa...@gmail.com] Sent: Wednesday, June 10, 2009 12:41 PM To: Struts Users Mailing List Subject: Re: Performance issue with large data(such as images) >Thanks, Rich, I''m happy to help. > If I use BLOB, I have to make a lot of change to my code. Therefore, I have > to pers

Re: Performance issue with large data(such as images)

2009-06-10 Thread Richard Sayre
I should have also mentioned that there are security issues with persisting to the hard drive. I would recommend saving to the database and loading the images as needed. Do not save them to session. I do not think you will have a performance problem. Rich

Re: Performance issue with large data(such as images)

2009-06-10 Thread Richard Sayre
>Thanks, Rich, I''m happy to help. > If I use BLOB, I have to make a lot of change to my code. Therefore, I have > to persist it as String. I used base64 to encode and decode the byte[] into > String. Because I resize the images to small ones. I use a VARCHAR length >

Re: Performance issue with large data(such as images)

2009-06-09 Thread Paweł Wielgus
On Tue, Jun 9, 2009 at 4:26 PM, Dave Newton wrote: >> fireapple wrote: >>> >>> If I want to persist images to the hard drive of server. Shall I persist >>> the >>> data inside WAR or outside? Because user can change their portrait, does >>> it >&

Re: Performance issue with large data(such as images)

2009-06-09 Thread Jim Collings
Can't put em in your database as BLOB's with all the other user info? On Tue, Jun 9, 2009 at 4:26 PM, Dave Newton wrote: > fireapple wrote: >> >> If I want to persist images to the hard drive of server. Shall I persist >> the >> data inside WAR or outside? B

Re: Performance issue with large data(such as images)

2009-06-09 Thread Dave Newton
fireapple wrote: If I want to persist images to the hard drive of server. Shall I persist the data inside WAR or outside? Because user can change their portrait, does it mean it must be persisted outside WAR? You can't write stuff into your WAR.

Re: Performance issue with large data(such as images)

2009-06-09 Thread fireapple
Richard Sayre wrote: > > You should persist the images as bytes, in a binary field or something > similar. > >> 1. Because the image is large, it's not efficient to store it in >> objects(beans). > > Well this depends on the Bean. Is the bean stored in s

Re: Performance issue with large data(such as images)

2009-06-09 Thread Richard Sayre
You should persist the images as bytes, in a binary field or something similar. > 1. Because the image is large, it's not efficient to store it in > objects(beans). Well this depends on the Bean. Is the bean stored in session? If yes then it will take up some memory. If you dont h

Performance issue with large data(such as images)

2009-06-09 Thread fireapple
Firstly, I persist the portraits (images) of all users in the db as Strings (large one, say length 5000). Then, I want to get the String and display the portraits of users on the web page(like a topic in a forum). Here I know three solutions but none of them is efficient: 1. Because the image is

Re: Images && Portlets

2008-10-14 Thread Nils-Helge Garli Hegvik
n is ready, you have to do it this way. Nils-H Den 14. okt.. 2008 kl. 18.20 skrev Torsten Krah <[EMAIL PROTECTED] >: Hi. Is it possible with struts stable (2.0.11.2) - afaik there is no portletUrlType resource there - to render images or other binary content? At the moment i am usin

Images && Portlets

2008-10-14 Thread Torsten Krah
Hi. Is it possible with struts stable (2.0.11.2) - afaik there is no portletUrlType resource there - to render images or other binary content? At the moment i am using the "workaround" to configure the FilterDispatcher (which got this annoying shutdown bug ...) and using the "&q

Re: Multiple Images / InputStream

2008-08-14 Thread dynamicd
Might be a caching issue in the action pass something random as a param and see if it works like for the next image etc.. Pascal_ wrote: > > I'm using Struts 2.0.11 release. > > Within my JSP page, I'm displaying a list of elements which all have an >

Re: Multiple Images / InputStream

2008-08-14 Thread Laurie Harper
Pascal_ wrote: I'm using Struts 2.0.11 release. Within my JSP page, I'm displaying a list of elements which all have an image. Those images are displayed using an action with stream result. In Firefox, everything works fine, in IE 7.0, all images shown are the same, I didn't h

Multiple Images / InputStream

2008-08-14 Thread Pascal_
I'm using Struts 2.0.11 release. Within my JSP page, I'm displaying a list of elements which all have an image. Those images are displayed using an action with stream result. In Firefox, everything works fine, in IE 7.0, all images shown are the same, I didn't have a chance to t

Re: Images in s:select

2008-06-04 Thread Felipe Lorenz
try something with CSS... On Tue, Jun 3, 2008 at 6:48 PM, Volker Karlmeier <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hello all, > > > is it possible to design a list with an s:select-tag that conaints > images ? > I

Re: Images not showing up when saved(Struts 2 Tomcat, Eclipse)

2008-05-20 Thread Musachy Barroso
The problem is not related to struts, but eclipse. Eclipse won't "know" about the new file unless your refresh the project. What I do in these cases, to avoid refreshing the project, is save the resources on some folder, then create a soft link from inside the eclipse tomcat deployment folder, to t

Images not showing up when saved(Struts 2 Tomcat, Eclipse)

2008-05-20 Thread Mark Lester
Hello sorry in advance if this is not a struts issue but I guessing that it is. Anyways I have some code in an action method that queries a site for base64 image, takes that image decodes and save it in a file, and then sends a relative link to that image as part of the results of that action. The

Re: Images

2007-10-22 Thread Martin Uhlir
wrote: I have some images displayed on my website... the images on the first page do not get loaded when the page displays for the first time.. you can see it here... http://www.hapandharpur.com. there are images in the right top corner. One is a logo and one is a symbol.. Both of those images do

[ot] RE: Images

2007-10-19 Thread Manu Mahajan
Try removing the / before the image path Change this to -Original Message- From: Prashant Desai [mailto:[EMAIL PROTECTED] Sent: Friday, October 19, 2007 5:05 AM To: user@struts.apache.org Subject: Images I have some images displayed on my website... the images on the first page do

Images

2007-10-18 Thread Prashant Desai
I have some images displayed on my website... the images on the first page do not get loaded when the page displays for the first time.. you can see it here... http://www.hapandharpur.com. there are images in the right top corner. One is a logo and one is a symbol.. Both of those images do not

Images

2007-10-18 Thread Prashant Desai
I have some images displayed on my website... the images on the first page do not get loaded when the page displays for the first time.. you can see it here... http://www.hapandharpur.com. there are images in the right top corner. One is a logo and one is a symbol.. Both of those images do not

problem displaying images

2007-10-12 Thread Niniva Ray
Hello! I have 3 images to display and to do that in my jsp page I have the following code I am using struts 1.2.9. I have GetBarChartAction class and GetPieChartAction class implemented and properly configured. In the execute methods, I am using

Re: images not being displayed with struts 2

2007-09-23 Thread Session A Mwamufiya
Fixed it, the page in which the image was supposed to be in was called by another page that prefaced the action call with a location. Once I removed it, it worked. Thanks. > Session A Mwamufiya wrote: >> I ran a simple jsp page with the tag to add an image, and it ran >> fine. However, if I

Re: images not being displayed with struts 2

2007-09-23 Thread Oleg Mikheev
Session A Mwamufiya wrote: I ran a simple jsp page with the tag to add an image, and it ran fine. However, if I do the same in my struts 2 project, I don't get anything showingup. My image file is within the same folder as the jsp file and is referenced the same way in both cases. Any ideas

images not being displayed with struts 2

2007-09-23 Thread Session A Mwamufiya
Hi, I ran a simple jsp page with the tag to add an image, and it ran fine. However, if I do the same in my struts 2 project, I don't get anything showingup. My image file is within the same folder as the jsp file and is referenced the same way in both cases. Any ideas what needs to be done

RE: images tabbedpanel

2007-08-30 Thread Jason Wyatt
Hi Manuel, You'll need to extract the images directory into the same path where your custom templateCssPath is, then change the images. For example, I had a tabbed panel like such: The TabContainer.css is in the includes directory: web/includes/TabContainer.css The tabbed panel b

images tabbedpanel

2007-08-30 Thread Manuel Correa
Hey, Some have the sources .png or any source of the images of the tabbepanel tab's. I have my applications but the people that I'm working for, want another color in that tabs... someone made this change before???... is not something Struts 2 issue, but the problem is people

Re: Struts2 and images from database

2007-07-18 Thread bartlebooth
onse response = ServletActionContext.getResponse(); response.setContentType("image/jpg"); out = response.getOutputStream(); write image here return null; On 7/18/07, Roberto Nunnari <[EMAIL PROTECTED]> wrote: hehe.. ok.. let's add some context.. Till now I was using a servlet to serve

Re: Struts2 and images from database

2007-07-18 Thread Roberto Nunnari
/jpg"); out = response.getOutputStream(); write image here return null; On 7/18/07, Roberto Nunnari <[EMAIL PROTECTED]> wrote: hehe.. ok.. let's add some context.. Till now I was using a servlet to serve to the web images stored in a database. To access the database I had th

Re: Struts2 and images from database

2007-07-18 Thread Roberto Nunnari
et's add some context.. Till now I was using a servlet to serve to the web images stored in a database. To access the database I had the myDAO object in the applicationContext and so it was accessible by the servlet and actions. Now I have added Spring to the game, and the myDAO object is n

Re: Struts2 and images from database

2007-07-18 Thread bartlebooth
tContentType("image/jpg"); out = response.getOutputStream(); write image here return null; On 7/18/07, Roberto Nunnari <[EMAIL PROTECTED]> wrote: hehe.. ok.. let's add some context.. Till now I was using a servlet to serve to the web images stored in a database. To acces

Re: Struts2 and images from database

2007-07-18 Thread Roberto Nunnari
ponse = ServletActionContext.getResponse(); response.setContentType("image/jpg"); out = response.getOutputStream(); write image here return null; On 7/18/07, Roberto Nunnari <[EMAIL PROTECTED]> wrote: hehe.. ok.. let's add some context.. Till now I was using a servlet to serve to

Re: Struts2 and images from database

2007-07-18 Thread Josh Vickery
AIL PROTECTED]> wrote: hehe.. ok.. let's add some context.. Till now I was using a servlet to serve to the web images stored in a database. To access the database I had the myDAO object in the applicationContext and so it was accessible by the servlet and actions. Now I have added Spring to th

Re: Struts2 and images from database

2007-07-18 Thread Roberto Nunnari
hehe.. ok.. let's add some context.. Till now I was using a servlet to serve to the web images stored in a database. To access the database I had the myDAO object in the applicationContext and so it was accessible by the servlet and actions. Now I have added Spring to the game, and the

Struts2 and images from database

2007-07-18 Thread Roberto Nunnari
Hello. What is the best way to serve images stored in database in Struts2? action, resultType, or servlet? Thank you. -- Robi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: S2 and JFreeChart (showing images)

2007-07-06 Thread Andreja
First, thank you for the answer! Are you accessing the session in the S2 way by implementing sessionaware and having a setSession method? No, I didn't do that, because I don't understand how to implement setSession method. public void setSession(Map arg0) { ??? } How does Map r

Re: S2 and JFreeChart (showing images)

2007-07-06 Thread Peng Tuck Kwok
- Original Message - From: "Peng Tuck Kwok" To: "Struts Users Mailing List" Subject: Re: S2 and JFreeChart (showing images) Date: Fri, 6 Jul 2007 17:30:23 +0800 hmm page not updated in a while. Maybe not worth if that's the case. On 7/6/07, Peng Tu

Re: S2 and JFreeChart (showing images)

2007-07-06 Thread Ray Clough
er if this project is still alive in any meaningful way. (I notice that its creator is a Struts contributor). - Ray Clough - Original Message - From: "Peng Tuck Kwok" To: "Struts Users Mailing List" Subject: Re: S2 and JFreeChart (showing images) Date:

Re: S2 and JFreeChart (showing images)

2007-07-06 Thread Peng Tuck Kwok
hmm page not updated in a while. Maybe not worth if that's the case. On 7/6/07, Peng Tuck Kwok <[EMAIL PROTECTED]> wrote: You could possibly use Cewolf, which provides a set of tag libraries that you can you to display a chart in your jsp page. Link is here

Re: S2 and JFreeChart (showing images)

2007-07-06 Thread Peng Tuck Kwok
You could possibly use Cewolf, which provides a set of tag libraries that you can you to display a chart in your jsp page. Link is here. I've played with it a while back and it did seem easy to get a simple chart up. Worth a look if you ask me. On 7/5

Re: S2 and JFreeChart (showing images)

2007-07-05 Thread Zoran Avtarovski
Are you accessing the session in the S2 way by implementing sessionaware and having a setSession method? I don't have any JFreeChart experience but apart from the session access code I can't see why it wouldn't work. Z. > I have an action where I create graph(s), and I need to display them > i

S2 and JFreeChart (showing images)

2007-07-05 Thread Andreja
I have an action where I create graph(s), and I need to display them in the page. It is ArrayList that I need to show, but for the start I will try to display only one graph. Action code goes like this: public class ChartDisplayAction () { ... execute() { HttpSession session = servletRequ

Re: templateCssPath does not work for images in a TabbedPanel

2007-04-03 Thread Musachy Barroso
yeah that's what I found also, thanks for the explanation Dave musachy On 4/3/07, Dave Newton <[EMAIL PROTECTED]> wrote: --- Musachy Barroso <[EMAIL PROTECTED]> wrote: > I'm not sure that is right, templateCssPath is used > all over the place, and I can't find anything > documenting it as depr

Re: templateCssPath does not work for images in a TabbedPanel

2007-04-03 Thread Dave Newton
--- Musachy Barroso <[EMAIL PROTECTED]> wrote: > I'm not sure that is right, templateCssPath is used > all over the place, and I can't find anything > documenting it as deprecated. I'm (a) not sure they *could* easily deprecate it at this point, (b) that's the only deprecation reference for it I

Re: templateCssPath does not work for images in a TabbedPanel

2007-04-03 Thread Musachy Barroso
]> wrote: Yes, I tried this. But seems like struts gives preference to css inside the jar. But even if I remove the css inside the jar, it does not work and I got no images. Is there some way to take out the images files like the template dir, so we can just copy it to our web app root and

Re: templateCssPath does not work for images in a TabbedPanel

2007-04-03 Thread Musachy Barroso
hat >> templateCssPath >> is deprecated. >> Is that right? If yes, could it be the problem? >> >> >> Felipe Rodrigues wrote: >> > >> > I've trying to use my own css file and My own images in a TabbedPanel, >> > but it is quite ha

Re: templateCssPath does not work for images in a TabbedPanel

2007-04-03 Thread Felipe Rodrigues
Yes, I tried this. But seems like struts gives preference to css inside the jar. But even if I remove the css inside the jar, it does not work and I got no images. Is there some way to take out the images files like the template dir, so we can just copy it to our web app root and chenge the

Re: templateCssPath does not work for images in a TabbedPanel

2007-04-03 Thread Felipe Rodrigues
gt; wrote: >> >> >> Reading the dojo documentation, I found a note telling that >> templateCssPath >> is deprecated. >> Is that right? If yes, could it be the problem? >> >> >> Felipe Rodrigues wrote: >> > >> > I've tr

Re: templateCssPath does not work for images in a TabbedPanel

2007-04-03 Thread Musachy Barroso
How are you specifying the image path on the css file? This is from TabContainer.css: .dojoTab div { display : block; padding : 4px 15px 4px 6px; background : url(images/tab_top_right.gif) no-repeat right top; color : #333; font-size : 90%; } here "images/tab_top_right.gi

Re: templateCssPath does not work for images in a TabbedPanel

2007-04-03 Thread Musachy Barroso
t; > I've trying to use my own css file and My own images in a TabbedPanel, > but it is quite hard and so confuse. > The first thing I did was use the templateCssPath pointing to my own css > file. > It just works for color and fonts, but didn't changed the images. > So,

Re: templateCssPath does not work for images in a TabbedPanel

2007-04-03 Thread Felipe Rodrigues
Reading the dojo documentation, I found a note telling that templateCssPath is deprecated. Is that right? If yes, could it be the problem? Felipe Rodrigues wrote: > > I've trying to use my own css file and My own images in a TabbedPanel, > but it is quite hard and so confuse. >

templateCssPath does not work for images in a TabbedPanel

2007-04-03 Thread Felipe Rodrigues
I've trying to use my own css file and My own images in a TabbedPanel, but it is quite hard and so confuse. The first thing I did was use the templateCssPath pointing to my own css file. It just works for color and fonts, but didn't changed the images. So, I put the images inside th

Re: [OT] Deploy Images externally from application

2006-11-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Affan, [EMAIL PROTECTED] wrote: > I have an application which contains a bunch of images for products whose > filenames come from the database. Right now the images are stored inside > the WAR file when deploying the application Ugh. &

Re: Deploy Images externally from application

2006-11-09 Thread AQureshi
Maybe a taglib would be a better solution? Anyone else had to do this? [EMAIL PROTECTED] wrote on 11/09/2006 10:31:49 AM: > Hello, > > I have an application which contains a bunch of images for products whose > filenames come from the database. Right now the images are stored in

[OT] Deploy Images externally from application

2006-11-09 Thread AQureshi
Hello, I have an application which contains a bunch of images for products whose filenames come from the database. Right now the images are stored inside the WAR file when deploying the application, which is fine but the problem is that when they become part of the CVS code repository it

Re: taglib for locale-dependent logic to images?

2006-08-01 Thread Niall Pemberton
On 8/1/06, Emmanouil Batsis <[EMAIL PROTECTED]> wrote: Suppose i have an images folder in my webapp with subfolders corresponding to locales: + WEB-INF + jsps + images + default + myImage.png + fr + myImage.png + el + myImage.png i'd like to do something

Re: taglib for locale-dependent logic to images?

2006-08-01 Thread Emmanouil Batsis
I decided to do my own thinking and i believe the best way to go would be to make a simple action to solve this (and use normal img tags as well). The action will * intercept all URLs starting with /images * check the availability of the file stream prefixing the requested URL with the

taglib for locale-dependent logic to images?

2006-08-01 Thread Emmanouil Batsis
Suppose i have an images folder in my webapp with subfolders corresponding to locales: + WEB-INF + jsps + images + default + myImage.png + fr + myImage.png + el + myImage.png i'd like to do something like to render the image whose parent folder matches the u

Re: Displaying images from database.

2006-07-25 Thread Niall Pemberton
Struts has a download action which can help with this: http://wiki.apache.org/struts/StrutsFileDownload Niall On 7/25/06, Martin Gainty <[EMAIL PROTECTED]> wrote: 2 possibly ways http://www.velocityreviews.com/forums/t135655-help-sessions-images-amp-beans-no-cookies-please.html Anyon

Re: Displaying images from database.

2006-07-25 Thread C. Grobmeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is it good practice to store images in a database for webapplications? I allways thougth space is better. Thanks for your answer and the link Martin Gainty wrote: > 2 possibly ways > > OR > > > take a look at > http://ww

Re: Displaying images from database.

2006-07-25 Thread Martin Gainty
2 possibly ways http://www.velocityreviews.com/forums/t135655-help-sessions-images-amp-beans-no-cookies-please.html Anyone else? M- * This email message and any files transmitted with it contain confidential information intended

Re: Displaying images from database.

2006-07-25 Thread C. Grobmeier
? The example below seems good for an Ajax request but i am not sure if i should store my images as a blob. chris Thomas Joseph wrote: > Hi Prerna, > > Use the Action Class for the image display solely for image display. When the > browser executes the tag, it > is basically g

Re: Displaying images from database.

2006-07-25 Thread Thomas Joseph
PROTECTED] To: user@struts.apache.org Sent: Tuesday, July 25, 2006 6:37 PM Subject: RE: Displaying images from database. Hi David Thanks for a prompt response. But I also want to display other things on the jsp page besides the image. For e.g. My jsp page would have

Re: Displaying images from database.

2006-07-25 Thread vijay venkataraman
Say if all request for images will refer to the same action like image.do, then So map this to a particular action. Set the content type and write the image content to the ServletOutputStream return null for ActionForward. The snippet below should give you an idea. Consider if

RE: Displaying images from database.

2006-07-25 Thread prerna.sawhney
and save the changes made How can I achieve this? Thanks & Regards Prerna -Original Message- From: David Soler [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 25, 2006 6:43 PM To: Struts Users Mailing List Subject: RE: Displaying images from database. Try the following: /*** JSP

Displaying images from database.

2006-07-25 Thread prerna.sawhney
Hi All, My application saves the images in database as BLOB. I now want to display these images stored in my database. How can I do this in struts 2.0/1.2.8 ? Thanks & Regards Prerna -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 25, 2006

RE: Displaying images from database.

2006-07-25 Thread David Soler
o:[EMAIL PROTECTED] Enviado el: martes, 25 de julio de 2006 14:34 Para: user@struts.apache.org Asunto: Displaying images from database. Hi All, My application saves the images in database as BLOB. I now want to display these images stored in my database. How can I do this in struts 2.0 ? Thanks &

Displaying images from database.

2006-07-25 Thread prerna.sawhney
Hi All, My application saves the images in database as BLOB. I now want to display these images stored in my database. How can I do this in struts 2.0 ? Thanks & Regards Prerna The information contained in this electronic message and any attachments to this message are intended

Re: [FRIDAY] Rarely available images - Berners Lee, Gates, Jobs, et al

2006-03-31 Thread netsql
We should on wiki have "mug shots" of the Struts devs!!! You think? I have meat in person most of them, but ... other might want to see. So if someone want to start a gallery on wiki (or a photo site) if the like. .V ps: not a dev, but here is one mug shot of me http://struts.1up.com Ted Husted

  1   2   3   >