Re: same bean multiple fields

2010-06-08 Thread Upasana Sharma
hi thanks for ur reply

I do have working examples of both 1 and 2... using single bean and form
where elements occur for once ..



On Wed, Jun 9, 2010 at 1:10 AM, Ken  wrote:

> 1) Do you have a working example where a single value is put on a form
> and then displayed with a JSP?
> 2)Do know how to display data on a JSP with Struts 2 from a bean?
>
> If you have 1) you are far closer than you think, if not but you
> understand the magic behind number 2) then you'll see that Struts 2 is
> able to perform similar magic from the Form to the Bean as it can from
> the Bean to the JSP.
>
> Let us know where you are at exactly.
>
>
> On Tue, 2010-06-08 at 13:35 +0530, Upasana Sharma wrote:
>
> > Thanks for ur reply... by i m using struts 2.0...
> >
> > 2010/6/8 Paweł Wielgus 
> >
> > > Hi Upasana,
> > > if You are using struts1 You may look here:
> > > http://struts.apache.org/1.x/struts-taglib/indexedprops.html
> > >
> > > Best greetings,
> > > Paweł Wielgus.
> > >
> > >
> > > 2010/6/8 Upasana Sharma :
> > > > I have a form which needs to submit multiple values(user name , last
> used
> > > > etc) of the same type for different users on a single click. But my
> form
> > > > bean refers to one user's field only . i need to submit all the
> fields
> > > using
> > > > a single form button click. how should i use beans n jsp in this
> case.
> > > >
> > > > --
> > > > Thanks in advance
> > > > Upasana Sharma
> > > >
> > >
> > > -
> > > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> > > For additional commands, e-mail: user-h...@struts.apache.org
>
>
>


-- 
Thanks and Regards
Upasana Sharma


Re: same bean multiple fields

2010-06-08 Thread Upasana Sharma
Thanks for ur reply... by i m using struts 2.0...

2010/6/8 Paweł Wielgus 

> Hi Upasana,
> if You are using struts1 You may look here:
> http://struts.apache.org/1.x/struts-taglib/indexedprops.html
>
> Best greetings,
> Paweł Wielgus.
>
>
> 2010/6/8 Upasana Sharma :
> > I have a form which needs to submit multiple values(user name , last used
> > etc) of the same type for different users on a single click. But my form
> > bean refers to one user's field only . i need to submit all the fields
> using
> > a single form button click. how should i use beans n jsp in this case.
> >
> > --
> > Thanks in advance
> > Upasana Sharma
> >
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


-- 
Thanks and Regards
Upasana Sharma


same bean multiple fields

2010-06-08 Thread Upasana Sharma
I have a form which needs to submit multiple values(user name , last used
etc) of the same type for different users on a single click. But my form
bean refers to one user's field only . i need to submit all the fields using
a single form button click. how should i use beans n jsp in this case.

-- 
Thanks in advance
Upasana Sharma


Re: If theme info could be added to http://struts.apache.org/2.1.8.1/docs/datetimepicker.html

2010-06-02 Thread Upasana Sharma
thanks for the info that was very useful...


-- 
Thanks and Regards
Upasana Sharma


On Wed, May 12, 2010 at 9:35 PM, Emi Lu  wrote:

> Hello,
>
> Can someone have the permission update this document
> http://struts.apache.org/2.1.8.1/docs/datetimepicker.html
>
> By adding:
>
>
> Also need to be set up theme
> 
> 
>
> Otherwise, the datatimepicker will not work; it will be more clear.
>
> Thanks,
> --
> Lu Ying
>
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


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




but this returns me
images/JavaTemp2261198016333434327.jpg

not the relative url using context
can u just help me out how should i deal with the s:url tag

thanks in advance



On Fri, May 14, 2010 at 11:33 AM, Upasana Sharma wrote:

> 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 program"
>
> the url i get is like
>
> D:\myWorkspace\ui\WebContent\images\JavaTemp2261198016333434327.jpg, that
> is my struts project folder.
>
> How can i make the image accessible to my jsp.
>
> --
> Thanks and Regards
> Upasana Sharma


load dynamically created files in jsp

2010-05-13 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 program"

the url i get is like

D:\myWorkspace\ui\WebContent\images\JavaTemp2261198016333434327.jpg, that is
my struts project folder.

How can i make the image accessible to my jsp.

-- 
Thanks and Regards
Upasana Sharma


Re: s:checkboxlist help

2010-05-05 Thread Upasana Sharma
thanks for the response
the issue is solved as





On Wed, May 5, 2010 at 2:41 PM, Sébastien Domergue <
sebastien.domer...@c-s.fr> wrote:

> Hi,
>
> the label attribute is only used to render the label of the group of
> checkboxes. It is not used in an iterative way. In order to access to your
> .properties file, you have to build your list in your action then give it in
> list attribute.
>
> Regards
>
> Sébastien
>
> Le 05/05/2010 10:56, Upasana Sharma a écrit :
>
>  > label="%{getText('com.upasana.type.'+toString())}">
>>
>> But the key value is not passed to getText()
>>
>> The idea is to just initialize the keys in the checkboxlist and fetch the
>> corresponding display text from .properties file
>>
>> Thanks in advance
>>
>>
>>
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


-- 
Thanks and Regards
Upasana Sharma


s:checkboxlist help

2010-05-05 Thread Upasana Sharma


But the key value is not passed to getText()

The idea is to just initialize the keys in the checkboxlist and fetch the
corresponding display text from .properties file

Thanks in advance


Re: s:select help

2010-05-05 Thread Upasana Sharma
i am too trying to do the same thing using checkbox



but the key value is not passed to getText()

if you come up with some way to achieve this please let us know

thanks in advance


On Tue, May 4, 2010 at 6:33 PM, RogerV  wrote:

>
>
>
> Upasana Sharma wrote:
> >
> > listValue="%{getText('myCategory.'+toString())}"
> >
> > this way i can change the select display value from .properties file
> >
> > in .properties i have to use
> >
> > myCategory.ELECTRIC= Electric
> >
>
> Neat. I'm trying to do the same thing with the  tag.
>
> http://old.nabble.com/s%3Aselect-help-tp28443569p28447107.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


-- 
Thanks and Regards
Upasana Sharma


Re: s:select help

2010-05-04 Thread Upasana Sharma
listValue="%{getText('myCategory.'+toString())}"

this way i can change the select display value from .properties file

in .properties i have to use

myCategory.ELECTRIC= Electric


On Tue, May 4, 2010 at 12:24 PM, Upasana Sharma  wrote:

> I have also seen that there is some function called ordinal() in enum. can
> anyone suggest how can i use it in s:select tag
>
>
>
> On Tue, May 4, 2010 at 12:01 PM, Upasana Sharma wrote:
>
>> Hi I am using s:select and populating it with enum .
>> 
>>
>> the enum is like
>>
>> public enum EComplaintType {
>>  CLUB_HOUSE(0), ELECTRIC(1);
>> }
>>
>> In the jsp the select is formed as
>>
>> 
>>
>>
>> CLUB_HOUSE
>> ELECTRIC
>> 
>>
>> Here both the key and value for the select are the same as the Name i have 
>> given in enum EComplaintType
>>
>> 1. I want to know that how can i set the value for select as the numeric 
>> equivalent of the enum
>> 2. Also if I want the select option display name to be fetched from some 
>> .properties file based on the key value how should i apporach the scenario?
>>
>> Thanks in advance...
>>
>> Upasana Sharma
>>
>
>
>
> --
> Thanks and Regards
> Upasana Sharma
>



-- 
Thanks and Regards
Upasana Sharma


Re: s:select help

2010-05-03 Thread Upasana Sharma
I have also seen that there is some function called ordinal() in enum. can
anyone suggest how can i use it in s:select tag


On Tue, May 4, 2010 at 12:01 PM, Upasana Sharma  wrote:

> Hi I am using s:select and populating it with enum .
> 
>
> the enum is like
>
> public enum EComplaintType {
>  CLUB_HOUSE(0), ELECTRIC(1);
> }
>
> In the jsp the select is formed as
>
> 
>
> CLUB_HOUSE
> ELECTRIC
> 
>
> Here both the key and value for the select are the same as the Name i have 
> given in enum EComplaintType
>
> 1. I want to know that how can i set the value for select as the numeric 
> equivalent of the enum
> 2. Also if I want the select option display name to be fetched from some 
> .properties file based on the key value how should i apporach the scenario?
>
> Thanks in advance...
>
> Upasana Sharma
>



-- 
Thanks and Regards
Upasana Sharma


s:select help

2010-05-03 Thread Upasana Sharma
Hi I am using s:select and populating it with enum .


the enum is like

public enum EComplaintType {
 CLUB_HOUSE(0), ELECTRIC(1);
}

In the jsp the select is formed as


CLUB_HOUSE
ELECTRIC


Here both the key and value for the select are the same as the Name i
have given in enum EComplaintType

1. I want to know that how can i set the value for select as the
numeric equivalent of the enum
2. Also if I want the select option display name to be fetched from
some .properties file based on the key value how should i apporach the
scenario?

Thanks in advance...

Upasana Sharma


Re: struts if tag related help

2010-04-28 Thread Upasana Sharma
thanks a lot it worked out...

On Wed, Apr 28, 2010 at 7:46 PM, Wes Wannemacher  wrote:

> 
>
> (assuming that #session.UserList evaluates to some form of java.util.Set)
>
> -Wes
>
> On Wed, Apr 28, 2010 at 9:54 AM, Upasana Sharma 
> wrote:
> > Hi
> >
> > is something like this possible in struts2
> >
> > 
> >
> > I am aware of  tag but is it possibel to achive the same
> > result using  tag..
> >
> >
> > --
> > Thanks and Regards
> > Upasana Sharma
> >
>
>
>
> --
> Wes Wannemacher
>
> Head Engineer, WanTii, Inc.
> Need Training? Struts, Spring, Maven, Tomcat...
> Ask me for a quote!
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


struts if tag related help

2010-04-28 Thread Upasana Sharma
Hi

is something like this possible in struts2



I am aware of  tag but is it possibel to achive the same
result using  tag..


-- 
Thanks and Regards
Upasana Sharma


Re: struts session help

2010-04-27 Thread Upasana Sharma
hi can u give me some example how to do that??




On Tue, Apr 27, 2010 at 2:09 PM, jaya krishna  wrote:

> HI upasana,
>
> y dont u store them in the application context variable??
>
> Regards,
> Jay
>
> On Tue, Apr 27, 2010 at 2:06 PM, Upasana Sharma 
> wrote:
>
> > Hi
> >
> > I have a jsp that displays some data . To refine the data based on some
> > criteria i have two comboboxes.
> >
> >  > onchange="getDisplayCriteria();" emptyOption="true">
> >
> >   > onchange="getDisplayCriteria();" emptyOption="true">
> >
> >
> > the lists for these two select option are obtained from the action that
> > calls the page containing them..
> >
> > public String getAllLists() throws Exception{
> >
> >  ActionContext.getContext().put("categoryList", EComplaintType.values());
> > ActionContext.getContext().put("statusList", EComplaintStatus.values());
> > return SUCCESS;
> > }
> >
> > but the problem is that whatever we put in this action context , those
> > values are for that action only if we call any other action that
> > renders
> > the same jsp these values are not accessible.
> >
> > there is some issue with session management what i feel... can u suggest
> > how
> > should i approach this problem.. to make the values stay in the
> session
> > after the first call.
> >
> > --
> > Thanks and Regards
> > Upasana Sharma
> >
>


struts session help

2010-04-27 Thread Upasana Sharma
Hi

I have a jsp that displays some data . To refine the data based on some
criteria i have two comboboxes.



 


the lists for these two select option are obtained from the action that
calls the page containing them..

public String getAllLists() throws Exception{

 ActionContext.getContext().put("categoryList", EComplaintType.values());
ActionContext.getContext().put("statusList", EComplaintStatus.values());
return SUCCESS;
}

but the problem is that whatever we put in this action context , those
values are for that action only if we call any other action that renders
the same jsp these values are not accessible.

there is some issue with session management what i feel... can u suggest how
should i approach this problem.. to make the values stay in the session
after the first call.

-- 
Thanks and Regards
Upasana Sharma


Re: Action result to go nowhere

2010-04-22 Thread Upasana Sharma
thanks a lot for your responses. I used ajax calls to make the HTTPRequest
and the issue is solved.


On Thu, Apr 22, 2010 at 5:43 PM, Martin Gainty  wrote:

>  if you want speculative guesses from the people who have responded then
> continue on without providing any substantive detail..
> BTW they are getting paid to waste your time...you and i are NOT getting
> paid to waste your time or other peoples time
>
> if you want a REAL answer post to the list the xml declarators
> (web.xml,struts.xml and applicationContext.xml) the action declarations are
> generally located in struts.xml
>
> viel gluck,
> Martin Gainty
> __
> Verzicht und Vertraulichkeitanmerkung
>
> Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
> Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte
> Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht
> dient lediglich dem Austausch von Informationen und entfaltet keine
> rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
> E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
>
>
>
> > Date: Thu, 22 Apr 2010 15:41:02 +0530
>
> > Subject: Re: Action result to go nowhere
> > From: sharma...@gmail.com
> > To: user@struts.apache.org
>
> >
> > Hi
> >
> > I have a link which when clicked invokes some action and opens up a pop
> up.
> > The result to be displayed in the pop up needs to be returned as object
> in
> > the action method called onclick. that is why i do not my calling page to
> > navigate to some other jsp.
> >
> > If u cud help me out how to handle such scenario that will be great help
> >
> > --
> > Thanks and Regards
> > Upasana Sharma
> >
> >
> >
> > On Thu, Apr 22, 2010 at 3:35 PM, Miles, Chris <
> > chris.mi...@spsa.pnn.police.uk> wrote:
> >
> > >
> > >
> > >
> > >
> > >
> > > Explain what exactly you are trying to achieve and why and it would
> help
> > > someone give you a solution.
> > >
> > > Chris
> > >
> > > -Original Message-----
> > > From: Upasana Sharma [mailto:sharma...@gmail.com]
> > > Sent: 22 April 2010 10:52
> > > To: Struts Users Mailing List
> > > Subject: Re: Action result to go nowhere
> > >
> > > In that case how can I invoke the action without changing the url.
> > > please help me out.
> > > --
> > > Thanks and Regards
> > > Upasana Sharma
> > > On Thu, Apr 22, 2010 at 3:18 PM, Miles, Chris <
> > > chris.mi...@spsa.pnn.police.uk> wrote:
> > >
> > > >
> > > >
> > > >
> > > >
> > > > That is what I would expect to happen. You are clicking a link which
> > > > changes the URL to the URL of the Action. This is the normal process
> > > > of the web itself.
> > > >
> > > > Chris
> > > >
> > > >
> > > > -Original Message-
> > > > From: Upasana Sharma [mailto:sharma...@gmail.com]
> > > > Sent: 22 April 2010 10:37
> > > > To: Struts Users Mailing List
> > > > Subject: Re: Action result to go nowhere
> > > >
> > > > hi thanks for your response.I tried that But my browser goes to some
> > > > blank page with that respective action name as the url.
> > > > It does not stick to the calling page
> > > >
> > > > --
> > > > Thanks and Regards
> > > > Upasana Sharma
> > > >
> > > >
> > > > On Thu, Apr 22, 2010 at 2:53 PM, Miles, Chris <
> > > > chris.mi...@spsa.pnn.police.uk> wrote:
> > > >
> > > > > NOT PROTECTIVELY MARKED
> > > > >
> > > > >
> > > > >
> > > > > Hi
> > > > >
> > > > > Do not put any result in the XML and in the Action just return
> > > > > Action.NONE
> > > > >
> > > > > Chris
> > > > >
> > > > > -Original Message-
> > > > > From: Upasana Sharma [mailto:sharma...@gmail.com]
> > > > > Sent: 22 April 2010 10:10
> > > > > To: Struts Users Mailing List
> > > > > Subject: Action result to go nowhere
> > > > >
> > > > > Hi
> > > > >
> > > > > I have a link which when clicked invokes some action. I do not want
> > &g

Re: Action result to go nowhere

2010-04-22 Thread Upasana Sharma
Hi

I have a link which when clicked invokes some action and opens up a pop up.
The result to be displayed in the pop up needs to be returned as object in
the action method called onclick. that is why i do not my calling  page to
navigate to some other jsp.

If u cud help me out how to handle such scenario that will be great help

-- 
Thanks and Regards
Upasana Sharma



On Thu, Apr 22, 2010 at 3:35 PM, Miles, Chris <
chris.mi...@spsa.pnn.police.uk> wrote:

>
>
>
>
>
> Explain what exactly you are trying to achieve and why and it would help
> someone give you a solution.
>
> Chris
>
> -----Original Message-
> From: Upasana Sharma [mailto:sharma...@gmail.com]
> Sent: 22 April 2010 10:52
> To: Struts Users Mailing List
> Subject: Re: Action result to go nowhere
>
> In that case how can I invoke the action without changing the url.
> please help me out.
> --
> Thanks and Regards
> Upasana Sharma
> On Thu, Apr 22, 2010 at 3:18 PM, Miles, Chris <
> chris.mi...@spsa.pnn.police.uk> wrote:
>
> >
> >
> >
> >
> > That is what I would expect to happen. You are clicking a link which
> > changes the URL to the URL of the Action. This is the normal process
> > of the web itself.
> >
> > Chris
> >
> >
> > -Original Message-
> > From: Upasana Sharma [mailto:sharma...@gmail.com]
> > Sent: 22 April 2010 10:37
> > To: Struts Users Mailing List
> > Subject: Re: Action result to go nowhere
> >
> > hi thanks for your response.I tried that But my browser goes to some
> > blank page with that respective action name as the url.
> > It does not stick to the calling page
> >
> > --
> > Thanks and Regards
> > Upasana Sharma
> >
> >
> > On Thu, Apr 22, 2010 at 2:53 PM, Miles, Chris <
> > chris.mi...@spsa.pnn.police.uk> wrote:
> >
> > > NOT PROTECTIVELY MARKED
> > >
> > >
> > >
> > > Hi
> > >
> > > Do not put any result in the XML and in the Action just return
> > > Action.NONE
> > >
> > > Chris
> > >
> > > -Original Message-
> > > From: Upasana Sharma [mailto:sharma...@gmail.com]
> > > Sent: 22 April 2010 10:10
> > > To: Struts Users Mailing List
> > > Subject: Action result to go nowhere
> > >
> > > Hi
> > >
> > > I have a link which when clicked invokes some action. I do not want
> > the
> > > page to redirect or forward to some other jsp or action.
> > > what should i write in struts.xml  of that action?
> > >
> > > --
> > > Thanks and Regards
> > > Upasana Sharma
> > >
> > > NOT PROTECTIVELY MARKED
> > >
> > >
> > > 
> > > - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> > > For additional commands, 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
> >
> >
>
>
>
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


Re: Action result to go nowhere

2010-04-22 Thread Upasana Sharma
In that case how can I invoke the action without changing the url. please
help me out.
-- 
Thanks and Regards
Upasana Sharma
On Thu, Apr 22, 2010 at 3:18 PM, Miles, Chris <
chris.mi...@spsa.pnn.police.uk> wrote:

>
>
>
>
> That is what I would expect to happen. You are clicking a link which
> changes the URL to the URL of the Action. This is the normal process of
> the web itself.
>
> Chris
>
>
> -Original Message-
> From: Upasana Sharma [mailto:sharma...@gmail.com]
> Sent: 22 April 2010 10:37
> To: Struts Users Mailing List
> Subject: Re: Action result to go nowhere
>
> hi thanks for your response.I tried that But my browser goes to some
> blank page with that respective action name as the url.
> It does not stick to the calling page
>
> --
> Thanks and Regards
> Upasana Sharma
>
>
> On Thu, Apr 22, 2010 at 2:53 PM, Miles, Chris <
> chris.mi...@spsa.pnn.police.uk> wrote:
>
> > NOT PROTECTIVELY MARKED
> >
> >
> >
> > Hi
> >
> > Do not put any result in the XML and in the Action just return
> > Action.NONE
> >
> > Chris
> >
> > -Original Message-
> > From: Upasana Sharma [mailto:sharma...@gmail.com]
> > Sent: 22 April 2010 10:10
> > To: Struts Users Mailing List
> > Subject: Action result to go nowhere
> >
> > Hi
> >
> > I have a link which when clicked invokes some action. I do not want
> the
> > page to redirect or forward to some other jsp or action.
> > what should i write in struts.xml  of that action?
> >
> > --
> > Thanks and Regards
> > Upasana Sharma
> >
> > NOT PROTECTIVELY MARKED
> >
> >
> > -
> > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> > For additional commands, 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
>
>


Re: Action result to go nowhere

2010-04-22 Thread Upasana Sharma
*I do not want to go to some result page
*
*On return INPUT**
*
*No result defined for action com.upasana.action.ComAction and result input*
:)


On Thu, Apr 22, 2010 at 3:13 PM, Rahul Mohan  wrote:

> Try 'return INPUT'.
> - rahul
>
>
>
> From:
> Upasana Sharma 
> To:
> Struts Users Mailing List 
> Date:
> 22-04-2010 15:08
> Subject:
> Re: Action result to go nowhere
>
>
>
> hi thanks for your response.I tried that
> But my browser goes to some blank page with that respective action name as
> the url.
> It does not stick to the calling page
>
> --
> Thanks and Regards
> Upasana Sharma
>
>
> On Thu, Apr 22, 2010 at 2:53 PM, Miles, Chris <
> chris.mi...@spsa.pnn.police.uk> wrote:
>
> > NOT PROTECTIVELY MARKED
> >
> >
> >
> > Hi
> >
> > Do not put any result in the XML and in the Action just return
> > Action.NONE
> >
> > Chris
> >
> > -Original Message-
> > From: Upasana Sharma [mailto:sharma...@gmail.com]
> > Sent: 22 April 2010 10:10
> > To: Struts Users Mailing List
> > Subject: Action result to go nowhere
> >
> > Hi
> >
> > I have a link which when clicked invokes some action. I do not want the
> > page to redirect or forward to some other jsp or action.
> > what should i write in struts.xml  of that action?
> >
> > --
> > Thanks and Regards
> > Upasana Sharma
> >
> > NOT PROTECTIVELY MARKED
> >
> >
> > -
> > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> > For additional commands, e-mail: user-h...@struts.apache.org
> >
> >
>
>
> =-=-=
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain
> confidential or privileged information. If you are
> not the intended recipient, any dissemination, use,
> review, distribution, printing or copying of the
> information contained in this e-mail message
> and/or attachments to it are strictly prohibited. If
> you have received this communication in error,
> please notify us by reply e-mail or telephone and
> immediately and permanently delete the message
> and any attachments. Thank you
>
>
>


-- 
Thanks and Regards
Upasana Sharma


Re: Action result to go nowhere

2010-04-22 Thread Upasana Sharma
hi thanks for your response.I tried that
But my browser goes to some blank page with that respective action name as
the url.
It does not stick to the calling page

-- 
Thanks and Regards
Upasana Sharma


On Thu, Apr 22, 2010 at 2:53 PM, Miles, Chris <
chris.mi...@spsa.pnn.police.uk> wrote:

> NOT PROTECTIVELY MARKED
>
>
>
> Hi
>
> Do not put any result in the XML and in the Action just return
> Action.NONE
>
> Chris
>
> -Original Message-
> From: Upasana Sharma [mailto:sharma...@gmail.com]
> Sent: 22 April 2010 10:10
> To: Struts Users Mailing List
> Subject: Action result to go nowhere
>
> Hi
>
> I have a link which when clicked invokes some action. I do not want the
> page to redirect or forward to some other jsp or action.
> what should i write in struts.xml  of that action?
>
> --
> Thanks and Regards
> Upasana Sharma
>
> NOT PROTECTIVELY MARKED
>
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


Action result to go nowhere

2010-04-22 Thread Upasana Sharma
Hi

I have a link which when clicked invokes some action. I do not want the page
to redirect or forward to some other jsp or action.
what should i write in struts.xml  of that action?

-- 
Thanks and Regards
Upasana Sharma


struts action related query

2010-04-20 Thread Upasana Sharma
Hi all

I have a jsp that opens up as a pop up. I want to call a form submit from
this jsp so that it calls some method in action. But I want that the jsp
remains static as pop up and do not redirect or forward to some other jsp.
In struts.xml we have to specify some  for some . Can you
help me out how to deal with such scenario...
thanks in advance..

Upasana Sharma


Re: [S2] Welcome Page as Action?

2010-04-15 Thread Upasana Sharma
Hi

I put these in my project and its working for me.

I created a blank file called welcome.

In struts.xml



  
  WelcomePage.jsp



In web.xml


welcome


Thanks and Regards
Upasana Sharma
<http://www.mydomain.com/package/DOESNOTEXIST.action>


Re: Struts project structure in eclipse

2010-04-13 Thread Upasana Sharma
Hi

Thanks a lot. Its working for me now...

Thanks and Regards
Upasana Sharma


Struts project structure in eclipse

2010-04-13 Thread Upasana Sharma
Hi

I am new to Struts. I am trying to develop a project. The jsp pages that are
relevant are arranged in respective folders. When I start the project from
eclipse the page from welcome file list are loaded properly with the
respective css. But whenever i try to access some other jsp css are not
accessed. there is a single css file in web-content. Images are under images
folder. I want to use a common css for my entire project. But the pages in
each folder work only when they have individual copy of images and css
inside their folder. I tried to use s:url  in the  href but it does
not seem to help. What should be the approach to handle it? If I need to
maintain a separate web.xml in each folder then how can I put the mapping
for the images folders and css.
-- 
Thanks and Regards
Upasana Sharma