Hello Vishal,
You should provide more information. How did you declare your bean. Copy
that line from the struts-config.xml.
Where do you set the values and where do you try to access them? How about
if you try to access them right after you set them. I am sure that will
work.
I think it seems
So I have never tried this..
But if someone can try it and let me know.. Check this out
http://www.raditha.com/megaupload/jsp.php
Its progress bar thing that uses struts :) Today when I was driving to
work.. I thought if a progress bar can be done using an applet.. :) ideas.
ideas.. ideas..
Some cookie spec says:
The path attribute is used to specify the subset of URLs in a domain for
which the cookie is valid. If a cookie has already passed domain matching,
then the pathname component of the URL is compared with the path attribute,
and if there is a match, the cookie is considered
On Thursday 26 February 2004 20:12, Dhaliwal, Pritpal (HQP) wrote:
Now. Still remember when you wrote your first crappy lines you
proudly called a 'program'? *That* exactly is what we all started
from, considering me: nearly 23 years ago on a little ZX81 box,
doing my first steps in Assembler
Viru Bhai,
No,
You code is not good or optimized. You have problems follwing instructions.
Your question is not related to struts and you didn't put OT in the subject.
Even if you put OT in subject, It would still be a bad question because
that's not what this list is discussing.
Primary reason
I think you really mean encrypt.. Not just code and decode..
Look at this: http://javaalmanac.com/egs/javax.crypto/DesFile.html
URLDecoder is and URLEncoder is put put those %20 instead of space in the
URL I think.. Doesn't really add any security to what is URLEncoded.
I guess you can get the
Things like Hibernate (ORM layer) might do some of these tricks for you.
I think it only updates what has been changed and if you use caching, you
are optimizing many other things..
Pritpal Dhaliwal
-Original Message-
From: Slattery, Tim - BLS [mailto:[EMAIL PROTECTED]
Sent: Tuesday,
Hello Nushin,
Foo Bar :) (Greetings)
Lazy programmers. People were tired of using .html, so they started using
.do. Its smaller to write, less code, so your code executes much faster. One
of the way java can run much faster than other competing technologies.
This is also another way to staying
Why not a have cookie field in the database table..
You generate a random string, put that as a cookie on the client. Now when
you get that cookie back, check if one of your users have that value stored
as a cookie. That's the user.
Pretty simple and no exposing users ids or passwords.
Pritpal
I generally like to stay away from using login.jsp AND a failure.jsp. Mainly
because its two different pages to maintain, when they look very similar.
So use just login.jsp for both just simple login, and failure.
I would suggest that in your DisplayLoginAction or similar, set a request
Pick up something like mozilla as source,
Fix it up so it has no location bar.. ( maybe just a link to ur app )
Distribute it...
Now they can enter stuff in ur forms and all, but not in the location bar..
Hey its opensource, use it..
Pritpal Dhaliwal
-Original Message-
From: Mark Lowe
Is anyone working on struts in .Net?
Curious..
Pritpal Dhaliwal
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This is what you are looking for:
http://www.bachansoft.com/tutorials/web/strutsquickstart.jsp
Pritpal
-Original Message-
From: Travis D. Falls [mailto:[EMAIL PROTECTED]
Sent: Monday, December 15, 2003 12:35 PM
To: 'Struts Users Mailing List'
Subject: RE: just learning it
Yes I went
server also...
Just wanted to let everyone know. My app server is resin-2.1.11
I will go to resin mailing list and see what they gotta say...
Thanks..
Pritpal Dhaliwal
-Original Message-
From: Dhaliwal, Pritpal (HQP) [mailto:[EMAIL PROTECTED]
Sent: Monday, December 08, 2003 9:48 AM
and then suddenly
stopped working for all the .do actions.
And then again sometimes it would work fine.
However i could never find the problem.
so post up if you do find the problem.
Ajay
From: Dhaliwal, Pritpal (HQP) [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject
How much javascript is there??
Funny things happen when there is lots of javscript involved.. Esp when you
are messing around with spans, their visibility being changed with js and
all..
I generally stay away from javascript, unless really needed..
Paul Dhaliwal
-Original Message-
Hello Everyone,
I am using: Struts and Resin 2.1.11
All of sudden my index.do, or any other .do is not being recognized by resin
anymore.
It was working fine two days ago, all of sudden I am getting 404s
In the logs I see that its picking up the correct struts-config.xml and it
is that
'
Subject: RE: .do's come back as 404 file not found
What's the url pattern for your action servlet defined in web.xml?
-Original Message-
From: Dhaliwal, Pritpal (HQP) [mailto:[EMAIL PROTECTED]
Sent: Friday, December 05, 2003 1:48 PM
To: Struts Users Mailing List
Subject: .do's come back
So when you want to upload a file, the FormBean should have a FormFile
member
How do I get DiskFile from FormFile??
Can I just declare a member DiskFile in the form bean and it will give me a
disk file?
TIA,
Pritpal Dhaliwal
Navjot Singh ,...India has always been protector of underprivilige and
enormous immigrant from Pakistan, bangladesh, srilanka
Some believe they have forgot(or suppressed) their own
http://www.sikhs.org/1984.htm
I have always wondering whats up with that
Pritpal Dhaliwal
-Original
I thought I would just add my 2 cents also and wish every Happy Diwali
Diwali is celebrated all over India, and it has special importance to Sikh
Religion. You can read more about it here
-http://www.sikhstudy.com/diwali_for_sikhs.html , but the most significat
reason was that Sikh Guru Hargobind
There is lot of good tutorials out there. Here is one I wrote, which I think
works good for beginners. It is very intuitive.
http://www.bachansoft.com/tutorials/web/strutsquickstart.jsp
HTH,
Pritpal Dhaliwal
-Original Message-
From: Luiz Gustavo M. Almeida [mailto:[EMAIL PROTECTED]
www.mvnforum.com
Check it out :)
Pritpal Dhaliwal
-Original Message-
From: Robert Taylor [mailto:[EMAIL PROTECTED]
Sent: Monday, October 13, 2003 7:48 AM
To: [EMAIL PROTECTED]
Subject: [OT] Forum solutions
Greetings, I'm currently trying to hunt down a java based forum solution
which
I don't think that's possible, not if everything is built to do the right
thing.
If I understand correctly, you want to tell they people that they have
uploaded
C:\mydocs\doc1.txt (client's path to the file) on their computer (client's).
Well, browsers are not supposed to send the whole path to
Hello Folks,
So when does someone use Struts Chaining? I just went to
www.strutschaning.org. I read its documentation and I am little lost on when
I would use it. An actual example with its need would make me very very
happy.
Pritpal Dhaliwal
It just means the you are trying to do a .forward on a response which you
have already starting writing something to.
Generally You should not be forwarding stuff in a JSP because most likely
than not, you have started writing to the response as soon as you are in the
JSP. Your forwardings*
Hello everyone,
I have written a struts tutorial that I think will help someone who wants to
learn how to use struts fast. I wrote this tutorial because the struts
documentation lacked something for the people like me who want to see struts
in action fast, and also want to understand how all the
1) Not sure if torque you can deal with different datasources, but I know in
hibernate you can ask it to work from a connection that you supply. So now
you get that connection from any data source you like.
Creating databases for each user is bad idea I think. I think there should
be one database
I think it's a bad idea to have 100 items in the list, when you only plan to
show 10.
For one, you are not sure when the user is going to click the next button,
so you have 100 objects sitting in a list, for a session, and your memory
will go bye bye soon.
You should do some business logic /
Hello,
I do this in my code:
html:form action=/Greetings
html:text property=flyer2/
/html:form
And it says this when I run it :
javax.servlet.jsp.JspException: Cannot retrieve definition for form bean
null
at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:831)
at
Very new to the list, so be easy if I mess up..
Why not use the Calendar class?
Pritpal
-Original Message-
From: Chen, Gin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 10, 2003 2:01 PM
To: 'Struts Users Mailing List'
Subject: RE: Valid Regexp for MM/dd/ matching in a
31 matches
Mail list logo