I'm having two issues -
1) I cannot forward (or map) to an individual file - only to a path.
I'd like to find a way to be able to forward to a specific file (html, pdf,
etc.). Is this a configuration issue?
2) When I execute a forward action in struts config, I can only
forward to a j
I'm using struts 1.2.9 with Apache 2.2 and Tomcat 5.5.
I have configured struts to use tiles and my web application appears to be
working flawlessly up until now.
I've been told that I need to display pdf files in a new browser window when
someone clicks on a pdf link on the website. This seems a
I have a serious problem.
I'm running a webapp built on Struts 1.2.9 running in Tomcat 5.5 and using
an Apache 2.2 http server. I've noticed that any value I put into the
session is always removed after one request/response cycle. In the Tomcat
Manager, I can see that every time I hit the webapp a
I'm thinking my problem might be related to the fact that my mappings in
struts-config.xml are using forwards? Does this sound like it could be the
problem? For example, from the home page you can link to the FAQ page. Here
is the mapping for the FAQ page from my struts-congif.xml file: "". By doin
Quick question -
I have a web application built on Struts 1.2.9. The home page places a
"user" object in the current session when it executes using the following
code:
.
//Call common methods
userSession = getUserSession(request);
request.getSession().setAttribute("userSession", userSession);
Thanks Leon.
I've already started implementing an action hierarchy.
Before I started down this road, I just wanted to make sure I wasn't doing
more work than I needed to. =)
-D
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For ad
My lack of Struts knowledge is showing here, but -
I need to move data from my action object to my jsp through some sort of
value object (probably a bean). For example, my web application will use
breadcrumbs at the top of the body of nearly every page. This information
will need to be updated on
ent: Tuesday, 12 September 2006 4:42 PM
To: Struts Users Mailing List
Subject: Re: default error page with tiles? (repost)
Darren Hall ha scritto:
> (Please disregard the earlier post with the same subject)
>
>
>
> Greetings,
>
>
>
> I'm using struts 1.2.9 with To
didn't include this file because I use JSTL fmt tags to display my
messages.
> I have just included the doesn't work.
>
> Thanks
>
> -Original Message-
> From: Darren Hall [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 11, 2006 7:03 PM
> To: 'Stru
'
Subject: RE: Application Resources
> If you are using Tomcat, have you looked in stderr and stdout files for
> today in that directory?
Sorry - "that directory" would be the $CATALINA_HOME/logs directory (if you
are using Tomcat).
Darren
-Original Message-
From: Da
> If you are using Tomcat, have you looked in stderr and stdout files for
> today in that directory?
Sorry - "that directory" would be the $CATALINA_HOME/logs directory (if you
are using Tomcat).
Darren
-Original Message-----
From: Darren Hall [mailto:[EMAIL PROTECTE
Ray,
What application server are you using? Tomcat?
If you are using Tomcat, have you looked in stderr and stdout files for
today in that directory? (Not sure how much help I can be here, but I'm
starting simple. We may quickly run out of my depth.)
Darren
-Original Message-
From: Ray
(Please disregard the earlier post with the same subject)
Greetings,
I'm using struts 1.2.9 with Tomcat 5.5 and Apache 2.2.
Here's my issue -
I'm looking to create a default error page for my application. One thing you
should know... my application is using tiles. In my web.xml file I've
(reposted. Was "DAO and getDataSource" - however that post was made by doing
a reply to another message and simply changing the subject. I didn't realize
that this was thread hijacking. Please accept my apologies, and disregard
the earlier post.)
Hopefully this will be a quick question.
I'
Hopefully this will be a quick question.
I'm using struts 1.2.9 and I need to implement a database connection for my
web application and wanted to use a standard DAO pattern. I noticed that
struts provides a mechanism for implementing datasource configuration in the
struts-config file and in my on
Greetings,
I'm using struts 1.2.9 with Tomcat 5.5 and Apache 2.2.
Here's my issue -
I'm looking to create a default error page for my application. One thing you
should know... my application is using tiles. In my web.xml file I've added
the following:
java.lang.Exception
flc.error
"
*sigh*
Found the problem. It helps when your action mapping isn't inside a comment
block. =P
Thanks for the help.
-Original Message-
From: Darren Hall [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 07, 2006 2:54 PM
To: 'Struts Users Mailing List'
Subject: RE: co
> Do you have your regular Tomcat log entries for this webapp's startup as
> well a any error logs. Can you zero them out then start Tomcat and post
> them to us?
Not sure what you mean by "regular entries", David. I have my application's
log files set to DEBUG level, so there's a lot in there.
To: Struts Users Mailing List
Subject: Re: configuring tiles with struts 1.2.9
Darren Hall ha scritto:
> Isn't the ".do" extension just a placeholder for ".jsp" or some other
> extension that is mapped in your struts-congif.xml?
>
In fact you configure it in web
List
Subject: Re: configuring tiles with struts 1.2.9
Darren Hall ha scritto:
>> I think that the URL is wrong :-)
>> If you configured your webapp in as the ROOT webapp, then you can access
>> that action at:
>>
>> http://localhost/flc.do
>>
>
> This appl
Antonio,
Thank you for your reply.
> And you forgoto the "processorClass" attribute in tag in
> struts-config.xml:
>
> processorClass="org.apache.struts.tiles.TilesRequestProcessor"/>
I've update my controller element in my struts-config to appear as above.
> I think that the URL is wrong :-
Hello all,
I am somewhat new to struts and I'm attempting to create an application that
uses tiles.
I obviously have something configured incorrectly because I get a 404 error
when attempting to display my page.
Here's what I've done so far:
1) Create a template jsp page called site
From: Darren Hall [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 05, 2006 11:43 AM
To: 'user@struts.apache.org'
Subject: tiles with struts 1.2.9
Quick question,
I'm using struts 1.2.9 and I'm attempting to configure tiles.
In some online documentation files I&
Quick question,
I'm using struts 1.2.9 and I'm attempting to configure tiles.
In some online documentation files I've found, it outlines how tiles.jar
should be included with my struts deployment, however I don't see tiles.jar
anywhere in my struts related files. Are the tiles objects compiled
examples, or
are they not in any way beneficial, other than simply as examples? In other
words, do they add any functionality, or can I remove the calls to compile
these from the master build.xml file?
Thanks,
Darren
-Original Message-
From: Darren Hall [mailto:[EMAIL PROTECTED]
Sent: Tuesday
I am attempting to build struts 1.2.9 and having issues. It seems to build
the main struts.jar fine, but fails later in the process when building
mailreader.
I guess I have two questions.
First, is there any value in building the struts-examples? Do they provide
any functionality to the framewor
hanges. For those interested, here's the link -
http://minaret.biz/tips/datedFileAppender.html
Thanks again,
Darren
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 15, 2006 9:38 AM
To: Struts Users Mailing List
Subject: [OT] Re: Dynamic log names
Hello again all,
I'm using Log4j 1.2.13 with Struts 1.2.9 on Tomcat 5.5.
I have the logging with Log4j now working properly and outputting log
messages properly.
I have a question about naming log files for my web application.
I'd like to append the date into the name of my log files. Is there a
.properties file has always done everything I need.
> -Original Message-
> From: Darren Hall [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 14, 2006 2:24 PM
> To: 'Struts Users Mailing List'
> Subject: RE: [newb question] Turning on DEBUG level logging
>
>
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 14, 2006 11:19 AM
To: Struts Users Mailing List
Subject: Re: [newb question] Turning on DEBUG level logging
Darren Hall wrote:
> I'm not starting it from the command line any longer. There
2006 10:40 AM
To: user@struts.apache.org
Subject: RE: [newb question] Turning on DEBUG level logging
Darren Hall asked:
> I've included the log4j.jar in my WEB-INF/lib directory and
> created a log4j.xml file based on an example I found online
> (rather then a log4j.properties fil
006 2:18 PM
To: Struts Users Mailing List
Subject: Re: [newb question] Turning on DEBUG level logging
Darren Hall wrote:
> So essentially, I should download Log4J, include the jar in my classpath
and
> create a "Log4J.xml" file. Correct?
>
Most people use the properties file, but t
(continued from previous msg)
HERE is the log4j.xml file I'm using (I forgot to include it in my last
message).
http://jakarta.apache.org/log4j/";>
ling List
Subject: Re: [newb question] Turning on DEBUG level logging
Darren Hall wrote:
> So essentially, I should download Log4J, include the jar in my classpath
and
> create a "Log4J.xml" file. Correct?
>
Most people use the properties file, but the XML config gives you more
ybe check what Tomcat uses
natively.
> -----Original Message-
> From: Darren Hall [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 13, 2006 12:39 PM
> To: 'Struts Users Mailing List'
> Subject: RE: [newb question] Turning on DEBUG level logging
>
>
> Thanks Geor
y using commons-logging and I don't have Log4J
in place yet?)
Darren
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 13, 2006 11:38 AM
To: user@struts.apache.org
Subject: RE: [newb question] Turning on DEBUG level logging
Darren Hall aske
Greetings all,
I'm attempting to configure Struts 1.2.9 with Tomcat 5.5. So far everything
is going smoothly and working fine - except:
I notice that Struts is using commons-logging, and the log statements are
writing to the "catalina.log " file. This is not the best case scenario, but
it is w
37 matches
Mail list logo