Hello Everyone,
I have weird problem with tag. I am trying to
populate the mutli select box using collection.
It works some times and some times I get this exception:
[ServletException in:/wspb_drivers.jsp] Failed to obtain specified
collection'
If I start the project again,I don't get this ex
filter-mapping?
>
> Just after the filter element you declared you should have:
>
>
> SessionInactivityFilter< /filter-name>
> /*
>
>
> This is the first think I can think of.
>
> If you think that you got that right it would be good if I could see
ntry*, ejb-ref*, ejb-local-ref*)>
>
> So try to have the declaration of the filter and filter-mapping just
> before
> the listener elements or the servlet element if you don't have any
> listeners declared.
>
> Please don't hesitate to contact us if you ha
ter/SessionInactivityFilter.html
>
> JWP Home Page:
> http://javawebparts.sourceforge.net/
>
> Good Luck,
>
> Tamas
>
>
>
>
> http://javawebparts.sourceforge.net/javadocs/javawebparts/filter/SessionInactivityFilter.html
>
> On 9/25/06, mosho <[EMAIL PROTECTED]> wrote:
>
do you have any example to do this?
Thanks.
Li-3 wrote:
>
> you can create a taghandler, much simpler and flexible
>
> On 9/25/06, mosho <[EMAIL PROTECTED]> wrote:
>>
>>
>>
>> Hi All,
>>
>> When session times out I want to forward a r
Hi All,
When session times out I want to forward a request to another page.Is it
possible to do it with HttpSessionListener?
How can I get response object so that I can redirect to another page?
Thanks for your help!
--
View this message in context:
http://www.nabble.com/Question-about-sess
Hey Scott
FINALLY! It works !!!
Including xml tag in my javascript is the solution for me.
THANKS !
Scott Van Wart-2 wrote:
>
> mosho wrote:
>> Hi Scott,
>>
>> I added a unspecified() method in my action class and it works now.
>> I am not able to under
unspecified method, for that value as it would have done if
value is null.
I am assuming it is calling unspecified() because it is not able to find
the key name {submitText}
Any idea?
Thanks, you have been very helpful.
Scott Van Wart-2 wrote:
>
> mosho wrote:
>> Yes, that's exactly
m.
Thanks!
Scott Van Wart-2 wrote:
>
> mosho wrote:
>> Request[/planName] does not contain handler parameter named navigation
>>
>
> In your struts-config.xml, are you including 'parameter="navigation"' in
> your action mapping?
Thanks for your help guyz. It doesn't seem to work.
The value of submitText is not passed to the hidden.value
The form gets submitted but gives an error
Request[/planName] does not contain handler parameter named navigation
I am pasting my code below.
function onClick
Hi Scott,
It doesn't seem to work.
My submit buttons look like this:
Now, if I have a link, how can I set the property navigation for it.
" onClickSubmit() pic.gif "
Scott Van Wart-2 wrote:
>
> Christopher Goldman wrote:
>> On Thu, 2006-
Hi All,
I have multiple buttons on my form and I am using LookUpDistpatchAction to
submit the form depending on which button is clicked.
I have another requirement now, I have multiple images that are going to be
links. I need to submit the form using onclick.
So in my javascript, I will have t
Neil,
I am trying to do same thing my page_title comes from the db and it depends
on the parameter.
I fail to understand, how are you doing it? Do you have some example code.
You are creating another class as MyController?
Thanks
--
View this message in context:
http://www.nabble.com/How-to-
Hi,
I have property pageTitle in my java bean.
How can I pass that value to tile attribute?
i have xml file, where I am defining my tile definitions.
For example, if I include
Thanks
--
View this message in context:
http://www.nabble.com/how-to-pass-attribute-values-from-bean-in-tiles-tf20
I have a problem. I am using tiles for my layout.
I have a baselayout.jsp where I am inserting all my header, body and footer
tags.
I want to insert another attribute called breadcrumbs which have some insert
statements. for example,
my tile definition is:
Can i do this
Thanks for your replies.
This solution works for me, mapping.getpath().
--
View this message in context:
http://www.nabble.com/Question-regarding-getRequestURI%28%29-tf2016924.html#a5576221
Sent from the Struts - User forum at Nabble.com.
--
Hi All,
I am using struts 1.1 I need to get the process.do from the url.
For example if I have
http://11.1.30.222:1001/testproject/process.do
By using getRequestURI(), I can get /testproject/process.do but I just need
process.do.
Is there any way to get this?
Thanks
--
View this message in
Thanks Adam. I got it working now
--
View this message in context:
http://www.nabble.com/Valdator---RequiredIf-doesn%27t-work-for-IE-tf1968272.html#a5403936
Sent from the Struts - User forum at Nabble.com.
-
To unsubscribe, e
Hi all,
I am using struts 1.1 version. I have set up validator framework.
I am using requiredIf rule, it works perfectly in Mozilla Firefox but it
doesn't work in Internet Explorer version 6.0. Is there any reason for it?
Is it not supported on IE.
Thanks
--
View this message in context:
h
Hi all,
I am struts 1.1.
My requirement is to have links which will call one action and each link
will have unique identifier to get data.
For example, something lilke this:
home.do?action=link1
action parameter will keep changing. How can I do this?
I would like to use one action class for all
I have two submit buttons previous and next.
I need to validate only when I hit next button. I can control this by using
page attribute in valdation.xml.
This works for server-side. It doesn't work for client side validation.
How can I do client side validation only when i hit next button.
Is th
Hi Wendy,
As per my requirement, I need to validate only when next button is hit. I
can validate manually for server-side validation, it is working. How do I
control for clients-side validation?
If I include javascript tag in my jsp, it is going to validate even if I hit
previous or next button.
I have another question, I was just trying to use LookupDispatchAction. It
looks like if I am extending LookupDispatchAction, I don't have to use
excute method. Is that right? I can do all the processing in the respective
previous and next methods.
Previous methods looks like ..for ex:
public
e and use client
side script to set the page request parameter.
I am new to this, all your help is appreciated.
Mosho
--
View this message in context:
http://www.nabble.com/Does-validator-work-with-Lookup-dispatch-action-tf1931125.html#a5290199
Sent from the Struts - User forum at Nabbl
to validate only when next button is hit, is that possible?
Is there any tutorial avialable for using lookup dispatch action.
Thanks
Mosho
--
View this message in context:
http://www.nabble.com/Does-validator-work-with-Lookup-dispatch-action-tf1931125.html#a5289472
Sent from the Struts - User
David,
Thanks a lot! I understood the whole concept now.
It's working perfectly!!!
Thanks again!
Rosh
--
View this message in context:
http://www.nabble.com/Question-about-Struts-validator-tf1851247.html#a5089649
Sent from the Struts - User forum at Nabble.com.
--
I really appreciate all your help.
David,
I want to use struts validator and just control validation manually. Why do
I need saveErrors() method and what does it do? Isn't the validator does all
that. I am little confused.
I am pasting my execute method below, please let me know what should I
Thanks David and Wendy for your help but it doesn't seem to work.
I added manually validate in my execute method. It still validates if I
directly enter the url.
I am pasting part of my code for you to take a look and let me know where I
am going wrong. Thanks again!
--Struts config part--
Thanks David and Wendy for your help but it doesn't seem to work.
I added manually validate in my execute method. It still validates if I
directly enter the url.
I am pasting part of my code for you to take a look and let me know where I
am going wrong. Thanks again!
--Struts config part--
Thanks David for your reply.
If I call validate method manually, can I still use validator framework and
use the input attribute in the config file to display the errors?
I need to validate only if form is submitted by clicking on a button.
If, yes can you show me with an example how to call val
Hi All,
I want to validate a form by using struts validator, it is working fine. It
validates the form if I click submit button, and it also validates the form
if I pass it as a url
for example: http://111.22.80.244:8989/eNOI/test.do
I want to validate the form only if I hit submit button not by
31 matches
Mail list logo