that take up 80% of the time :-(
Please help! Thank you,
-Sasha Borodin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
:-(
Please help! Thank you,
-Sasha Borodin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
:
Just to be explicit, you have a file in tomcat as:
WEB-INF/classes/com/ponyprinting/web/manager/UploadForm.class ?
Regards,
David
-Original Message-
From: Sasha Borodin [mailto:[EMAIL PROTECTED]
Sent: Monday, December 01, 2003 7:22 PM
To: Struts Users Mailing List
Subject: Re
looking at something for 15 hours...
-Sasha
On 12/1/03 6:38 PM, Sasha Borodin [EMAIL PROTECTED] wrote:
Just to be explicit, you have a file in tomcat as:
WEB-INF/classes/com/ponyprinting/web/manager/UploadForm.class ?
Yep.
WEB-INF/classes/com/ponyprinting/web/manager/forms
I can just say (Date) dynaForm.get('dateField') :-) Thanks!
-Sasha Borodin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Are there any struts groups in the area? Or at least java web development
groups that anyone knows of, or is a part of?
Thanks,
-Sasha
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Or you could use the JSTL conditional tag:
c:if test=${condition1 AND condition2 AND condition3}
your html
/c:if
-Sasha
On 10/29/03 09:43, Jeff Kyser [EMAIL PROTECTED] wrote:
sure - just nest them.
On Wednesday, October 29, 2003, at 09:38 AM, [EMAIL PROTECTED]
wrote:
Hello,
I
You could use a PreparedStatement, which automatically escapes single
quotes, I believe:
String sqlStmt = INSERT INTO table1 (col1) VALUES (?);
pstmt = con.prepareStatement(sqlStmt);
pstmt.setString(1, someStringWhichMightHaveQuotes);
All this talk lately of various official patterns has my brain hurting
from the Unknown again.
Can anyone recommend a good book on *patterns* - business delegate, visitor,
dao, etc. etc. etc.
Thanks,
-Sasha
-
To unsubscribe,
Ted, Matt, Joe, and all the other helpful folks that chimed in earlier on
persistence mechanisms:
In trying to keep with best practices, I've managed to remove all model
related code (business logic, and persistence) out of the Actions' execute()
method. Now I'd like to take it one step further
ActionForm, then get a dao instance from a factory, and pass it the
business class? Or is there another pattern to this?
Thanks.
Matt
-Sasha
- Original Message -
From: Sasha Borodin [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, October 10, 2003 6:44
I think you may be doing two things wrong:
1. j_security_check is a special URL. If you have a security realm defined
in your web application, and authentication method specified as FORM, then
the container will automatically forward any requests for protected
resources to a configurable login
What I'm trying to grasp is where it it best for the business object ---
dao interaction to take place. OK, let's make an example, cause I'm having
trouble thinking abstractly tonight...
An online store customer selects several products, clicks check out, which
calls a CheckOutAction. From
A common scenario I've encountered is that some check made in an action's
execute() method correlates to what needs to be displayed in the view.
But how can I control page flow (i.e. this section of page gets displayed,
this one doesn't) based on the accumulated ActionError's?
Right now, I
of complexity and
appropriate use of EJBs and other object-relational bridging technologies.
Who uses what, why, and where? :-)
-Sasha Borodin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To follow up my 'pricing structure' question of earlier this week...
How do the pro's estimate the amount of time a particular project will take?
I know you'll say 'experience'. But is there any kind of a rough formula?
How much do you usually pad your estimate to take into account any
I though this would be an appropriate group of people to ask:
What is the industry-standard compensation structure/level for java web
application development? Like if a company said they need a shopping cart
e-store, and the developer has to design the database, beans, actions,
jsp's, etc.?
Do
-Original Message-
From: Sasha Borodin [mailto:[EMAIL PROTECTED]
Sent: Monday, September 29, 2003 8:24 AM
To: Struts Users Mailing List
Subject: OT - how much to java web developers charge?
I though this would be an appropriate group of people to ask:
What is the industry
rate for Java Developers is 45-55 hour. A few years ago, it was easy to get
75-100/hour.
Times a changin'.
HTH,
Matt
-Original Message-
From: Sasha Borodin [mailto:[EMAIL PROTECTED]
Sent: Monday, September 29, 2003 8:24 AM
To: Struts Users Mailing List
Subject: OT - how
Can someone tell me why I'd need a struts integration version of the JSF
implementation? Why can't one just add the RI JAR files, TLD documents,
config files and just starting using the tags?
Thanks,
-Sasha
-
To unsubscribe,
: Craig R. McClanahan [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
Date: Tue, 16 Sep 2003 10:16:22 -0700 (PDT)
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: struts-faces
On Tue, 16 Sep 2003, Sasha Borodin wrote:
Date: Tue, 16 Sep 2003 11:30:40 -0500
in mind for you to look at, but I have
compiled the most comprehensive listing of Java Server Faces resources
on my website.
http://www.jamesholmes.com/JavaServerFaces/
Hope that helps,
-James
-Original Message-
From: Sasha Borodin [mailto:[EMAIL PROTECTED]
Sent: Tuesday
Consider this timeline as a possible solution:
1. Form is submitted, token is invalidated.
2. Form submitted again; error cause token is invalid; sit there and check
lost and found for HttpServletResponse that original request will generate
and leave there.
3. Request A is processed and
I'm really at my wit's end on this, I can't believe no one's ran into this
problem before...
How does one reset the servlet transient variable of an ActionForm? It's
null after serialization. And why does the programmer have to do this?
-Sasha
If your context root is /taglib, then you should specify the action mapping
relative to this root - /jsp/submit.
-Sasha
From: Pady Srinivasan [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
Date: Tue, 2 Sep 2003 15:34:54 -0400
To: [EMAIL PROTECTED]
Subject: basic
From Struts release notes 1.1 b1:
The ActionForm class is now truly serializable, because the two
non-serializable instance variables (servlet and
multipartRequestHandler) have been made transient. However, if you
actually do serialize and deserialize such instances, it is your
responsibility to
:
The Struts bean:write tag offers a format attribute (or formatKey if you
want to use a resource file).
But JSTL would be a better option if you can use it in your environment.
Steve
http://www.ninsky.com/struts/
-Original Message-
From: Sasha Borodin [mailto:[EMAIL
Lars,
Struts loads the property files you declared in struts-config into a class
called PropertyMessageResources, then binds that object to the
ServletContext; that's where bean:message tags get their data from.
The functionality you're looking for (retrieving a collection of keys) is
not part
I have not been able to use a reserialized ActionForm (ex. after restarting
a context). Most methods (reset, validate, etc.) were throwing
NullPointerExceptions.
I have traced/researched the problem down to transient variables that aren't
reinitialized. From Struts release notes 1.1 b1:
The
to use all the jstl stuff to format values stored in
your FormBean.
Brandon Goodin
-Original Message-
From: Sasha Borodin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 27, 2003 9:29 PM
To: Struts Users Mailing List
Subject: Re: Formatting form data inside the *view* (JSP's
);
form.setLocale(currLocale);
...
}
Jonathan
-Original Message-
From: Sasha Borodin [mailto:[EMAIL PROTECTED]
Sent: August 27, 2003 8:43 AM
To: Struts Users Mailing List
Subject: Formatting form data inside the *view* (JSP's)
Thought I'd throw this out in the middle
12:30, Sasha Borodin [EMAIL PROTECTED] wrote:
I would like to state a basic assumption I deduced in learning struts, then
pose a question.
Assumption: ActionForm property getters and setters should return and take
Strings.
My initial impulse was to try passing the actual data types
There are no public methods that return a collection view of keys (I think
this is what you want to get at). If you subclass PropertyMessageResources,
you can write your own method to return the keys from the implementing
HashMap.
Then you'd need to write a new Factory for your
) enum.nextElement();
System.out.println(key = + key);
}
Shane
-Original Message-
From: Sasha Borodin [mailto:[EMAIL PROTECTED]
Sent: Thursday, 28 August 2003 9:23 a.m.
To: Struts Users Mailing List
Subject: Re: keys of MessageResources
There are no public methods that return
at com.amfllc.web.forms.SearchPipelineActionForm.reset(Unknown
Source)
end log
Please see below for further details.
Thank you for any help.
-Sasha
On 8/22/03 17:54, Sasha Borodin [EMAIL PROTECTED] wrote:
I've been beating my head against this for a couple of days now, if someone
can help me out, that would
I would like to state a basic assumption I deduced in learning struts, then
pose a question.
Assumption: ActionForm property getters and setters should return and take
Strings.
My initial impulse was to try passing the actual data types (Dates, Numbers,
etc.); however, the Struts mechanism
I've been beating my head against this for a couple of days now, if someone
can help me out, that would really make my weekend :-)
I am having a problem with an ActionForm after restarting the context.
Here's some details:
1. I have a jsp with struts form tags.
2. This form has an ActionForm
This is how I'd do it using JSTL:
c:set var=prevName scope=request value=/
c:forEach var=person items=personlist
c:if test=${person.name != prevName}
c:out value=${person.name}/
/c:if
c:set target=${prevName} value=${person.name}/
/c:forEach
Hope this helps.
-Sasha
You can use a filter to intercept all requests to a particular URL pattern
and check for your object in session.
A filter is similar to a servlet in that it's a piece of code that gets
passed the request and response objects and operates on them; but it's
invocation is unique, because it's called
log.info(Entering LoginFilter.doFilter().);
HttpServletRequest httpRequest = (HttpServletRequest) request;
HttpServletResponse httpResponse = (HttpServletResponse) response;
HttpSession session = httpRequest.getSession(false);
if(session != null) {
log.info(Sending to log
PropertyMessageResources ;-) You would be much
better off with some sort of object-to-relational mapping tool. I use
Torque, but I have heard a lot of talk about Hibernate on this list.
Good luck,
Matt
- Original Message -
From: Sasha Borodin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent
Howdy, I'd like to pose a design question to the web-developers using
Struts, concerning the functionality and proper usage of MessageResources.
This is a really cool out of the box feature - I love the ease with which
one can maintain libraries of messages, and the seamless integration of
these
42 matches
Mail list logo