starki78 wrote:
Do you think this framework is stable and good?
I have tested it and my first impression is not bad.
Is there someone who uses it for its purposes?
Ciao Christian
Hi Christian,
I use struts-layout from 4-5 months, and it saves a lot of develompent time.
One of the best fe
oh, hi "d" :)
If you could, plz show me how to restrict by Servlet-Filter.
thanks to you
Pham
- Original Message -
From: "d d" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Tuesday, August 02, 2005 12:32 PM
Subject: Re: [HELP] How can deny access to folders at web app roo
I would be interested in getting a feel for those developers who
would be interested in a dynamic table renderer that allows for
automatic sorting across a single or multiple columns and the ability
to redisplay only the table using Frank Zametti's AjaxTags (it can do
it as a whole page to,
hi Pham ,
If u r clear with the concepts of Srevlets..u can use Servlet-Filters to
ristrict access to perticular folders on ur application.
Another way is to Use Tomcat configuration to whether show user the Directory
list.
See if this helps u out.
Best Luck
On Tue, 02 Aug 2005 Pham Anh Tuan
Did you set load-on-startup for ActionServlet in web.xml?
Erik
-Original Message-
From: Kade Jeevan Kumar <[EMAIL PROTECTED]>
Sent: Aug 1, 2005 11:40 PM
To: user@struts.apache.org
Subject: Problem with Installing the Struts
Hi All!
I am using Tomcat 4.0.6, Java 1.4, Struts 1.1 for my
Thanks to Tamas, if do like what you instruct me, what about Image
resources? I couldn't access to view them if I use code in jsp file. Such
as: :(
The solution of Paul solved my problem :)
HTTP Status 404 - /auctionsystem/images/
Pham,
Go into your Tomcat/conf directory and edit the
default web.xml. You want to turn directory listings
off from the default servlet:
default
org.apache.catalina.servlets.DefaultServlet
debug
0
Hi,
Pham Anh Tuan wrote:
Hi all :)
I use Tomcat and Struts framework to build my web app.
I lay jsp document file at web app root.Such as cart and user.
something like:
/cart
/user
/WEB-INF/
When I run my web app, I could access /webapp/cart folder and /webapp/user
folder from browser
Hi all :)
I use Tomcat and Struts framework to build my web app.
I lay jsp document file at web app root.Such as cart and user.
something like:
/cart
/user
/WEB-INF/
When I run my web app, I could access /webapp/cart folder and /webapp/user
folder from browser. All files in 2 folders abov
oh, my god, "I TIE MY HANDS BY YOU" :D
Pham
- Original Message -
From: "Vic" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Cc: "Struts Users Mailing List"
Sent: Tuesday, August 02, 2005 9:46 AM
Subject: Re: [HELP] Web hosting for JSP Struts+iBatis+DAO?
Pham,
If you decide to
Jeevan,
What do your Tomcat logs show regarding your particular struts webapp? The
$CATALINA_HOME/logs directory.
Regards,
David
-Original Message-
From: Kade Jeevan Kumar [mailto:[EMAIL PROTECTED]
Sent: Monday, August 01, 2005 11:40 PM
To: user@struts.apache.org
Subject: Problem with In
Hi Jeevan,
Can you please list the names of the jars that you've included in your lib
folder.
People typically forget to include the 'standard.jar' jar.
In addition, are you sure that your action class extends the
org.apache.struts.action.Action class. Forgetting to extend the class
(something
Hi All!
I am using Tomcat 4.0.6, Java 1.4, Struts 1.1 for my initial struts set up
application.
I configured the required libraries to run Struts application.
But the problem is when i try to run the application using struts i am getting
the following exception in my jsp
"Servlet action is cur
Pham,
If you decide to go with them... can you specify me as a referrer? This
way, I can get 3 months of free hosting ;)
Thanks.
Vic
> Thanks Vic,
>
> I will try it :)
>
> again, thank you very much :)
>
> Pham
> - Original Message -
> From: "Vic" <[EMAIL PROTECTED]>
> To: "Struts Use
Thanks Vic,
I will try it :)
again, thank you very much :)
Pham
- Original Message -
From: "Vic" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Cc: "Struts Users Mailing List"
Sent: Monday, August 01, 2005 7:52 PM
Subject: Re: [HELP] Web hosting for JSP Struts+iBatis+DAO?
Hi
I am posting this message using roomity!
Features now and future, we started on version1.5 features this weekend:
http://roomity.com/news.jsp - yada, yada.
We process arround 45K messages per day.
* http://roomity.com to launch!
bugs(release early and often!):
http://tracker.roomity.com:9080/t
Pilgrim, Peter on 01/08/05 09:30, wrote:
Struts 2 should force an Action or ActionForm to be interface or
subclass of an abstract type, hence dependency injection.
If the former is the case, then it follows that calling the action
method should be flexible
public void bluegrass(ActionContext a
Paul Benedict on 01/08/05 12:54, wrote:
Peter writes:
(2) Stubbing of abstract attributes for framework
implementation like Tapestry.
Are you talking abouting the ``jwcid'' attribute?
No.
When you create a Tapestry page, you don't have to
implement the getters - or even write the setter
me
Thank you Leon Rosenberg and Raj Tilak, this works perfect by turning
filter="false".
Leon Rosenberg <[EMAIL PROTECTED]> wrote:
In this (and only this case) you can use bean:write with filter="false"
This will work
> -Ursprüngliche Nachricht-
> Von: Carl Smith [mailto:[EMAIL PROTECTED
In this (and only this case) you can use bean:write with filter="false"
This will work
> -Ursprüngliche Nachricht-
> Von: Carl Smith [mailto:[EMAIL PROTECTED]
> Gesendet: Montag, 1. August 2005 22:08
> An: Struts Users Mailing List
> Betreff: Form bean's attribute displays as Html
>
try one of the attribute in the bean:write which is
filter="true"
From: Carl Smith <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List"
To: Struts Users Mailing List
Subject: Form bean's attribute displays as Html
Date: Mon, 1 Aug 2005 13:07:47 -0700 (PDT)
I have an attribute in my Acti
I have an attribute in my ActionForm (called myForm) called text, this text
have a value of
http://www.yahoo.com";>Click here to Yahoo.com, now I want this
attribute to be displayed on web page as a hyper link. I used , which prints http://www.yahoo.com";>Click here to Yahoo.com on the screen.
you got to specify the target in the href or form action
or whatever method you are using it
From: "Rivka Shisman" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List"
To: "Struts Users Mailing List"
Subject: forward to a new window
Date: Mon, 1 Aug 2005 16:11:04 +0200
Hi friends
Hi,
my problem is the following. I get this error in my
application:
Servlet action is currently unavailable,
I would like to know if you need to do something
special when you are using in your applicacion a
database that is NOT in your host but in a different
machine
here is the strut config
Kalra, Ashwani wrote:
I have a message defined like this in .properties file
2001={0} is required
I am passing for eg "status" for the {0}
Errors tag is printing it like this
[status] is required
Why its printing [] in the actual message ?
Because that's what you've told it to ;-) Check w
What version of Struts are you using? ActionRedirect from Struts 1.2.7
makes it easy to do what you want. On prior Struts releases, I think you
can do something like:
ActionForward fwd = new ActionForward(mapping.findForward("searchForm"));
fwd.setPath(fwd.getPath() + "searchMode=searchFlig
I'm not clear from yoor description what it is you're doing, but I can tell
you what the exception means. You're requesting or triggering a browser
redirect after part of the response has already been generated, which wont
work. If you need to redirect the request somewhere else, you need to do
Doesn't look like you are using it to me . . .
http://www.imagescript.com/atg/articles/jsp_j2ee/error_page_basics.htm
Erik
-Original Message-
From: Tremal Nailk <[EMAIL PROTECTED]>
Sent: Aug 1, 2005 12:26 PM
To: Struts Users Mailing List
Subject: Re: Exception handling in Struts
2005/
2005/8/1, Dave Newton <[EMAIL PROTECTED]>:
> Probably want to use the web.xml exception stuff, then (error-page
> element, maybe?)
well, I'm using it (see my original posting), but the exception is not
caught, simply ignored. Anyway you are right when you say that the
exception should always be ca
Tremal Nailk wrote:
2005/8/1, Joe Germuska <[EMAIL PROTECTED]>:
what's I'm doing wrong?
Struts can't catch exceptions thrown by the JSP. This is one reason
ok, anyway I'm looking for a way to catch all the exception thrown by
may app. So throwing a dbexception was just an exa
2005/8/1, Joe Germuska <[EMAIL PROTECTED]>:
> >what's I'm doing wrong?
>
> Struts can't catch exceptions thrown by the JSP. This is one reason
ok, anyway I'm looking for a way to catch all the exception thrown by
may app. So throwing a dbexception was just an example. There is
always something t
what's I'm doing wrong?
Struts can't catch exceptions thrown by the JSP. This is one reason
(among many) why I would design something like this to do the
database work in an action and deliver only data to the JSP.
Joe
At 4:40 PM +0100 8/1/05, Tremal Nailk wrote:
Hello, I'm trying to cap
On 7/31/05, Nick Heudecker <[EMAIL PROTECTED]> wrote:
> > I think there are a lot of people out there who feel as you do, but
> > backwards-compatibility has always been a major theme for those
>
> While backwards compatibility is nice, I would rather see a better
> framework for the 2.x release.
On 8/1/05, Yaroslav Novytskyy <[EMAIL PROTECTED]> wrote:
> Hi!
>
> I use a pattern of PrepareAction-> view.jsp-> SubmitAction and also
> combine those parts to chains like this OnePrepareAction-> oneView.jsp->
> OneSubmitAction-> TwoPrepareAction-> twoView.jsp-> TwoSubmitAction. All
> actions and
Hi Yaroslav,
On my side, I'm using an other method than your. I use the
oneSubmitAction to prepare the form of the next page. So, it look like this
:
OnePrepareAction->oneView.jsp->OneSubmitAction/TwoPrepareAction->twoView.jsp
. The subtility in the OneSubmitAction/TwoPrepareAction is
I would start by installing Struts within your application alongside your
existing servlets [I assume you are using servlets]. If you use something
like my eclipse it will install the resources you need with an empty
configuration. You can then start the app and it will run like it always
did.
Hello, I'm trying to capture exceptions generated inside my jsp pages.
I wrote a piece of code like this into my jsp:
<%
..
DatabaseException de = new DatabaseException("Test Exception for the
error page");
throw de;
...
%>
I added these pieces in my web.xml and struts-config.xml
--
Hi All,
We are trying to use struts but the approach we are taking is an incremental
migration to struts. What is the best way to integrate a struts project with an
existing web project that does not use struts. Any information will be helpful.
thanks,
Djeneba Traore
Software Engineer
Mellon F
2005/8/1, Jim Kennedy <[EMAIL PROTECTED]>:
> This you do this is your struts config:
>
>
>
>
>
>
>
>
> There is also a Tomcat config for SSL. Also, I didn't put my login.jsp (or
> whatever) in the special /WEB-INF/ directory.
Vic wrote:
I've been trying to use in a similar way to
but am unsuccessful.
http://struts.apache.org/userGuide/struts-bean.html#include
"This tag has a function similar to that of the standard ||
tag, except that the response data is stored in a page scope attribute
instead of being wri
To expand on Vic's comments.
Yes the share the same session id but they also have a JavaScript
relationship. The opener parent can be accesses from the child window from
referencing the window.opener API. If the new window is assigned to a
windows variable then the parent can reference that child
This you do this is your struts config:
There is also a Tomcat config for SSL. Also, I didn't put my login.jsp (or
whatever) in the special /WEB-INF/ directory. Seems like it should work, but I
would
Fortunately, that's what list archives are for :) I see your post, I'll
reply on the list shortly.
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
On Mon, August 1, 2005 10:03 am, Tamas Szabo said:
> Frank W. Zammetti wrote:
>
>>No problem a
This is probably ripe for a Wiki entry :)
As you found out, Struts can't find an Action mapping with an anchor added
to it... it's trying to find, literally, an ActionMapping named
"someAction.do#someLabel". You might, I suppose, be able to make that
literally your mapping path, I've never tried
Hello everybody,
I just tested the date validation in Struts 1.1 and it seems to me that
12/31/2004 is valid but 12-31-2004 is invalid. Do you know what I should
change so that 12-31-2004, Dec 31 2004 are valid? And are the date
validation rules in version 1.1 and 1.2 the same?
Sincere
Frank W. Zammetti wrote:
No problem at all, that's what the list is for :)
Woo-hoo, first subscriber (besides me)! :)
Too bad there's no prize :)
Oh wait, now that's embarassing... I wasn't subscribed to my own list! D'oh!
To tell you the true I was afraid of this... :-DDD
I thougth tha
No problem at all, that's what the list is for :)
Woo-hoo, first subscriber (besides me)! :)
Too bad there's no prize :)
Oh wait, now that's embarassing... I wasn't subscribed to my own list! D'oh!
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnyt
> 1. What are the relations between the new window and the original one?
> Do they share the same session attributes?
Typically, the parent & child window will share the same session attributes.
> 2. How do you define a child window in JSP - can you please attach an
> example?
You would have to
Sorry, i only read the first paragraph :-/
Manos
Emmanouil Batsis wrote:
The only way is to include JS code in your response, to open a new
windows for that resource. Questions like this one usually come from
designs that can be improoved though.
hth,
Manos
Rivka Shisman wrote:
Hi frie
The only way is to include JS code in your response, to open a new
windows for that resource. Questions like this one usually come from
designs that can be improoved though.
hth,
Manos
Rivka Shisman wrote:
Hi friends
I would like to know if there is a way of forwarding a request to a n
shalom rivka,
there is no whatsoever relation between html-controled browser windows
and the backend struts-java-code.
besides, you can access the new window from the old window using its
name, and you can access the old window from the new window by
window.opener or window.parent (depends on ho
Thanks guys
2 related questions:
1. What are the relations between the new window and the original one?
Do they share the same session attributes?
2. How do you define a child window in JSP - can you please attach an
example?
Rivka
-Original Message-
From: Mark Benussi [mailto:[EMAIL
when writing a link the target attribute can be set with _new or _blank or
even the name of a child window. When youclick on the link it will open in
said new window.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Hi Rivka,
Try the following:
link
This will open your action in a new window.
Vic
> Hi friends
>
>
>
> I would like to know if there is a way of forwarding a request to a new
> explorer window.
>
> For example, in the current window I have a list of books and a link to
> a book details page fo
-Original Message-
From: Kalra, Ashwani [mailto:[EMAIL PROTECTED]
Sent: Monday, August 01, 2005 6:13 PM
To: user@struts.apache.org
Subject: html:errors tag
Hi,
I have a message defined like this in .properties file
2001={0} is required
I am passing for eg "status" for the {0}
Error
Hi friends
I would like to know if there is a way of forwarding a request to a new
explorer window.
For example, in the current window I have a list of books and a link to
a book details page for each book in the list - how do I open the book
details in a new window using Struts?
Thanks
R
Hi,
I've been trying to use in a similar way to
but am unsuccessful.
I am trying to include a footer on my page by writting the following:
Unfortunately, I don't get any errors and the page is not included. Must
I do something with footerId to get working?
Thanks for your help.
Vic
-
Hi Pham,
If your host is able to support java, then you should be able to install a
struts application which uses iBatis. This is because Struts & iBatis are
frameworks.
Anyhow, several java hosts have been recommended on this list (thread 'OT:
Good Java host'). Personally, I use http://www.ala
Hi!
I use a pattern of PrepareAction-> view.jsp-> SubmitAction and also
combine those parts to chains like this OnePrepareAction-> oneView.jsp->
OneSubmitAction-> TwoPrepareAction-> twoView.jsp-> TwoSubmitAction. All
actions and views of this chain uses one FormBean which lives in the
session
I think I'm missing the point of the TilesRequestProcessor
I have a few simple tiles in a project with to
modules (default & crud). Actually the default
uses tiles and the other one doesn't.
Now, the tiles in the default module seem to
work just fine, but a friend told me, that I would
ne
Hi,
I have a message defined like this in .properties file
2001={0} is required
I am passing for eg "status" for the {0}
Errors tag is printing it like this
[status] is required
Why its printing [] in the actual message ?
Thanks
Ashwani
This message contains information that may be pri
On 7/31/05, Nick Heudecker <[EMAIL PROTECTED]> wrote:
> > I think there are a lot of people out there who feel as you do, but
> > backwards-compatibility has always been a major theme for those
>
> While backwards compatibility is nice, I would rather see a better
> framework for the 2.x release.
Peter writes:
>> (2) Stubbing of abstract attributes for framework
>> implementation like Tapestry.
>> Are you talking abouting the ``jwcid'' attribute?
No.
When you create a Tapestry page, you don't have to
implement the getters - or even write the setter
methods for attributes (unless you wan
Hello,
Here is what I am trying to do. Could you please help me?
I have one search form 'searchForm'
this form is customised for Holidays and Flights based on a
parameter sent..
when submitted it goes to
SearchAction is again a common commponent serving searching
for flights or holidays ba
2005/7/29, Jim Kennedy <[EMAIL PROTECTED]>:
> I had to do this to make it work.
sorry, but it doesn't work, or better, it doesn't work for me . The
problem is that when I try to access a protected resource the
browser's request is redirected to the root of the app:
http://localhost:8080/myapp/
s
Hi Frank and Rick,
I've just subscribed to the JWP mailing list.
If it's ok with you I will post messages related to this filters there...
Tamas
Frank W. Zammetti wrote:
On Fri, July 29, 2005 12:34 am, Tamas Szabo said:
Did you made the modification I suggested?
I mean not continuing the
Hello,
I would like to make a redirect (code 302) and include in the URL a HTML label
name - something like "someAction.do#someLabel". Unfortunately I'm getting an
error saying that action "someAction.do#someLabel" is unknown.
How would you handle this problem?
Best regards,
Konrad Billewicz
> -Original Message-
> From: Paul Benedict [mailto:[EMAIL PROTECTED]
====
>
> Frank,
>
> I am fond of these two ideas (see following). Heck, I
> would be willing to even write them if I think there
> would be a chance of someone actually commiting them
> into the Trunk!!
>
> There ar
this usually occurs when ur response has already been redirected and again u r
calling REquestDispatcher to forward to next page..
check if action forward is set only once..
or if accidently u have called response.sendRedirect();,somewhere on ur jsp or
Action class
hope this helps u out
On
69 matches
Mail list logo