Hi,
Form data is not getting pre-filled on submission. Can anyone tell me the
reason?
JSP - included from def.jsp
-
<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
submit
PrivacyPreferences
Hi,
Before I introduced Sitemesh into my ecosystem, I used to handle
exceptions in a "declarative" fashion in the struts-config.xml.
For example, an entry in struts-config.xml like:
would handle a good subset of my Database exceptions.
Now comes sitemesh, which is really a "servlet-filter".
Hi,
I solved the problem by "playing the container".
I called the tag functions that the container would have called in the
same sequence. This surely is a hack, but works for me right now.
If you guys have a better way to solve this issue, I would be glad to hear it.
Regards,
Raghu
On 1/25/06
Yes, that would be my advice. Further, I would try and architect your
solutions in such a way as to not even require session as much as that
is possible. Clearly it won't always be, but every little bit helps :)
Frank
Lixin Chu wrote:
thank you very much - my memory is not too rusty then -
thank you very much - my memory is not too rusty then - at least I remember
the 32kb threshhold :-(
ok, so my takeaway is that, in general it is ok to use a session scoped
ActionForm with some minimum data but for large list/set we better look it
carefully. Putting them into request scope might be
Hi,
Sorry, my previous posting was messed up by Roomity.
I need to insert some dynamic jsp codes into my pages using tiles with
Struts 1.2.4.
The following examples don't seem to insert really dynamic jsp. It's for
illustration purpose.
tiles-defs.xml:
in my jsp pag
Very simple two questions .
1. How do I get struts log4j messages on my console/my log ?
2. How do I read application specific properties file in struts
application?
Thanks.
Digant .
This communication is for informational purposes only. It is not intended
as an offer or solicitation for the
Hi
thank you for reading my post.
I defined a data-source in tomcat administration console.
now i want to use this data source inside my servlet
how i can do that ?
Thank you
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For ad
Hi, I need to insert some dynamic jsp codes into my pages using tiles with
Struts 1.2.4. The following examples don't seem to insert really dynamic jsp.
It's for illustration purpose. tiles-defs.xml:
in my jsp page, using tiles:insert or tiles:getAsString doesn't work as an
exception occurs. It
Hello
I need how to put subject information returned of lc.login() in webapp
context
int order to invoke getUserPrincipal and not retur null
LoginServlet.java
protected void doPost(HttpServletRequest req, HttpServletResponse res)
throws ServletException, IOException {
String username =
I using ServletFilter to check whether the user is authenticated or has
permissions to access resource.
In case of not authenticated or not authorized I must redirect user to some
page (Error Page ) .
For this I must use RequestDispatcher to forward him to error page.
If I do this I mu
If the request being submitted doesn't include form values, I'd say
skip the ActionForm.
Hubert
On 1/27/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> My question concerns jsp pages that provide a read only view of data. In
> other words, there won't be a form submitted from the page. Is
On 1/27/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
>
> Struts best practices suggest that an action handles a request (with
> or without input data), while a JSP page is simply a data-aware HTML.
> Look at it this way: by calling an action instead of calling JSP
> directly you are asking for
Struts best practices suggest that an action handles a request (with
or without input data), while a JSP page is simply a data-aware HTML.
Look at it this way: by calling an action instead of calling JSP
directly you are asking for a resource to render itself according to
its current state. If you
Hello again,
Mi purpose is establish this in order to call ejb in jboss from tomcat
For user authentication i need
user + password + country
user and password come from de login page and country form de last from
www.google (.es | us | fr ) and so (http header host)
gracias :)
2006/1/27
My question concerns jsp pages that provide a read only view of data. In other
words, there won't be a form submitted from the page. Is there a compelling
reason to use an action form in these cases. I've just been using tags such as
c:out with my own beans put in scope. I've noticed tha
whats your appserver??
Iam working on a project using websphere app server and it has admin
configurations wherein you can set websphere to authenticate using different
authentication mechanisms[ex:Basic,Form,client-cert etc] aganist different user
information repository[Ex:windows/solaris use
Helo
On Jan 27, 2006, at 2:44 PM, Luis Gervaso wrote:
Hello all,
I need help about authentication problem
The scenario is:
When user login is necessary consult database to obtain user
information in
order to store this in the HttpSession
I hope to integrate this with container based secu
Hello all,
I need help about authentication problem
The scenario is:
When user login is necessary consult database to obtain user information in
order to store this in the HttpSession
I hope to integrate this with container based security in order to use
getUserPrincipal, etc
if we use j_secur
>From: Richard Wallace <[EMAIL PROTECTED]>
>
> Ryan Wynn wrote:
> > I would recommend that the ticket on shale bugzilla be closed in favor
> > of the ticket on myfaces jira ticket
> >
> > http://issues.apache.org/jira/browse/MYFACES-806
> >
> > because I think it was agreed that this file wo
How can I pass a Struts Global forward to
request.getRequestDispatcher("struts global Forward).forward(request,response)
or
How can I forward to a struts Global forward using RequestDispatcher.
I tried passing struts global forward , but always I got page not found
error . I can creat
I'm having a problem with pages loading images and css files. I turned
up the debugging on log4j and when the css files and images are
requested by the browser nothing is returned. I checked the logs and
they're saying:
2006-01-27 10:31:20,241 54531 DEBUG [http-8080-Processor24]
org.apache.
They are executed in the order they appear in web.xml, subject to the
mapping rules (i.e., if you have 4 filters, filter 2 and 3 might be
skipped for a given request depending on how they are mapped, but filter 1
and 4 will fire in that order, assuming they are listed 1, 2, 3, 4).
So, in your spec
Niall:
I took your recommendation and removed the action chaning from my struts
config. I am still not seeing any error text. Here is my new action
mapping:
On 1/27/06, Niall Pemberton <[EMAIL PROTECTED]> wrote
I written two filters for my web application.
One filter is to check whether session has userId called SecurityFilter.(This
filter is applied to all *.do)
Second filter to check if login user has access to a particular page called
AccessControlFilter .(This filter only to some .do)
in t
(Memo to self -- don't let your cat hit the "Send" button before you are
done ... :-)
On 1/27/06, Craig McClanahan <[EMAIL PROTECTED]> wrote:
>
> On 1/27/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >
> > Hi
> >
> > I have noticed the following errors in my Tomcat logs:
> >
> > java.lang.Ill
On 1/27/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> I have noticed the following errors in my Tomcat logs:
>
> java.lang.IllegalArgumentException: fr, 27 jan 2006 08:45:27 GMT
> at org.apache.coyote.tomcat5.CoyoteRequest.getDateHeader(
> CoyoteRequest.java:1887)
> at
Ryan Wynn wrote:
I would recommend that the ticket on shale bugzilla be closed in favor
of the ticket on myfaces jira ticket
http://issues.apache.org/jira/browse/MYFACES-806
because I think it was agreed that this file would reside inside
tomahawk.jar instead of within shale.
The concensus on
For all the tables in the JSP, I am using displaytag.
For each row in the table I created an Object.
I am creating instances of this Object and making a List which is getting
displayed in the JSP.
I was told that instead of creating Object and creating instances, one can
directly use the re
I think there is a ConsoleAppender for log4j.
Otherwise I believe you can do a System.out.println.
Shawn
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, January 27, 2006 7:22 AM
To: Struts Users Mailing List
Cc: Struts Users Mailing List
Subject: Re: Ac
On Jan 27, 2006, at 11:51 AM, Buntin, Seth - KATE wrote:
So if I am using JBoss I should look at the container (Tomcat)
information on how to implement this through it?
Yes.
The main references:
http://java.sun.com/products/servlet/index.jsp
http://tomcat.apache.org/tomcat-5.5-doc/realm-how
Put it in the session and then retrieve it from there.
Shawn
-Original Message-
From: Pham Anh Tuan [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 26, 2006 9:43 PM
To: Struts Users Mailing List
Subject: Re: [HELP] Can't not get parameter when submit a form
I have a bean property is
>>>path="/sectorSetUp"
>> name="sectorForm"
Is sectorForm declared in the top of your struts-config file? Make sure the
type is valid.
Also check that your JSP has ...
Shawn
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thurs
Nick Sophinos wrote:
> Although there probably is, I am old-fashioned and implement that in
> a Servlet Filter.
Even old-fashioned programmers can use a configuration file of some sort ;)
One nice thing about sslext is that it's integrated into the struts
config file, so there's one less place t
I would recommend that the ticket on shale bugzilla be closed in favor
of the ticket on myfaces jira ticket
http://issues.apache.org/jira/browse/MYFACES-806
because I think it was agreed that this file would reside inside
tomahawk.jar instead of within shale.
The concensus on the shale ticket
h
Hi,
Although there probably is, I am old-fashioned and implement that in
a Servlet Filter. Below is such a Filter. It will redirect person either
to
or from a https port depending on whether the URL matches a given
pattern.
**
* This class contains an web application SSL filter
*
* @author
On Fri, January 27, 2006 4:30 am, David Delbecq said:
> Hello,
>
> I think i read (probably on tomcat mailing list), that clustering should
> ensure (in specs) that a session is not spread across cluster (once
> session
> is started, user always speak with same jvm which started the session).
That
So if I am using JBoss I should look at the container (Tomcat)
information on how to implement this through it?
Seth Buntin
Tried it. Same result. I'll file a bug report.
[EMAIL PROTECTED] wrote:
Hi
Try and clean out your Tomcat work directory prior to restart after you have
made your changes.
Hermod
-Original Message-
From: Richard Wallace [mailto:[EMAIL PROTECTED]
Sent: Friday, January 27, 2006 12:14
On Fri, 2006-01-27 at 09:05 -0600, Buntin, Seth - KATE wrote:
> t off, let me say that I am fairly new to Struts. I am pretty
> efficient with Coldfusion and thought I would expand my horizons with
> JSP and Struts.
>
>
>
> Now that being said I have a question. I work for a University and
>
Helo
On Jan 27, 2006, at 11:05 AM, Buntin, Seth - KATE wrote:
First off, let me say that I am fairly new to Struts. I am pretty
efficient with Coldfusion and thought I would expand my horizons with
JSP and Struts.
welcome
Now that being said I have a question. I work for a University an
. . . you want to know whether that feature is 90% done or 95% done.
--- On Fri 01/27, Ted Husted < [EMAIL PROTECTED] > wrote:
From: Ted Husted [mailto: [EMAIL PROTECTED]
To: user@struts.apache.org
Date: Fri, 27 Jan 2006 08:54:40 -0500
Subject: [FRIDAY] You might be a pointy-haired-boss if .
. . . if you believe all the things that come out of your mouth.
--- On Fri 01/27, Ted Husted < [EMAIL PROTECTED] > wrote:
From: Ted Husted [mailto: [EMAIL PROTECTED]
To: user@struts.apache.org
Date: Fri, 27 Jan 2006 08:54:40 -0500
Subject: [FRIDAY] You might be a pointy-haired-boss if ...
.
First off, let me say that I am fairly new to Struts. I am pretty
efficient with Coldfusion and thought I would expand my horizons with
JSP and Struts.
Now that being said I have a question. I work for a University and most
of the applications I write for the web have LDAP authentication with
Dave Newton wrote:
> - [ My list ]
Dammit!
- Sends a TODO list in Word, multiple items per paragraph, with the
stuff that's _already done_ HIGHLIGHTED.
Woot.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
David G. Friedman wrote:
>> - You used to use grep to change strings in a file... >
>> 'back in the day' (seriously, he thinks he did)
>>
> sed 's/grep/sed/g'
> sed 's/back in the day/when we had punch cards/g'
>
I tried to convince him it was sed (or possibly awk, but that's...
unlikely)
> - You used to use grep to change strings in a file... >
> 'back in the day' (seriously, he thinks he did)
sed 's/grep/sed/g'
sed 's/back in the day/when we had punch cards/g'
-D
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Ted Husted wrote:
> ... you think blogs are a breakfast treat.
>
They're not?!
- Turn on task lamps at unoccupied desks when clients come in for a
meeting so it looks like you have employees
- Puts trash back on a cleaned-off shelf when a network technician comes
in so it looks like... uh... yo
... you want a clever reply to this thread yesterday.
Ted Husted wrote:
... you think blogs are a breakfast treat.
Engineer: "I like to start each day with a cup of coffee and a couple of blogs."
PHB: ... H ... A cream-filled blog would hit the spot ...
-Ted.
** http://husted.com/ted/bl
If you'd like to peek on the Struts Developers list, and maybe even
post a message, but don't want to actually subscribe to
yet-another-list, then the OpenSymphony Struts Developers Forum may be
for you.
* http://forums.opensymphony.com/forum.jspa?forumID=34
Using this Jive forum, you can review
Errr, depending on what sort of blogs you like to visit, that might
just be possible! There's all sorts on the Internet you know!
On 1/27/06, Ted Husted <[EMAIL PROTECTED]> wrote:
> ... you think blogs are a breakfast treat.
>
> Engineer: "I like to start each day with a cup of coffee and a coupl
... you think blogs are a breakfast treat.
Engineer: "I like to start each day with a cup of coffee and a couple of blogs."
PHB: ... H ... A cream-filled blog would hit the spot ...
-Ted.
** http://husted.com/ted/blog/
-
To
Hi,
I have configured my form which contains 70 elements for validation using
validation.xml file, and in many cases I needed to reuse the same exact
definitions of the 's available within my for validation of
subsets of that form, e.g., I need to enable the user to fill in fields x, y,
and
hi,
i'm trying to configure the controller using
so that it looks for jsp pages in the webroot folder, no matter if we are
inside a module or not.
but whatever i enter in the forwardPattern or pagePattern properties, no
changes in the behaviour.
went through the source code of 1.2.8, and in
Re
Deepa:
Thanks.
That was it !
I had wrong form bean defined in struts-config.
It works now !
By the way any idea on how struts log messages to appear in
console.
I am sure there is some where log4j property definition I have to
do, I am not sure wher
Dinesh Mehra wrote:
> Is there any way in struts-config.xml (either by action mapping or in
> forward tag) where I can rectify this situation??
>
http://struts.apache.org/struts-doc-1.2.x/faqs/ssl.html
-
To unsubscribe, e-mai
Hello,
I have a problem with my struts configuration file.
I use a specific RequestProcessor class that extends RequestProcessor.
but since I cut my struts configuration file in multiples files,
it doesn't work anymore : the standard processor class is invoked
instead of mine.
Hello Carl,
you can work with the MultipartRequestWrapper.
I hope you will reach your goal :-)
Shadi Rifai [EMAIL PROTECTED]
Software Technology Group Phone: ++49 (0) 6151-16-3608
Darmstadt University of Technology Fax:++49 (0) 6151-16-5
Hi Deepa,
You can do it like this..
In Struts-config.xml..
And in UpdateNotificationsAction you can forward it to 'update' action.
Return ActionMapping.findForward("update");
I hope it helps.
Vidya
-Original Message-
From: Deepa Khetan [mailto:[EMAIL PROTECTED]
On 1/26/06, Daniel Kies <[EMAIL PROTECTED]> wrote:
> Hello. I am trying to do some standard validations, but I am failing. Any
> ideas why? I know the errors are getting raised as the request is
> forwarding back to the initial page making the request, but the error
> messages are not showing on
Hi,
I have a shipping/billing page (secure page - https) in a shopping cart
application. If there is any error then I am redirecting to home page that
is non-secure(http).
The problem is that after error in the secure pages its redirecting to home
page but in the same secure https mode.
Is there
Hello,
I think i read (probably on tomcat mailing list), that clustering should
ensure (in specs) that a session is not spread across cluster (once session
is started, user always speak with same jvm which started the session).
Size of objects contained inside a session might however be a perf
Hi
I have noticed the following errors in my Tomcat logs:
java.lang.IllegalArgumentException: fr, 27 jan 2006 08:45:27 GMT
at
org.apache.coyote.tomcat5.CoyoteRequest.getDateHeader(CoyoteRequest.java:1887)
at
org.apache.coyote.tomcat5.CoyoteRequestFacade.getDateHeader(CoyoteReque
Ciao,
I was it who received the answer, well I didn't find
this performance gap then the session object contained
for a short time >1MB but I didn't test it in a distributed environment.
A session-scoped Acion Form shouldn't harm the performance.
I cannot immagine.
Nice greetings
-- Ini
64 matches
Mail list logo