Well -
I have found a way -
I deleted the files under:
TOMCAT_HOME\work\Cataline\localhost\myProjectName
But is there a better way to never cache it?
Thanks
-Original Message-
From: Odelya Glick [mailto:[EMAIL PROTECTED]
Sent: Monday, November 05, 2007 8:28 PM
To: user@struts.apache.
Hi,
I using tomcat 6 and developing an web application with struts.
But it seems that the *.jsp page are being cached somewhere in the server.
Because when I change something in the page, it doesn't change.
The browser setting are not to cache any page, and more weird is that even
after deploymen
Hi
I was trying to store xml file which updates frequently. Here is what I was
looking for.
sample.xml is a file which keeps updating. I would like to store file upon
changing.
For example, at 12.00 p.m, one sample.xml
file will be updated. At 12.01 p.m another set of data will be upd
Tom Schneider wrote:
With Acegi, are you using an interceptor or is there a different way to
enforce security?
Acegi sets up it's own Servlet Filter to monitor incoming url requests.
This filter is typically the first in the filter chain, Acegi gets a
shot at processing the url before anythin
With Acegi, are you using an interceptor or is there a different way to
enforce security? I wouldn't mind seeing an example of this if there's one
that you can point to. IMO, this would fit into Struts 2 authentication
best practices and a little page describing the general setup wouldn't be a
b
Dave Newton wrote:
Interceptor or Acegi.
+1 on Acegi.
We've been doing auth "by hand" for years, I think we've used just about
every technique over time (writing servlet filters, writing WebWork
interceptors, doing checks in the Action's exec method, using
container-security, etc).
But ha
I'm doing this in struts.properties:
struts.freemarker.manager.classname=org.me.MyFreemarkerManager
And Struts 2.0.x is definitely using my custom class. Could you try
configuring that in struts.properties file rather than in struts.xml?
ARakesh wrote:
>
> I am extending the FreemarkerManager
Interceptor or Acegi.
d.
--- Emi Lu <[EMAIL PROTECTED]> wrote:
> Hello ,
>
> For struts1, we use "doFilter"
>
> public void doFilter(
> ServletRequest req,
> ServletResponse res,
> FilterChain chain)
> throws IOException, ServletException
> {
>
>
Hello ,
For struts1, we use "doFilter"
public void doFilter(
ServletRequest req,
ServletResponse res,
FilterChain chain)
throws IOException, ServletException
{
HttpServletRequest request = (HttpServletRequest) req;
HttpServletResponse response =
On 11/5/07, Christopher Schultz <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Antonio,
>
> Antonio Petrelli wrote:
> > Though I think that Quartz is a great product, it is discouraged by the Java
> > EE specifications to create threads in a webapp.
>
> Hey, every
Hm It could be a problem with escaped or unescaped ampersands (&)
in the URL. It's hard do tell what might be wrong without seeing some
code and example URLs. I would consider attaching a remote debugger
to the JSR168Dispatcher and see what's going on inside it. What if you
try it in a differe
Serg,
I'm not an expert at jasper reports, but I think parameters are pulled from
the datasource. In that case, the jasper report result wraps the
datasources in a ValueStackDataSource. (a class located in the jasper
reports plugin) I would set a few breakpoints in there to see why the
jasper pl
have you tried using
and passing the parameters to JasperReport manually using a HashMap
something like this...
HashMap parameters = new HashMap();
parameters.put("test", test);
JasperReport jasperReport =
JasperCompileManager.compileReport(jasperD
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Antonio,
Antonio Petrelli wrote:
> Though I think that Quartz is a great product, it is discouraged by the Java
> EE specifications to create threads in a webapp.
Hey, every time someone asks on the Tomcat list about how to do this, I
tell 'em to use
Could someone provide the example how to pass parameters from Struts2
action to Jasper report?
I have created simple Jasper report based on Struts tutorial. Then I had
modified this example in order to use parameter within Jasper report.
Jasper report JRXML file:
/
/Action:
/publ
i dont know to use anotation but with xml is ClassName-actionAlias_method-
validation.xml
On 11/5/07, Martin Gilday <[EMAIL PROTECTED]> wrote:
>
> Can you have annotation validation per method? I have put @Validations
> on both my display and update methods (display shows the record from
> input)
I placed the portlet on a new page by itself, but the same problems exist.
Is there anything that i might be doing that would make the urls
unnecessarily long? Or maybe the problem is something else? I will
consider any idea, even if it seems far-fetched :)
On 11/5/07, Nils-Helge Garli Hegvik <[
On Mon, November 5, 2007 11:17 am, Ashish Kulkarni wrote:
> Hi
> I dont need more then one thread, or a timer job i would say, this timer
> should sleep and then activate like after 10 minutes, check the database,
> if
> there is nothing to do go back to sleep.
> I will look into quartz, is it ok
Would this work?
href="${pc:url('/category/edit.html?category.id=')}${category.id}"
> -Original Message-
> From: Adam Hardy [mailto:[EMAIL PROTECTED]
> Sent: Sunday, November 04, 2007 8:07 AM
> To: Struts Users Mailing List
> Subject: EL expressions and string concatenation
>
> This is
Hi
I dont need more then one thread, or a timer job i would say, this timer
should sleep and then activate like after 10 minutes, check the database, if
there is nothing to do go back to sleep.
I will look into quartz, is it ok to use Java Timer and TimerTask to do it.
For example this will be my t
Ashish Kulkarni wrote:
Hi
I have to write a thread in web application which will check some values in
database, and then perform some function depending on the values.
There wont be any user input and this thread should be called after like 10
minutes, also i want to have a jsp page from where i
Can you have annotation validation per method? I have put @Validations
on both my display and update methods (display shows the record from
input), but all of the validation seems to be run at once. Can you
achieve this with xml or annotation validation, or am I back to
validateInput methods?
Th
<2 cents>
servlet context sounds good.
Start from ServletContextListener upon server start.
regards
Leon
On 11/5/07, Ashish Kulkarni <[EMAIL PROTECTED]> wrote:
> Hi
> I have to write a thread in web application which will check some values in
> database, and then perform some function depending
On Mon, November 5, 2007 10:40 am, Ashish Kulkarni wrote:
> Hi
> I have to write a thread in web application which will check some values
> in
> database, and then perform some function depending on the values.
>
> There wont be any user input and this thread should be called after like
> 10
> minu
2007/11/5, Christopher Schultz <[EMAIL PROTECTED]>:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Ashish,
>
> Ashish Kulkarni wrote:
> > There wont be any user input and this thread should be called after like
> 10
> > minutes, also i want to have a jsp page from where i can maintain this
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ashish,
Ashish Kulkarni wrote:
> There wont be any user input and this thread should be called after like 10
> minutes, also i want to have a jsp page from where i can maintain this
> thread, like stop, change the time it should run etc.
>
> Are ther
Hi
I have to write a thread in web application which will check some values in
database, and then perform some function depending on the values.
There wont be any user input and this thread should be called after like 10
minutes, also i want to have a jsp page from where i can maintain this
thread
Ok honestly I think we're missing the point here. I need to somehow
reference the count of CHECKED CHECKBOXES and yes I have looked at struts 1
validator guide and I didn't exactly see an example of that unless I am
blind or something or other or maybe I don't see what you see in which case
if you
Hi Marco
I use:
value="%{getText( #Variable+'.string.constant.label.'+OtherVariable)}"
try:
regards,
Vinicius
Marco Machmer wrote:
hi folks,
can i use #attr inside the getText()-methode?
here my problem:
the key will not be found.
whats wrong
regards marco machmer
-
But isn't this [] index notation for arrays only? I am using a List.
On 11/5/07, Paul Benedict <[EMAIL PROTECTED]> wrote:
>
> Look at the Struts user guide. It does support the index [] notation.
>
> Paul
>
> On 11/3/07, Pavel Sapozhnikov <[EMAIL PROTECTED]> wrote:
> >
> > Hi guys so I have a ques
My first assumption would still be a deployment
problem; obviously your container doesn't think the
class is where it's supposed to be.
d.
--- Serge Mathieu <[EMAIL PROTECTED]> wrote:
> Hi every one,
> I have installed Struts 1.3.8 used the
> struts-blank-1.3.8.war to create a
> first project, i
hi folks,
can i use #attr inside the getText()-methode?
here my problem:
the key will not be found.
whats wrong
regards marco machmer
--
View this message in context:
http://www.nabble.com/-S2--getText%28%29-and--attr-tf4751113.html#a13585395
Sent from the Struts - User mailing list archive
Hi,
I'm looking for structs 1 tutorials.
thanks,
chamath
http://chamathg.blogspot.com
chamath wrote:
>
> Hi Deepak-Kumar,
>
> I went through this. I learned about structs from that.
> but I could not do it in practically.
>
>
>
> Deepak Kumar wrote:
>>
>> Hi,
>>
>> Please visit http:/
Hi,
Are you looking for Strus 1 or Struts 2 tutorials?
Thanks
-Original Message-
From: chamath [mailto:[EMAIL PROTECTED]
Sent: Monday, November 05, 2007 4:35 PM
To: user@struts.apache.org
Subject: RE: structs user tutorial
Hi Deepak-Kumar,
I went through this. I learned about struct
Hi Deepak-Kumar,
I went through this. I learned about structs from that.
but I could not do it in practically.
Deepak Kumar wrote:
>
> Hi,
>
> Please visit http://www.roseindia.net/struts Its one of the best tutorial.
>
> Thanks
>
>
> -Original Message-
> From: chamath [mailto:[E
Hi,
Please visit http://www.roseindia.net/struts Its one of the best tutorial.
Thanks
-Original Message-
From: chamath [mailto:[EMAIL PROTECTED]
Sent: Monday, November 05, 2007 4:11 PM
To: user@struts.apache.org
Subject: structs user tutorial
Hi all,
I'm new user to struct framework
Hi all,
I'm new user to struct framework. I want good tutorial to familiar with
structs. I did some tutorials.
But those not good.
can you give good tutorial for me.
thanks..
--
View this message in context:
http://www.nabble.com/structs-user-tutorial-tf4750752.html#a13584532
Sent from the
2007/11/5, visweswarasarma <[EMAIL PROTECTED]>:
>
>
>
>
> hi ,
>
> can u help me any body.
You can put "*.html" for example :-)
Antonio
hi ,
can u help me any body.
--
View this message in context:
http://www.nabble.com/In-place-of-*.do-in-web.xml--struts-we-can-put-any-name-tf4750685.html#a13584324
Sent from the Struts - User mailing list archive at Nabble.com.
-
Hello.
I need to validate URL format at the same time path format
URL Format:
http://yahoo.com
path Format:
/pages/entry.jsp
/pages/entry.do
../pages/entry.do
I already made URL validation using the following
nofragments
true
schemes
http,https,ft
Look at the Struts user guide. It does support the index [] notation.
Paul
On 11/3/07, Pavel Sapozhnikov <[EMAIL PROTECTED]> wrote:
>
> Hi guys so I have a question I have a List in a form each entry in the
> List
> contains a text box and two check boxes and that is indexed in the form
> like
>
I wonder what the purpose is of returning false.
On 10/30/07, John Doe <[EMAIL PROTECTED]> wrote:
>
> I've solved the problem. The only way to validate properly is to add an
> error to the errors variable. Without this validator will think that
> everything is OK even if you returned false in vali
You need to execute a Struts action which returns the byte stream of the
image.
http://wiki.apache.org/struts/StrutsFileDownload
Paul
Hi every one,
I have installed Struts 1.3.8 used the struts-blank-1.3.8.war to create a
first project, it run on an Apache Tomcat 5.0 with a JDK1.4.2_08.
When I first try the app with the /Welcom.do url from the struts-blank app,
no problem (this Welcom.do is just an url that forward directly to js
2007/11/4, Adam Hardy <[EMAIL PROTECTED]>:
>
> Antonio Petrelli on 04/11/07 16:17, wrote:
> > 2007/11/4, Adam Hardy <[EMAIL PROTECTED]>:
> >> I want to concatenate 2 vars into a string in EL but since one is a
> Long, EL
> >> can't do it, and throws a NumberFormatException because it wants them
> b
45 matches
Mail list logo