hi,
As far as i am concerned. My prefs are Eclipse and UEdit(designers can use
in combination with other design ides like dreamweaver etc).
See more at http://jakarta.apache.org/velocity/devtools.html
Navjot Singh
>-Original Message-
>From: Andrew Hill [mailto:[EMAIL PROTECTED]
Basically, i use velocity only for email templates and sometimes to generate
other kind of templates from one template where the use of XSLT is not
appropriate.
For web templates, that have more complex requirements, i prefer to use
taglibs. besides el makes life as easy as we may talk in velocity.
yes, store your BO in request
>-Original Message-
>From: Pradeep, PK [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, February 25, 2004 10:21 PM
>To: Struts Users Mailing List
>Subject: RE: data transfer from Action class to jsp page
>
>
>Sending the same question again..
>
>
>I have this basic
put apache in front of tomcat and install mod_gzip with apache.
it will do almost everything you can wish for?
>-Original Message-
>From: Niall Pemberton [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, February 25, 2004 5:43 PM
>To: Struts User Jakarta
>Subject: Tomcat 4 Compression Filter
>
>
e great help if you could post your Form and request params here.
HTH
Navjot Singh
>-Original Message-
>From: Dixit, Shashank (Cognizant) [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, February 24, 2004 3:30 PM
>To: Struts Users Mailing List
>Subject: RE: Status 500
>
>
&
struts has nothing to do with managing sessions. we should better
talk about servlet containers that handles sessions.
btw, 100 sessions are nothing to worry about :-)
leave the txn mgmt to db layer. use any of the persistence frameworks
that can handles this for you.
>-Original Message
there's some mismatch happening while struts try to populate the form
associated with your action.
please check there.
-Original Message-
From: Dixit, Shashank (Cognizant) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 24, 2004 1:48 PM
To: [EMAIL PROTECTED]
Subject: Status 500
Hello
yes, you are right that MVC is a pattern, rather architectural pattern.
Can someone make me clear about the MVC pull and MVC push model and their
pros and cons?
TIA
Navjot Singh
>-Original Message-
>From: Christian Bollmeyer [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, February
Hi,
To the people who care about minute differences in the architecture.
My question is
"Is there any difference between Struts 1.0 and 1.1 in terms of MVC?"
TIA
Navjot
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additiona
create a hashmap object and while you run SAX thru your xml document.
is yourStartElement(), save the tag name currentElement variable.
in characters(), save the characters value to your hash with key as
currentElement.
in the end, your element will filled.
if you multiple such case tags. add the
u can also override the default behaviour of processRoles and go
your own way.
HTH
Navjot Singh
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 18, 2004 8:49 PM
To: Struts Users Mailing List
Subject: Role based access?
Hi Guys,
Struts-
When the user doesn't accept cookies, session is of no use.
After login, you can fill the data in request object and *forward* the
request.
look into RequestDispatcher.forward()
HTH
Navjot Singh
>-Original Message-
>From: Claudia Woestheinrich [mailto:[EMAIL PROTECTED]
>
Integer(h);
> }
> }
>
> private static class IgnoreCaseBitMap extends HashMap {
> public Object put(Object key, Object value) {
> return
>super.put(this.generateKey(key.toString()), value);
> }
>
if(c>=97 && c <=122)
> c-=32;
>
> h = 31*h + c;
> }
> return new Integer(h);
> }
> }
>
>This by now is three times faster than using t
can you replace the \n to before sending to jsp
>-Original Message-
>From: Turner Benjamin [mailto:[EMAIL PROTECTED]
>Sent: Friday, February 13, 2004 2:33 PM
>To: Struts-User (E-mail)
>Subject: newlines
>
>
>hello,
>
>i looked in the archives about this problem but couldn't find
>anythi
February 13, 2004 3:04 PM
>To: [EMAIL PROTECTED]
>Subject: Re: Hi
>
>
>Hi
>
>i am using the "pool implementation using apache commons pool and dbcp"
>how can i test if it works?
>
>clement
>- Original Message -
>From: "Navjot Singh&quo
any of the 3 will do
1. configure the data source in tomcat
2. configure the data source in struts
3. write your own pool implementation using apache commons pool and dbcp
hth
Navjot Singh
>-Original Message-
>From: Vishal Arora [mailto:[EMAIL PROTECTED]
>Sent: Friday, February
e struts-config from within
>another struts-config ?
yes, see module switching in docs.
HTH
Navjot Singh
>Any help is very appreciated
>Koen
>
>
>
>
>Find what you are looking for with the Lycos Yellow Pages
>http
had taken a little bit longer and read carefully, then
>maybe you'd have noticed.
>
>Regards,
>Freddy.
>
>-Mensaje original-
>De: Navjot Singh [mailto:[EMAIL PROTECTED]
>Enviado el: jueves, 12 de febrero de 2004 13:14
>Para: Struts Users Mailing List; [EMAIL PR
simple implementation. By the time you ask the Q and wait for
reply. you could have written on your own.
Navjot Singh
>-Original Message-
>From: Guillermo Meyer [mailto:[EMAIL PROTECTED]
>Sent: Thursday, February 12, 2004 5:24 PM
>To: 'Struts Users Mailing List
if it shows you just blank page then something is *null* somewhere
>-Original Message-
>From: Pingili, Madhupal [mailto:[EMAIL PROTECTED]
>Sent: Thursday, February 12, 2004 12:49 AM
>To: '[EMAIL PROTECTED]'
>Subject: Need help on making Custom Validator work
>
>
>Hi All,
>I have developed
jsp is servlet but servlet is not jsp. hope this point clears the point
here.
you should look into using jsp error page directive if you wish to redirect
errors from jsp page.
>-Original Message-
>From: Bubeník Miroslav [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, February 11, 2004 10:10 P
utile exercise.
Use of session or request varies on requirements basis.
1. Start with first form, collect values, pass as hidden values to second
form and so on
2. Start with first form, collect values, save to session and so on
HTH
Navjot Singh
>-Original Message-
>From: Pani R [ma
1. did you check the same property name in your messages.properties file.
2. ActionMapping is not deprecated. Reads the docs again. It saya "would
have been deprecated". in fact, this class has 2 more subclasses.
>-Original Message-
>From: f f [mailto:[EMAIL PROTECTED]
>Sent: Thursday, F
this can happen only when you have gannett (first )as context name
AND
gannett (second one) as module name.
>-Original Message-
>From: news [mailto:[EMAIL PROTECTED] Behalf Of Sam
>Sent: Thursday, February 12, 2004 9:34 AM
>To: [EMAIL PROTECTED]
>Subject: Config issue
>
>
>Greetings,
>
>I
count me in
>-Original Message-
>From: news [mailto:[EMAIL PROTECTED] Behalf Of Vic Cekvenich
>Sent: Monday, February 09, 2004 9:46 AM
>To: [EMAIL PROTECTED]
>Subject: Orkut
>
>
>If you want to join Struts in Orkut Social Network send me an e-mail
>saying so.
>
>.V
>(if you do not know wh
guess there is some attribute called readonly for html:text. set that to
true.
>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>Sent: Monday, February 02, 2004 4:06 PM
>To: [EMAIL PROTECTED]
>Subject: Making the fields non editable dynamically using a form bean
>elem
I am successfully running my Application based on
Struts + Tiles + Taglibs (el also) seamlessly.
No probs so far.
>-Original Message-
>From: Smith, Darrin [mailto:[EMAIL PROTECTED]
>Sent: Thursday, January 22, 2004 6:55 PM
>To: 'Struts Users Mailing List'
>Subject: RE: Is it possible to d
pls look into xml taglibs at apache's website
>-Original Message-
>From: Prashanth.S [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, January 20, 2004 2:36 PM
>To: [EMAIL PROTECTED]
>Subject: XML and JSP
>
>
>Hi all,
>can anyone tell me a convinient way to display,add delete elements
>in a xml f
role.
regards
Navjot Singh
>-Original Message-
>From: Adam L [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, January 20, 2004 11:09 AM
>To: Struts Users Mailing List
>Subject: problems w/ logging.. again
>
>
>I've scoured the archives. I"ve tried a million diff
SOOO MUCH for providing such detail code in response.
>
>One of the lines in the iterating function:
>
> nvString.append(this.getString(key) + "&");
>What's the this and the getString suppose to be? Should it be the
>map.get function?
>
>Rgds,
&g
.lastIndexOf("&"));
}
return nv;
}
My this function may not be efficient and does the job you want.
and HURRAY!! you will get QueryString like
str=navjot&b.str=singh
hope this helps
Navjot Singh
**
Wife sleeping in the middle of night suddenly wakes
that should be easy.
BeanUtils gives you the way to populate a MAP object from a Bean.
Now al you need to do is iterate over keys,
form a querystring with each name-value pair separated by &.
HTH
Navjot SIngh
>-Original Message-
>From: Patrick Cheng [mailto:[EMAIL PROTEC
whereever it is.
3. convert it into stream.
4. push the stream back to browser.
note - must set the appropraite mime/type before you push the stream back.
may be application/pdf or application/x-pdf
HTH
Navjot Singh
>-Original Message-
>From: vasudevrao gupta [mailto:[EMAIL PROTECTED]
try to keep Session as light as possible. With that in mind, just save all
you need, creator in your case, in Session.
Navjot
>-Original Message-
>From: Caroline Jen [mailto:[EMAIL PROTECTED]
>Sent: Saturday, December 13, 2003 12:15 PM
>To: [EMAIL PROTECTED]
>Subject: Form and Session
>
>
one should
either *catch* Exception OR
use errorPage attribute of <[EMAIL PROTECTED] ...> directive to handle error
HTH
Navjot Singh
>-Original Message-
>From: Antony Paul [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, December 10, 2003 5:08 PM
>To: struts
>Subjec
I can't say there will be any move or not.
But MAP backed ActionForms are alreadt there, If you are not interested in
using the actionforms and be contended with just hashmaps. Mostly, not
always, I treat ActionForm as HashMap but with getter setter already
classcasted and defined for properties.
not sure but the logic says that error messages are being stored in the
REQUEST SCOPE and when you set redirect=true, naturally that's a new request
so you won't get the errors set in earlier request.
anybody else?
>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>Se
>How can I add multiple config file support for struts??
config
/WEB-INF/struts-default.xml
config/ab
/WEB-INF/struts-ab.xml
>OFF-TOPIC : Does anyone know a cvs mailing list ?
www.cvshome.org
HTH
Navjot Singh
>-Original Message-
>
gets trapped by
PooledConnection interface and the connection will be returned back to the
db pool and it WONT get closed.
HTH
Navjot Singh
All you need to use is ServletOutputStream. Check API.
>-Original Message-
>From: Jerry Jalenak [mailto:[EMAIL PROTECTED]
>Sent: Thursday, December 04, 2003 8:35 PM
>To: '[EMAIL PROTECTED]'
>Subject: File Download?
>
>
>I have a need to send generated image files from my web server to a fi
http://www.mysql.com/downloads/api-myodbc-3.51.html
>-Original Message-
>From: Gurpreet Dhanoa [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, December 03, 2003 10:43 AM
>To: Struts Users Mailing List
>Subject: MySQL Driver List
>
>
>hi ALl
>
>I want to connect my strut application with mySQL
don't know why do you wish to do so?
but it an be done. Write a filter. pass every request thru that.
1. Fetch the session, expire it. Server will assign new.
2. Fetch the session, don't expire the session, just append a timestamp to
it. set a cookie and use that to maintain session.
surely in ActionB. Filling it's own form is action in itself.
you can parameterized your action to do 2 things
1. fill the formB
2. accepts the submitted formB.
HTH
Navjot Singh
>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED]
>Sent: Tuesday, Nov
yes and probably the right way to do
>-Original Message-
>From: Samanth Athrey [mailto:[EMAIL PROTECTED]
>Sent: Thursday, November 06, 2003 10:35 AM
>To: [EMAIL PROTECTED]
>Subject: Can I use RequestProcessor to handle session?
>
>
>Hello Gurus
>
>I am trying to handle session timeout by e
not sure by might be
Globals.MESSAGES_KEY + prop2
>-Original Message-
>From: Otto, Frank [mailto:[EMAIL PROTECTED]
>Sent: Thursday, October 30, 2003 6:01 PM
>To: Struts-User (E-Mail)
>Subject: two resource bundles?!
>
>
>Hi,
>
>I have defined two properties files in my struts-config.xml
sendRedirect() is OK to use. Go ahead.
>-Original Message-
>From: ajay brar [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, October 29, 2003 9:23 AM
>To: [EMAIL PROTECTED]
>Subject: redirecting
>
>
>hi!
>i have to redirect the user from within my action class to an
>external site.
>i'm curren
first pls specify diff keys for diff resource files.
second, pls check if you have specifiied
errors.header=
line in every property file.
HTH
Navjot Singh
>-Original Message-
>From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, October 29, 2003 10:07 AM
&g
you should escape your sql data values for mischieveous chars like single
quotes etc.
>-Original Message-
>From: Manuel Lenz [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, October 28, 2003 4:33 PM
>To: Struts Users Mailing List
>Subject: Antwort: [OT] Re: far reaching db question
>
>
>How do p
to native
amercians.
See if this can help your job ;-)
>And it has nothing to do with any ethnic holiday; if you think otherwise,
>you are probably an H-1B.
I have never been on H1B for your info and don't even want to be. However,
if you are i
Mark,
Don't feel bad about it if you feel little out of place. just enjoy life.
>but anybody from India can get an H1B visa, displacing millions of
>jobs from indigenous Americans, dragging down market labor rates
>and causing 7 percent unemployment in our industry.
Business look for skills. If
yes, if you can set the value first to some page/request scope variable?
see in struts docs
Navjot Singh
-Original Message-
From: Nisith Dash [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 22, 2003 12:01 PM
To: Struts Users Mailing List
Subject: hi..
Hi,
is there
NO
>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED]
>Sent: Wednesday, October 22, 2003 10:49 AM
>To: [EMAIL PROTECTED]
>Subject: Display Mode | Edit Mode
>
>
>Does STRUTS provide any feature so that the same jsp can be used for
>showing the page in Display Mode as we
can you post the error?
>-Original Message-
>From: Thakur, Vikram [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, October 22, 2003 10:04 AM
>To: 'Struts Users Mailing List'
>Subject: RE: Help needed on Iterate Tag
>
>
>No It is not working..
>
>-O
server.xml. Is your webapp context is configured
under your *external* hostname?
I can think that one of this is broken and hence the problem is coming. Or
if we can get config files, i may help better.
HTH
Navjot Singh
>-Original Message-
>From: Dave Tilley [mailto:[EMAIL
quick try - try replacing Names with names in iterate tag
>-Original Message-
>From: Thakur, Vikram [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, October 22, 2003 9:55 AM
>To: Struts (E-mail)
>Subject: Help needed on Iterate Tag
>
>
>Hi ,
> I have Collection of Strings and I want to
can't you pass a HashMap back?
>-Original Message-
>From: Adam Hardy [mailto:[EMAIL PROTECTED]
>Sent: Saturday, October 11, 2003 6:42 PM
>To: Struts Users Mailing List
>Subject: communication between control layer & factory/model
>
>
>I've been happy until now passing objects backwards and
then which one is good in your eyes?
>-Original Message-
>From: Mark Galbreath [mailto:[EMAIL PROTECTED]
>Sent: Thursday, October 09, 2003 4:38 PM
>To: Struts Users Mailing List
>Subject: RE: ejb's and tomcat
>
>
>JBoss is crap, anyway.
>
>-Original Message-
>From: Brian McSweeney
session cookies.
If you love URL rewriting, you can disable the user session after 10 minutes
of inactivity. Depends on how much pain would you like to take for it and
how secure you wish your application to be.
HTH
Navjot Singh
>
>Hi navjot,
>Thanks for the reply...But the problem with url
theoretcially, there are 3 ways.
1. URL Rewriting
2. Client side Cookies
3. Server side Session (again use cookies but just for an ID)
if you are adamant about not using cookies at any level. URL rewriting is
the only option left.
any other?
navjot singh
>-Original Message-
&g
the roles are not
valid for that action. etc etc..
Struts,using decalrative roles, tried to make things easier in term sof less
programming efforts and easiness to manage roles . Rest i can't see much
diff. Any opinions?
HTH
Navjot Singh
>-Original Message-
>From: Caroline
et tries to assign
one Action instance from the pool. If it's not there, the new Action
instance will be created and assigned to the request.
HTH
Navjot Singh
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
change the variable txtusergroupcode to txtUserGroupCode. it will work.
|-Original Message-
|From: Abhijeet Mahalkar [mailto:[EMAIL PROTECTED]
|Sent: Friday, September 26, 2003 12:13 PM
|To: Struts Users Mailing List
|Subject: Urgent: No Getter Method found
|
|
|hi All
|I am getting follo
it just should be in classpath.
|-Original Message-
|From: Martin Gainty [mailto:[EMAIL PROTECTED]
|Sent: Thursday, September 25, 2003 12:52 AM
|To: [EMAIL PROTECTED]
|Subject: ApplicationResources.properties
|
|
|What mechanism does struts use to find the
|ApplicationResources.properties
quick dirty way :-)
In you jdk installation dir..look out for logging.properties
and append the following line in the end
org.apache.struts = FINE
navjot
|-Original Message-
|From: Pady Srinivasan [mailto:[EMAIL PROTECTED]
|Sent: Friday, September 05, 2003 5:41 PM
|To: [EMAIL PROTECTED]
but this your contextPath. so, request returns that string that you set.
Is PostGraduate.war your file name?
or in server.xml you have set contextPath="/PostGraduate".
navjot
|-Original Message-
|From: Mohd Amin Mohd Din [mailto:[EMAIL PROTECTED]
|Sent: Friday, September 05, 2003 1:44 PM
not sure if struts handles exceptions thrown from RequestProcessor.
|-Original Message-
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]
|Sent: Friday, September 05, 2003 2:20 PM
|To: [EMAIL PROTECTED]
|Subject: Probelm with routing.
|
|
|I have written my own RequestProcessor class (
u may replace
DuplicateEmailException & DuplicateUserException
with
DuplicateKeyException
- what /*what is duplicate, email oruser*/
+ getWhat():String
+ setWhat(Stirng)
It's just another way that is desired sometimes. Personally, I never
followed this staregy ;-)
>Thanks Navjo
out this. We MAY show some nice "SORRY" page and/or may
LOG this exception somewhere)
BTW, there is some nice article on "Exception handling" on IBM Developer
site. Do check.
hope this helps and suggestions are welcome.
Navjot Singh
-Original Message-
From: Viral
whynot?
use crontab -e to add a program and the times when it should run
use crontab -l to view what all programs are scheduled to run.
navjot
|-Original Message-
|From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
|Sent: Monday, September 01, 2003 3:37 PM
|To: [EMAIL PROTECTED]
|Cc: [EM
For ServletException, configure the error page in web.xml file.
it will work.
navjot
|-Original Message-
|From: Mohd Amin Mohd Din [mailto:[EMAIL PROTECTED]
|Sent: Sunday, August 31, 2003 5:12 PM
|To: [EMAIL PROTECTED]
|Subject: Handling Exceptions
|
|
|Hi,
|
|In struts-config, I have
guys has posted some
XML that he would use in config.xml.
regards
Navjot Singh
|-Original Message-
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]
|Sent: Monday, September 01, 2003 12:17 PM
|To: Struts Users Mailing List
|Subject: RE: SubClass RequestProcessor or Action class
Hi,
I guess most of the people have some misconception about JSF. They are not
here to compete with Struts and i think of them as complementary support to
Struts framework.
Start reading on JSF here http://www.jsfcentral.com
regards
Navjot Singh
|-Original Message-
|From: Madhu Nair
I guess you can't and why would you need it?
Your Action SHOULD play with Session objects and Form objects.
|-Original Message-
|From: Bård Arve Evjen [mailto:[EMAIL PROTECTED]
|Sent: Wednesday, August 27, 2003 12:25 PM
|To: [EMAIL PROTECTED]
|Subject: How to access a session object from
Well, i like Eclipse a lot but it has it's constraints.
If you wish to have O/R mapping support in your IDE, try JDeveloper etc.
Although i have never used JBulder or IntelliJ but they are also good ones.
navjot
|-Original Message-
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]
|Sent
od of action class.
If you follow my advice on 1, you need not to bother about that.
HTH
navjot Singh
PS - may i know where are you located?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Model Layer
If you database supports *limit* clause, use that.
OR
Use Paging Patterns (known as Value List Handler in J2EE but i think it's
misnomer ;-)
Presentation Layer
Use Pager Taglib
|-Original Message-
|From: Kapadia Mitesh-C23457 [mailto:[EMAIL PROTECTED]
|Sent: Tuesday, August
|Hi all,
|I have 2 questions
|1-->Where can i find comparision between struts and other
|frameworks[like cacoon etc etc]
See struts archives, around 2 months back someone gave a wonderful
comparison of struts with expresso etc
|2-->How can i switch existing application [which uses lot os jstl
|an
w when you pass the DTO back, it
will contain maximum 10 records. Reducing network load and you get only
those records that you want in presentation layer.
HTH
navjot singh
|-Original Message-
|From: Keith Pemberton [mailto:[EMAIL PROTECTED]
|Sent: Sunday, August 24, 2003 7:09 PM
|
have you checked the ANT version?
|-Original Message-
|From: deepaksawdekar [mailto:[EMAIL PROTECTED]
|Sent: Monday, August 25, 2003 10:39 AM
|To: Navjot Singh; Struts Users Mailing List
|Subject: RE: Problem build war using Ant
|
|
|Thanks for the response,
|My dir strucute is
|webgui
hi deepak,
Posting the directory structure would have been great help.
BTW, which version of Ant are you using? If any less than 1.5.3, switch
RIGHT NOW. Lower version are buggy in terms of getting classes and lib
tasks.
hth
Navjot Singh
|-Original Message-
|From: deepaksawdekar
i just vaguely remember
private Logger logger = Logger.getLogger(Test.class);
logger.debug("Better Check log4j docs");
and keep the log4j.properties file in classpath.
hth
navjot singh
|-Original Message-
|From: Kapadia Mitesh-C23457 [mailto:[EMAIL PROTECTED]
|Sent: Thursday,
file uploading is user front job and let the Struts handle it.
Sessionbeans are bad choice!!
|-Original Message-
|From: Erez Efrati [mailto:[EMAIL PROTECTED]
|Sent: Friday, August 22, 2003 5:33 PM
|To: 'Struts Users Mailing List'
|Subject: Struts Action or EJB session bean
|
|
|My EJB/We
use log4j or jdk1.4 logging.
|-Original Message-
|From: Louise Pryor [mailto:[EMAIL PROTECTED]
|Sent: Friday, August 22, 2003 8:38 PM
|To: Struts Users Mailing List
|Subject: Logging to application directory
|
|
|Is there any easy way of sending logs to somewhere in my application
|directo
Although I am extending Action class as of now but
extending Requestprocessor should be a better choice. After all
ActionServlet, after all the initializations, delegates control to
RequestProcessor.
Let's keep ActionServlet only for one time inits.
hth
Navjot Singh
|-Original Me
Moreover, in your JSPs, you can always check isUserInRole() etc. it's just
call on your request object.
Struts even provide the tag for that et al..
do write should you need more help.
Navjot Singh
|-Original Message-
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]
|Sent: We
war file deployment won't work here.
configure
one host entry in server.xml file with appBase="/dir/path/to/app".
one context entru with docBase="", path="/" and unpackWars="false"
it should work.
hth
navjot singh
|-Original Message-
|F
struts provide support for JAAS and JAAS further supports the security roles
and accesses independent of mechanisms.
will that do?
hth
-navjot
|-Original Message-
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]
|Sent: Tuesday, August 19, 2003 4:38 PM
|To: [EMAIL PROTECTED]
|Subject: S
yes.
If you are using servlet 2.3 container, write a filter that can check the
session status, if expired will redirect the control to the standard
expired.jsp page otherwise the control is passed to thr requested jsp.
hth
navjot singh
|-Original Message-
|From: Kwok Peng Tuck [mailto
your
Data Source from struts-config.xml to web.xml
hth
navjot singh
|-Original Message-
|From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]
|Sent: Monday, August 18, 2003 8:38 PM
|To: [EMAIL PROTECTED]
|Subject: get data source in servlet
|
|
|Hi,
|I have defined a data source in my struts-c
Tiles. using action for attribute value.try making straight call to
header.jsp, it should work.
OR
if you must need Struts Controller in call to header.jsp, use "include"
(instead of forward) in your header.do action mapping.
hth
navjot singh
-Original Message-
From: deep
servlet container provides that info
|-Original Message-
|From: Kommineni, Sateesh (IndSys)
|[mailto:[EMAIL PROTECTED]
|Sent: Wednesday, August 13, 2003 5:20 PM
|To: Struts Users Mailing List
|Subject: How to identify the Requested Path Info
|
|
|Hi All,
|
| How can the framework will k
ew load()
|exception javax.servlet.UnavailableException: Parsing error processing
|resource path
| at
|org.apache.struts.action.ActionServlet.initModuleConfig(ActionServl
|et.java:952)
|
|Thanks very much for the help,
|
|Guy.
|
|Navjot Singh wrote:
|
|> guess your jdk version is 1.4.1_03. u
guess your jdk version is 1.4.1_03. upgrade to the latest one 1.4.1_04.
problem solved.
hth
navjot singh
|-Original Message-
|From: Guy Caseley [mailto:[EMAIL PROTECTED]
|Sent: Wednesday, August 06, 2003 4:57 PM
|To: [EMAIL PROTECTED]
|Subject: Parsing error on startup
|
|
|Hi,
|
| I
n I would use the transerring mechanism in the BeanUtil package.
If your app is simple enough, you can use Map. If you know
your app is gonna expand like hell, invest time on BeanUtil.
Navjot Singh
|>
|> I highly value your opinions and advices. Thanks.
|>
|
|Jing
|Netsp
not, and so on)
|I think it's better to put it in the webapps classpath, if you're
|not using
|jndi.
|
|yours
|
|Marc
|
|
|Am Donnerstag, 31. Juli 2003 13:37 schrieb Navjot Singh:
|> the jar file for your sybase driver should in the class path of tha app
|> server.
|> If it
the jar file for your sybase driver should in the class path of tha app
server.
If it's tomcat put your jar file in tomcat_home/common/lib
it will work.
-navjot singh
|-Original Message-
|From: Chirag Mehta [mailto:[EMAIL PROTECTED]
|Sent: Thursday, July 31, 2003 5:01 PM
|To: S
it WILL redisplay the form with filled values.
say, you submit a filled form, some data was wrong,
the same form will be displayed WITH filled-in values.
navjot
|-Original Message-
|From: Rodney Paul [mailto:[EMAIL PROTECTED]
|Sent: Wednesday, July 30, 2003 2:09 PM
|To: Struts Users Mail
now a framework that suits your needs, it WILL save lots of
time.
regards
Navjot Singh
|-Original Message-
|From: Konstadinis Euaggelos [mailto:[EMAIL PROTECTED]
|Sent: Tuesday, July 29, 2003 1:26 PM
|To: Struts Users Mailing List
|Subject: Development time using Struts,
|
|
|Hi to all, I wa
to checker again.
This case will be treated same as 2,3 steps.
Checker can be implemented either using
+ Filter OR
+ Some method in Base Action
+ extend request controller.
See what suits you.
-Navjot Singh
PS - If all you are looking for is general login system. See CMA/Realm
Security
1 - 100 of 196 matches
Mail list logo