It has been a while since i used oracle, but that url looks wrong:
jdbc:oracle:thin:oci8:1521:ora9i
Can you have thin and oci in one url?
Larry
[EMAIL PROTECTED] 03/25/04 4:10 AM
Thanks chris,
so this is not because of any missing classes or jar files? is this a
connectivity issue? the
type=java.lang.exception
There is not such class.
Think big E instead...
Larry
[EMAIL PROTECTED] 03/23/04 9:10 AM
I'm trying to write an exception handler in my struts-config to clean up
my application's exception behavior. Well, I've followed the directions
in the docs to a T, I have this
Neither are valid:
http://jakarta.apache.org/struts/api/org/apache/struts/taglib/logic/package-summary.html
According to the jstl doc I have, instanceof is reserved, but not
implemented.
If you are not concerned about subclasses of foo.MyType, you could
probably use this:
c:if
Doing a google search for struts jericho might be a good start.
:)
[EMAIL PROTECTED] 03/15/04 8:40 AM
On a more on-topic note, where can I get info on the new features /
differences in Struts 1.1 and 2.0?
-
To unsubscribe,
String.split() may be able to do that if you are a regex stud (or know
one...or are good with google)..
Larry
[EMAIL PROTECTED] 03/15/04 2:20 PM
I did a google search on this and didn't really come up with anything
useful.
Before I implement this myself, is there an existing implementation of
This name seems like a bad choice.
The city of Jericho was destroyed and all its inhabitants were put to
the sword.
That sounds like a bad thing to me.
Larry
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
If you have the code to the tags, you can set breakpoints there, and
debug at that level.
I have found that to meet 100% of my debugging needs as far as JSP
debugging goes.
Larry
[EMAIL PROTECTED] 03/10/04 7:48 AM
1.First my apology for post this question which I have asked it already.
) it doesn't works.
-Ramadoss
-Original Message-
From: Larry Meadors [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 10, 2004 10:39 AM
To: [EMAIL PROTECTED]
Subject: Re: [OT]JSP Debugger
If you have the code to the tags, you can set breakpoints there, and
debug at that level.
I have found
the stack trace error.
Paul
Global Equity Derivatives Technology
Deutsche Bank [/]
Larry Meadors [EMAIL PROTECTED]
10/03/2004 15:54
Please respond to Struts Users Mailing List
Do it in the action?
[EMAIL PROTECTED] 03/10/04 11:48 AM
Hi,
Looking for aeasy way to sort entries in the drop down in my jsp, that
are populated using the bean and html: select tag with options:
collection:
my code as of now is below:
select name=fullName style=width:225px
logic:iterate
Bean utils (what struts uses in this case) sucks when it comes to
parsing anything but Strings.
Generally what I do is make put String getter/setter methods on the
Form, then in those (or in the Action) use a SimpleDateFormat to parse
the string into a date. One other thing to note there is that
[EMAIL PROTECTED] 02/27/04 5:44 AM
I am starting to develop an application using struts and have been
looking round the rest of the Jakarta project and came across the
Velocity project.
I was interested to see which which people recommended for a relative
newbie
After looking at
Make more memory available.
[EMAIL PROTECTED] 02/25/04 10:27 AM
My jsp is heavily loaded with struts tags.
When weblogic tries to generate a Java source,
It throws out of memory error,
If I cut that page in half it works fine.
How to overcome with all struts tag intact ?
Panchasheel
Yeah, that is the joy of bean-utils. It is best to leave it a stringon
the form and convert it yourself.
[EMAIL PROTECTED] 02/16/04 7:45 AM
I have a form with a Long property; I used Long instead of long to have
the property nullable, but if the (html) form includes such a property,
struts
Go to www.ibatis.com for ibatis docs and downloads.
Go to http://reumann.net/do/struts/main for tutorials.
Use irc to get to #struts_users on irc.darkmyst.org to talk to people
who use it.
Larry
[EMAIL PROTECTED] 02/14/04 7:00 AM
can any one tell me what is IBatis?
where can i get reference
A few dozen, yes. :)
Look at the java.text.NumberFormat class.
Larry
[EMAIL PROTECTED] 02/12/04 10:18 AM
In my business logic I return a java.util.List to my action. In this
action I run through the list and use the BeanUtils.copyProperties() to
convert the List elements into formbeans.
That is probably the simplest way.
Use the ApplicationResources.properties file to create the other
translations. Struts does much of the work for you.
If you are using tiles, you can even use it for i18n, too, so if you
have a different layout for different locations, it will do that for
you.
..instead of the html:errors tag.
The ActionError and ActionErrors classes are going away.
Avoid creating more dependencies on them now (and thus more pain later)
by using ActionMessage/ActionMessages instead. :-)
Larry
[EMAIL PROTECTED] 02/09/04 1:29 PM
in jsp use this:
html:text
can you use the jstl xml tags to do that? I am guessing you can, but
don't have time now to look it up...
LArry
[EMAIL PROTECTED] 02/05/04 1:57 PM
Hello...
I have a file called /foo/bar.jsp.
The file bar.jsp is an XML syntax JSP. The file is only being used by a
'forward' therefore the URL
It is because beanutils converts anything that is invalid to a 0, and
therefore, it is present, meeting the requirement for the required
dependancy.
Stupid, huh?
Larry
[EMAIL PROTECTED] 02/02/04 1:25 PM
All of my other forms validate perfect. This form will only validate
the name field and
1) How do you share the same application development? Do you use
a strategy? We are testing our business objects outside struts,
Are you all sharing a single tomcat instance for development? If so,
stop now! :-)
Set up a version control system (like cvs), and use one instance of
tomcat per
Use the MessageResources class.
I use struts:i18n ... tags in my application and it works
well. Now, i need to use Struts' internationnalization
functionalities
from an action (use case : I forward to a presentation framework and
do
not have acces to JSP, I can only use presentation
We use it where I work on a daily basis. It is simple to use, rock
solid, and very durable.
There are two major components to iBATIS: the DAO layer and the SqlMap
API.
The DAO layer provides a way to create Data Access Objects to hide the
implmentation from the application. For example, we have
That seems like a questionable design (dependancies between plug-ins),
but one possible solution might be to make plug-ins #2..n not really
plugins, but components that plug-in #1 uses. Then use the configuration
for plug-in #1 to specify which components to make available.
That would also
Go to www.ibatis.com and look at the sqlmap stuff. It lets you put all
the SQL in xml files and then call them by name.
If you need help getting started, look at http://reumann.net
Rick's tutorials are great.
Larry
[EMAIL PROTECTED] 01/16/04 10:51 AM
I read somewhere that it's possible to
Gabriel, look at these examples:
http://reumann.net
[EMAIL PROTECTED] 01/13/04 8:23 AM
hi
i'm starting to program with java struts
snip
somebody have a struts tutorial than help me to learn
about java struts?
-
To
Yeah, beanutils is a pain that way.
It does the same (and worse IMO) with other data types (i.e., set fred
into an Integer, and it becomes 0, not null, and no exception is
thrown).
You might want to try PropertyUtils.copyProperties() instead.
It *might* work.
Larry
[EMAIL PROTECTED]
I am working in an environment where we are mixing the two.
My advice to you is to *not* do it. Pick one and use it as it was
intended to be used.
I personally prefer iBATIS. It is very simple; it plays well with
existing databases; it allows you the flexibility, commodity and
performance
Would you call it .NUTS?
[EMAIL PROTECTED] 12/16/03 12:55 PM
Is anyone working on struts in .Net?
Curious..
Pritpal Dhaliwal
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
The iBATIS DAO is for sure *not* sqlmap or jdbc specific.
I have used the iBATIS DAO for LDAP and file system based data access.
Larry
[EMAIL PROTECTED] 12/16/03 3:35 PM
From: Ted Husted [mailto:[EMAIL PROTECTED]
You might be confiusing the iBATIS SqlMaps framework with the
seperate and
$4.75?!
Dang, I am getting robbed!
Larry
[EMAIL PROTECTED] 12/11/03 4:36 PM
Actually that figure is a bit high .. 4.75/hr if you want Health Insurance
Saludos,
Martin
- Original Message -
From: Marcus Peixoto [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent:
Welcome to java 101, formerly known as the struts-users mailing list.
Object references are passed to method calls. While that reference
cannot be changed, the object that it references can. On the other hand,
if you create a new action form and assign it to the form parameter,
nothing will
For the love of all that is good in the universe people!
Repeat after me: GOOGLE IS MY FRIEND.
http://www.google.com/search?q=java+deprecate+method
Larry
[EMAIL PROTECTED] 11/20/03 4:02 AM
hi ALl
Sorry for posting this question here, but it will be highly appreciated
if
anyone can explain
I agree.
At the same time I do not think that How do I deprecate a method? or
What is JSTL? kinds of questions should be answered with anything more
involved than a link or reference to google.
Remember the parable about giving a man a fish vs. teaching him how to
fish? As long as these
..or maybe the newbies just need to get thicker skins and be taught how
to think.
:-)
Larry
[EMAIL PROTECTED] 11/20/03 10:07 AM
Maybe you're right, but I think there might be enough people who read
the newbie list that could help people starting out. Maybe there could
be a few volunteers
PREACH IT BROTHER!
[EMAIL PROTECTED] 11/20/03 9:18 AM
I disagree, there is a clear distinction - asking a question without
having
read the docs shouldn't seem valid to a newbie. I agree that a lot of
these
concepts are not obvious, and a lot of the documentation is lacking -
that's
why this
You are correct, a reference to
http://www.catb.org/~esr/faqs/smart-questions.html may not help, but a
reference to google or some other appropriate search reference *will*
help in this area by reducing the traffic to a READABLE level and
getting people into the habit of thinking and looking
I could not disagree more. :-D
Give away the fish or teach people how to fish. What is the better
long-term solution?
Larry
[EMAIL PROTECTED] 11/20/03 10:23 AM
IMHO, the very best way to handle easy questions is with a link to the
answer.
HAHAHAH! Dang I missed a veggie tales thread!
Why do I doubt Mark was in on that one?
Larry
[EMAIL PROTECTED] 11/20/03 10:40 AM
-Original Message-
From: Long, Robert [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 20, 2003 11:36 AM
To: Struts Users Mailing List
Subject: RE: Lazy
[EMAIL PROTECTED] 11/20/03 10:36 AM
So from what I'm hearing here, as a newb, it is safe to assume
that all answers to my questions will be www.google.com...
If your questions are What is JSTL? or How do I deprecate a method?,
then yes 100% of them will be.
Well, that is typically the
Dang, I was going to ask what the latest one was, but a friend suggested
using GOOGLE INSTEAD!
What a great idea!
Heheh
Larry
[EMAIL PROTECTED] 11/20/03 10:47 AM
Has anyone caught the most recent LarryBoy adventure?
[EMAIL PROTECTED] 11/20/2003 10:40:09 AM
-Original Message-
..and all I ask is that when you get there, use your head first and my
inbox next! :-D
I will gladly help if I can.
Larry
[EMAIL PROTECTED] 11/20/03 10:20 AM
Well, a newbie like me is happy as long as I know I'm
not fishing in troubled waters:)
--- Larry Meadors [EMAIL PROTECTED] wrote:
I
Just bear in mind that all IDEs suck and that you will not find one that meets all of
your needs.
For what I need to do today, eclipse is the one that sucks the *least*, but make no
mistake: it still sucks. Nice fast java editing. XML and jsp editors totally suck
though.
Netbeans is good if
[EMAIL PROTECTED] 11/19/03 10:02 AM
Anything to do with Struts ?
Sure doesn't sound like it...
In IE 5, this does not happen and we are able to see 6 pages if
we have 30 records and 5 recrods per page.
In IE 6, we are sometimes able to view 4 pages (24 records)
and sometimes 3
If you do not require the collection after the page is rendered, you could put it into
request scope. This is what I do to populate listboxes, tables, etc..
That way they don't hang around any longer than they need to - they get used to render
tha page, then get discarded. If you are using a
I don't think there is one, but maybe somone will educate me. ;-)
Why not put this in ApplicationResources and then use the bean:message
tag?
Larry
[EMAIL PROTECTED] 11/18/03 8:31 AM
which tag do u use to access the constants from the class as I don't
want to use JSP Scriplets???
Thanks,
S!
The reason I don't do this is because if the form is in session scope,
it hangs around consuming memory until the session goes away.
As a caching mechanism, this bites rocks, because it is cached for each
user. :-/
By putting this type of stuff in request scope instead of on the form,
it
Are you using the jsp writer, or the servlet output stream?
JSP writer assumes char data and totally borks the pdf.
SOS assumes binary data.
Larry
===
Hi All,
I want to display one PDF file in my websphere struts framework. when i
do
it without struts (only servlets ) it works but when i
Why would you ever do this? This looks like a complete and total kludge.
If you are sending back binary data (application/pdf), just do it from the action
class using the response.getOutputStream() and return null from the execute method.
Advantages:
- you already have everything you need
[EMAIL PROTECTED] 11/12/03 3:14 PM
Am Mittwoch, 12. November 2003 21:31 schrieb Craig R. McClanahan:
Quoting Larry Meadors [EMAIL PROTECTED]:
Why would you ever do this? This looks like a complete and total
kludge.
If you are sending back binary data (application/pdf), just do it
from
javamail from sun will do email + attachments
commons-net will do some, too
[EMAIL PROTECTED] 11/05/03 1:24 PM
Hi All,
Is any free java utils to send mails , aatchements, ftp files using
java ?
Thanks,
Rachid.
-
To
Heheh, if there were, how many copies of this do you suppose would get
sold?
Write the code or buy it you lazy bum. ;-)
Larry
[EMAIL PROTECTED] 11/05/03 1:51 PM
Thanks, but what I meant is something like iNet Factory from jscape
checkout this website
Yes.
[EMAIL PROTECTED] 11/03/03 11:56 AM
Hi,
I getting the following warning while generating
Javadoc from ant build file..
is there anyway I can get rid of these warning.??
-
To unsubscribe, e-mail:
Are you saying you use the member tag just so you can look at the html
and see that it is being output?
Larry
[EMAIL PROTECTED] 10/31/03 1:34 AM
No matter what, just a sign for our debugging in Browser.
From: javen fang [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
Disabled controls are not sent - that is an HTTP thing. You can use a
hidden field or some other trick to get it there (or rely on the value
of the radio button).
Last I checked, the first form works only in IE. If you are writing only
for IE, that's ok, but it is something to consider. The
Yes, JSTL plays very well with struts even though there is a great deal
of overlap.
I use JSTL exclusively for non-form elements - i.e., pure presentation /
output stuff.
Larry
[EMAIL PROTECTED] 10/24/03 12:11 PM
The web app was developed using Struts. This is a new section of the
app I
am
Hmm, odds are that a project small enough to not require a database
layer is small enough to not require struts either.
Heck if you have 5 pages, why use either, just use the SQL tags in jstl
and be done with it.
Larry
[EMAIL PROTECTED] 10/24/03 10:52 AM
--- Vic Cekvenich [EMAIL PROTECTED]
If you want some examples, check out Rick Reumann's struts / ibatis
stuff.
Simple and really easy to follow:
http://www.reumann.net/
Larry
[EMAIL PROTECTED] 10/24/03 12:17 PM
Thanks tim (newbie here!!) I am looking into these products right now.
But what is torque then for. I am sorry if
scarab.tigris.org
Pretty decent, a few stupid quirks, but not bad.
Larry
[EMAIL PROTECTED] 10/20/03 3:30 PM
Is there any web based open source/free bug tracking software available?
We are using struts, but it doesn't have to be struts based as long as
it is Java. :-)
Doing it the way you describe will only work from a servlet. If that is
ok, stop reading and do it that way. :-)
A more general way would be to use a classloader instead. There are many
good articles on how to do this (google for 'classloader resource'), but
one simple way is this:
Yep, Tim's right.
Search your app for \ characters. Odds are you have some config file
that has one. Change 'em to / and it will work in either OS.
Tim's always right. He is one fart smeller, er, umm smart feller.
Larry
[EMAIL PROTECTED] 10/15/03 11:42 AM
From the initial look of it.. It is
Brandon,
It is not that you are a stupid person per se, but that idea is quite
possibly the stupidest thing I have heard a *mammal* suggest.
Larry
[EMAIL PROTECTED] 10/15/03 10:06 AM
How about we set up a review board that examines every post to the list.
Discards pointless discussions (like
stupid (note the grammer Larry ;) thing for a mammal to say
is:
Yes Dear.. That dress *does* make you look fat
-Tim
-Original Message-
From: Larry Meadors [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 15, 2003 1:52 PM
To: [EMAIL PROTECTED]
Subject: Re: IMPORTANT: how to tell
I did some printing to a HP JetDirect using an open source line print
requester. Very simple to use!
http://sourceforge.net/projects/jlpr/
If your printer can handle pdfs natively (some can now), you could do it
that way. If not, could you maybe do it with PostScript?
Larry
I meant printing
It looks like your jsp is trying to do a forward too.
I seem to remember hitting this long ago - if you have ANY output in a
jsp, you cannot do a forward.
Larry
[EMAIL PROTECTED] 05/22/02 04:40PM
In my action I have defined:
String idxPage = /jsp/thankyou.jsp;
and later in the code,
If you use the JPDA debugger, you can use any version of tomcat *on any
machine* with the NB debugger.
Mount all the jars in the $CATALINA_HOME/common/lib directory.
Mount all the jars in then your-context/WEB-INF/lib directory.
Mount the your-context/WEB-INF/classes directory.
Next, set an
Gee, I had the exact same problem at my house this weekend. ;-)
The build for struts was trying to build tiles, but it looked like when
using relative paths for my struts build, the tiles build looked in the
wrong directories for supporting jars and puked.
I changed one build.xml file and
This is how I use them (and ant with tomcat 4 instead of 3 now, but real
similar setup on tomcat 3). I do not know that this is the *best* way,
but it works pretty good for me. ;-)
I mount the docRoot of my tomcat context in netbeans. When using 3.3.1,
it creates a real useful project view for
The husted.com site has some good stuff.
http://husted.com/struts/
Larry
[EMAIL PROTECTED] 05/09/02 10:05PM
I agree. The documentation is a little hard to follow.
There are many other places that have docs and samplescheck out
some of
these links.
property?
Larry
[EMAIL PROTECTED] 05/01/02 09:34AM
-Original Message-
From: Larry Meadors [mailto:[EMAIL PROTECTED]]
OK, I have this html:
select name='unt' multiple='yes' disabled='yes' size='5'
option value='MAINE'Maine/option
option value='FLTHD'Flathead/option
option value
as an array.
Should I be watching for a carrier pigeon? :-)
Larry
-Original Message-
From: Larry Meadors [mailto:[EMAIL PROTECTED]]
OK, I have this html:
select name='unt' multiple='yes' disabled='yes' size='5'
option value='MAINE'Maine/option
option value='FLTHD'Flathead/option
option
Pete,
You sound like you are on the same path I am. The last application used
a custom model that was written in-house, based on jsp tags and struts
action servlets.
With the current project, we are using TC to provide the security (via
LDAP to a Novell NDS tree).
So far, the only
OK, I have this html:
select name='unt' multiple='yes' disabled='yes' size='5'
option value='MAINE'Maine/option option
value='FLTHD'Flathead/option option
value='CLRWT'Clearwater/option option value='RKYPR'Rockies
Purchased Logs/option option value='WNFLD'Winnfield/option
option
You could use Oracle's connection pooling. You can use either the oci or
thin client (in fact, the jdbc url is the same for pooling).
The only difference I saw was that you get connections from the pool
instead of from the driver manager.
The pool class is
74 matches
Mail list logo