Hello,
in an effort to clean up my site I try to do everything by the W3C standard.
I threw out all design tables and other useless crap but now one problem
remains and it's related to Struts. All html:input tags generate a tag
which is not closed. Like this:
input type=hidden
Peter Neu wrote:
Hello,
in an effort to clean up my site I try to do everything by the W3C standard.
I threw out all design tables and other useless crap but now one problem
remains and it's related to Struts. All html:input tags generate a tag
which is not closed. Like this:
input
hi friends i m working on Struts Test Cases ,i have written the following
code,for testing accurate user login from login page for my application i
hav included strutsTest-2.1.3.jar,junit.jar from JUNIT_HOME directory,when i
run the following code i m getting following failures:
Hi,
thanks for your comments.
My problem is the session expired because the system expired session.
I have not invalidate()..do you know?
Thanks
2006/4/26, Juergen Kopper [EMAIL PROTECTED]:
Hi,
Angel Navarro schrieb:
When user logon, I set the locale's user and all is ok.
But, the
A very small article on JSTL for quick reference:
http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSPIntro7.html
On 4/26/06, Rahul Akolkar [EMAIL PROTECTED] wrote:
On 4/26/06, Angel Navarro [EMAIL PROTECTED] wrote:
Hi,
I need to translate:
if ( a == 'option1' || a == 'option2' )
Thanks
2006/4/27, Vinit Sharma [EMAIL PROTECTED]:
A very small article on JSTL for quick reference:
http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSPIntro7.html
On 4/26/06, Rahul Akolkar [EMAIL PROTECTED] wrote:
On 4/26/06, Angel Navarro [EMAIL PROTECTED] wrote:
Hi,
I need to
Sadly, multiple extension mappings is not supported by Action 1 (*).
There can only be one.
The usual workaround is to use different folders to represent
different authentification types. So, you'd have to have something
like /auth/something.do versus /open/something.do.
For more complex
Hi,
Angel Navarro schrieb:
My problem is the session expired because the system expired session.
I have not invalidate()..do you know?
I don't know. But perhaps you show some code (Action, jsp and
struts-config), to get a better help for this problem.
Juergen
There was a question about this a couple of days ago where web.xml was
not being found. Also, it looks like you have a leading slash before
the D: in setConfigFile(), that could be the problem.
HTH
-ed
On 4/27/06, Chaitanya Parkhi [EMAIL PROTECTED] wrote:
hi friends i m working on Struts Test
Hi,
when I say 'the system expired session' is that the user are a lot of time
without navigate and explorer expired session,
dou you understand me?
Thanks
2006/4/27, Juergen Kopper [EMAIL PROTECTED]:
Hi,
Angel Navarro schrieb:
My problem is the session expired because the system
Hi,
Angel Navarro schrieb:
Hi,
when I say 'the system expired session' is that the user are a lot of time
without navigate and explorer expired session,
dou you understand me?
Yes I understand it and I think this makes the same as the invalidate(),
this means it unbinds all Objects of a
Hi
To tell you the truth i do not understand what you wanna do...
Anyway your validwhen condition is always true!
Note that you are comparing *this* - for property password, with property
password.
It means something like 1==1.
2006/4/26, Zheng Wen Zhe [EMAIL PROTECTED]:
Hey all,
I wanna
in action I have
ActionMessages messages = (ActionMessages)frm.validate( mapping,
request );
if ( messages != null !messages.isEmpty() ) {
saveMessages(request, messages); *
return (mapping.findForward(validFailed));
}else {
Here is the solution for this
just make sure to add message=true in the html:messages tag
i.e
IN jsp
html:messages id=CrditRtMsg property=CreditRate message=true
c:out value=${CrditRtMsg} /or just ${CrditRtMsg}
/html:messages
From: fea jabi [EMAIL PROTECTED]
Reply-To: Struts Users
Try it like this.
var-value(*this* == 'password')/var-value
-Original Message-
From: Jakub Milkiewicz [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 27, 2006 12:34 PM
To: Struts Users Mailing List
Subject: Re: validatewhen --- what's wrong?
Hi
To tell you the truth i do not
Right
This anlr gramma is quite not intuitive ...
2006/4/27, Chaudhary, Harsh [EMAIL PROTECTED]:
Try it like this.
var-value(*this* == 'password')/var-value
-Original Message-
From: Jakub Milkiewicz [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 27, 2006 12:34 PM
To: Struts Users
Hi All
I am very proud to announce that two video presentations are now downloadable
from Google Video Beta sites. These presentations were recorded on our sixteenth
Java Web User Group meet-up that took place at Oracle's City of London offices
on Friday, 17th February 2006. In case you are
How do I access errors that the Validator places in the ActionErrors
object instance within a Struts action? I need to do this in my action
code so I can throw the appropriate kind of exception. Thanks.
- Asad
-
To
if the validation is done at the server side (in your actionform), then you
can easily get the errors.
On 4/28/06, Asad Habib [EMAIL PROTECTED] wrote:
How do I access errors that the Validator places in the ActionErrors
object instance within a Struts action? I need to do this in my action
In JSF, when a request arrives, it should go through 6 phases to process the
request. The first stage is called Restore the View , and the last stage is
called Render the Response. I wonder where JSP works in these 6 phases. If
JSP only works in the last phase, how can JSF restore the view first
Asad Habib wrote:
How do I access errors that the Validator places in the ActionErrors
object instance within a Struts action? I need to do this in my action
code so I can throw the appropriate kind of exception. Thanks.
I show this very thing at the end of this article:
On 4/27/06, 王曾wang_zeng [EMAIL PROTECTED] wrote:
In JSF, when a request arrives, it should go through 6 phases to process
the
request. The first stage is called Restore the View , and the last stage
is
called Render the Response. I wonder where JSP works in these 6
phases. If
JSP only
The goal is to upload a file and have it automatically emailed to a
recipient.
In my .jsp page I have:
html:file property=attachment styleClass=textBody/
In my action form I have:
private FormFile attachment;
My email code looks like this:
void sendMessage()
{
try //
It is little complex to extract data from database on to jsp page.I would
say that Go ahead step by step. I am sure will get touch with struts.
Step1.
You create ActionFrombean class (getter setter methods).
2)
make a connection pool with database by using struts-config file(Datasource
Hi,
Thanks for sharing these links. They are really great.
Kind regards,
Rakesh Bhat
-Original Message-
From: Peter Pilgrim [mailto:[EMAIL PROTECTED]
Sent: Friday, April 28, 2006 4:01 AM
To: [EMAIL PROTECTED]; Maven Users List; Struts Users Mailing
List; Struts Developers List
hi Ed,ya this is the same problem i m trying to solve. i hav removed that
addtional slash before D: but still its not working, also i i forgot to
mention in my first mail that i m getting follwing warnings on my consol
window:
log4j:WARN No appenders could be found for logger (
Hi Braun,
After upload file you have to save that in local or any where then attach.
I think you are not saving file.
Try this.
Thanks,
Jeeva.P
-Original Message-
From: Braun, James F [mailto:[EMAIL PROTECTED]
Sent: Friday, April 28, 2006 9:18 AM
To: Struts Users Mailing List
Subject:
Thank you,Craig. What do you mean by setup action? Is that the kind of
action which grabs some data, do some encapsilation work, and stuff them
into JSP scopes.
You say we can archive the goal with shale as well as without shale. I
remeber that between phases a Phase Event will be fired. When
Gary VanMatre wrote:
From: Richard Wallace [EMAIL PROTECTED]
I'm trying to use the token component on a form to ensure that a user
doesn't submit the form more than once. Whenever I try and submit the
form a second time, I get a NPE. I'm using it in Clay, if that makes
any difference. The
Hello Rick. Great! Thank you for the URL. This site has a wealth of
information on it!
- Asad
On Thu, 27 Apr 2006, Rick Reumann wrote:
Asad Habib wrote:
How do I access errors that the Validator places in the ActionErrors object
instance within a Struts action? I need to do this in my
Gary VanMatre wrote:
From: Richard Wallace [EMAIL PROTECTED]
I'm trying to use the token component on a form to ensure that a user
doesn't submit the form more than once. Whenever I try and submit the
form a second time, I get a NPE. I'm using it in Clay, if that makes
any difference. The
31 matches
Mail list logo