load dynamically created files in jsp

2010-05-14 Thread Upasana Sharma
Hi I have a scenario where i create a temporary dynamic image file from the database and try to show it on my jsp. The file url shows the image properly, but when in jsp , my browser says that Firefox doesn't know how to open this address, because the protocol (d) isn't associated with any

Re: load dynamically created files in jsp

2010-05-14 Thread Upasana Sharma
Hi i can access the folder from url http://localhost:8080/ui/images/JavaTemp2261198016333434327.jpg i am using something like img src='s:url value=${userImage}/' height=140 width=120 style=float: right;padding-right: 45px/img but this returns me images/JavaTemp2261198016333434327.jpg not

Autocompleter positioning porblem

2010-05-14 Thread Stephane Cosmeur
Hey Struts 2 users i'm facing problem with a s:autocompleter. There is the definition s:autocompleter id=employeeAutucompleter list=employees headerKey=0 headerValue=-- Please Select -- listKey=id listValue=lastName keyName=employeeSelected label=To / Firstly i tried to use they key

RE: spring, struts2, convention plugin, how to wire an action class

2010-05-14 Thread Martin Gainty
BeanNameAware Interface to be implemented by beans that want to be aware of their bean name in a bean factory. Note that it is not usually recommended that an object depend on its bean name, as this represents a potentially brittle dependence on external configuration, as well as a possibly

Online docs messed up

2010-05-14 Thread Greg Lindholm
It appears the online docs are messed up: http://struts.apache.org/2.x/docs/tag-reference.html Sorry if I'm repeating well know information. Or, is there a better URL to use? This URL looks about the same. http://struts.apache.org/2.1.8.1/docs/guides.html

sx:head cause s:submit does not do dispatch work

2010-05-14 Thread Emi Lu
Good morning, Struts2.1.8.1, when using sx:head /, s:submit action=method1ProcessActoin, method1 is never triggered? But if sx:head / is removed, method1 in ProcessAction.java is called successfully. Does someone know why? (1) struts.xml action name=*ProcessAction method={1}

Base Path for Page Resources Incorrect

2010-05-14 Thread Dane
I'm testing a Struts 2 application; resources included in the page--images, stylesheets--do not point to their absolute location, but instead adopt the path of the current page's URL and simply append their location to the end of it. I discovered that if I use the base tag in the head of the

Re: Base Path for Page Resources Incorrect

2010-05-14 Thread Dane
On 10-05-14 10:52 AM, Dane wrote: I'm testing a Struts 2 application; resources included in the page--images, stylesheets--do not point to their absolute location, but instead adopt the path of the current page's URL and simply append their location to the end of it. I discovered that if I use

Re: sx:head cause s:submit does not work

2010-05-14 Thread Emi Lu
Good morning, This struts-dojo-tags causes s:submit does work anymore. Whenever sx:head / is added, none s:submit works, could someone helps? How comes? s:form action=ProcessAction s:submit /s:form public String execute() throws Exception { ... return update; } When click

Why is ActionContext not an Interface?

2010-05-14 Thread Andy Law
I'm pretty sure that ActionContext used to be an Interface (in Struts1?). I know that it isn't in Struts2 because I've just tripped over that when trying to create mocks for a set of Unit tests for an Interceptor. Is there a reason why it changed? Later, Andy -- View this message in context:

Re: Online docs messed up

2010-05-14 Thread Lukasz Lenart
2010/5/14 Greg Lindholm greg.lindh...@gmail.com: It appears the online docs are messed up: http://struts.apache.org/2.x/docs/tag-reference.html Sorry if I'm repeating well know information. Or, is there a better URL to use? This URL looks about the same.

More action in one view

2010-05-14 Thread Fabio Perfetti
Hi all, i am a newbie of struts. Before to start i want to say sorry for my bad english. I looked for any forum/blogs in my language (italian) :( I am developing a project for a university course. the first page is a login form, if the login success i have to show the index of a nurse or a

Re: Online docs messed up

2010-05-14 Thread Greg Lindholm
Still looks messed up. I've cleared my browsers cache and forced a reload. When I navigate in from http://struts.apache.org/ I get the 2.1.8.1 version of the docs: http://struts.apache.org/2.1.8.1/docs/tag-reference.html (messed up) Sometime earlier I had book-marked the 2.x docs:

RE: More action in one view

2010-05-14 Thread Martin Gainty
Date: Fri, 14 May 2010 19:10:20 +0200 Subject: More action in one view From: perfabi...@gmail.com To: user@struts.apache.org Hi all, i am a newbie of struts. Before to start i want to say sorry for my bad english. I looked for any forum/blogs in my language (italian) :( I am developing

Re: sx:head cause s:submit does not work

2010-05-14 Thread Emi Lu
Figure it out finally! sx:datetimepicker displayFormat=-MM-dd name=date_example / (-MM-DD) date_example has to be String but cannot be type Date. Otherwise, s:submit action=methodProcessAction Will not dispatch to method()! -- Lu Ying On 05/14/2010 11:27 AM, Emi Lu wrote:

Re: Online docs messed up

2010-05-14 Thread nuwan chandrasoma
Hi All, I also noticed that, i think the wiki .css is messed up, Thanks, Nuwan On Fri, May 14, 2010 at 11:03 PM, Greg Lindholm greg.lindh...@gmail.comwrote: Still looks messed up. I've cleared my browsers cache and forced a reload. When I navigate in from http://struts.apache.org/ I get

Re: More action in one view

2010-05-14 Thread Fabio Perfetti
2010/5/14 Martin Gainty mgai...@hotmail.com Date: Fri, 14 May 2010 19:10:20 +0200 Subject: More action in one view From: perfabi...@gmail.com To: user@struts.apache.org Hi all, i am a newbie of struts. Before to start i want to say sorry for my bad english. I looked for any