1 for action1 servlet
but that too was not picking up..
-- Raman
- Original Message -
From: "Otto, Frank" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Tuesday, March 16, 2004 2:41 PM
Subject: AW: using Two struts
Hello,
I want to use two different struts-config files for my Admin and other for main site.
How can I do that.
I have made changes in web.xml file
declared two diffferent
ONE OF my trials that I made Any
better and workable solutions will be appreciated.
Regards,
Raman Garg
I got it.. its like
HttpSession session = request.getSession();
session.getServletContext().getRealPath("/") ;
-- Raman
- Original Message -
From: "Niall Pemberton" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: S
Hi All,
Can any body tell me how can i get
application.getRealPath() value
in my Action's execute method.
My problem is I want to get present physical path of my application.
Pls help me..
-- Raman
UpdateSessionListenerDAO(dataSource);
dao.insertSessionLogging(session.getId().toString());
}catch(Exception e){
System.out.println("ERROR " + e.getMessage());
}
But this is not working I was not able to figure out the reason.
Pls help..
-- Raman
Hello,
I hope following will resolve your problem:
<%
String s=maxreqiddetail.getPrimary_skill();
%>
I haven't tested it but i think it will work.
Thanks,
-- Raman
- Original Message -
From: "Ramachandran" <[EMAIL PROTECTED]>
To: "Struts Users
UpdateFoodLogAction();
updFoodlog.execute(mapping, form, request, response);
But this is not working :(
So any idea how can i handle this situation of 3 actions and 2 forms??
Pls give your valuable feedback...
Thanks
Raman Garg
[EMAIL PROTECTED]
tion.. Pls help.
Raman Garg
Thanks for your reply...
BUT
it take the default value="on" when I do the way as you were telling me.
I want to put the value="232" where 232 is the id value corresponding to my
record.
-- Raman
- Original Message -
From: "Mohan Radhakrishnan" <[EMA
Hello,
I have a checkbox and i want to assign
Delete
here i want value to be my "id" value of table.. i have this string in
and assign this as
still it is not working and giving me error
this may be simple issue.. but i have tried and couln't find solution.. Pls help.
-- Raman
I want to implement something like this:
Conditional checks: for form submission to different Actions
But this is giving me error [ServletException "Unterminated tag'"
if i remove the logic tags it works fine.
Can anybody help me in this or give me some idea...
Thanks
-- Raman
Nav, Right nav , Center content etc. we
are using Custom Tags for this.
What we have done so far:
1. Checked all the Data Access files for connection/recorset close.
We need to know some tools or some way from where we can get to the bottle neck of the
performance.
Thanks
Raman Garg
this was the reason... I don't know otherwise.
Hope this may help others...
-- Raman
[EMAIL PROTECTED]
- Original Message -
From: "Mark Lowe" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Saturday, December 20, 20
--
-- Raman
- Original Message -
From: "Firat TIRYAKI" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Saturday, December 20, 2003 4:20 PM
Subject: Re: BeanUtils.populate Error
> check your form and bean
Hi I am using Validator form... is there something i am doing wrong in
that?
-- Raman
- Original Message -
From: "Mark Lowe" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Saturday, December 20, 2003 4:11 PM
Subject: Re: B
I am facing a error in Struts at "BeanUtils.populate" and not able to trace the cause.
has anyone already face this problem? if yes what the cause. Pls help.
type Exception report
message
description The server encountered an internal error () that prevented it from
fulfilling this request.
ex
Hello,
I have a query regarding use of struts to get the request variable value.
I populate a variable in request in my Action as
request.setAttribute("mode",1);
now how can print the value of this variable using
("/Login.do?reason=" +
LOGIN_REASON_NOT_LOGGED_IN, true);
}
}
-- Raman
- Original Message -
From: "Antony Paul" <[EMAIL PROTECTED]>
To: "struts" <[EMAIL PROTECTED]>
Sent: Wednesday, December 10, 2003 5:08 PM
Subject: session.invalidate
Hello,
I am using struts/beans in my application. I want a scheduler kind of thing that
after regular interval of time should check the db and send mails.
I want some suggestions regarding running it on red hat linux and way to go for this.
Cheers,
Raman Garg
Hi Gurpreet
Try this
Hope this solves your problem
Thanks,
Raman garg
- Original Message -
From: "Gurpreet Dhanoa" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, November 27, 2003 3:52 PM
Subject: Disp
2003 5:51 PM
Subject: Re: Basic question about hi, so glad that i met the same question as you
>
>
> module id:
>
>
> />">abc
>
>
> article title:
>
>
>
> and it show me the errors:
>
> equal symbol expected
>
> ---
> can
hello all,
i have a basic problem in ">
but this is not working.
Any help regarding this??
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
rgory" class which has "productlist[]" and "catergoryname" as its
properties
Thanks in advance
Raman Garg
="/WEB-INF/tiles-defs.xml" />
> >
> >
> >
> >
> >
> >
> >Also,
> >
> >try to open your tiles-defs.xml file in your browser to check if it
showing
> >any error??
> >
> >Raman Garg
&g
open your tiles-defs.xml file in your browser to check if it showing
any error??
Raman Garg
- Original Message -
From: "Morten Andersen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 24, 2003 3:34 PM
Subject: tiles - setup
> I'
hi Phil
I am Raman working with Gurpreet on to the same problem.
Basically we have 2 web applications which we have deployed onto the same
Linux server from the same NT server.
The thing which shocked us it one of the application is working fine but the
other not.
Well we are trying to
Hi MIke
Thanks for your support. I am Raman Working with Gary.
Following is thedetails regarding our log file. Can you help us in resolving
this.
2003-10-23 16:56:12 [org.apache.catalina.connector.warp.WarpConnector] Error
accepting requests
java.net.SocketException: Socket closed
at
}
and check the output at tomcat after restarting it... this will ensure that
your class file is called.
if this goes ok then some problem is there in your index.jsp
cheers
Raman Garg
- Original Message -
From: "Ajay Kalidindi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECT
Hi,
I have a problem regarding struts logic:iterate
I need to show category wise listing of products. so can anybody advice me
how to create nested logic iterate loops to accomplish this.
what i need is there will be two nested logic iterates
Tutorials with struts
http://jakarta.apache.org/struts/resources/tutorials.html
For List of common errors in Struts
http://www.geocities.com/Colosseum/Field/7217/SW/struts/errors.html
Some code examples with struts
http://forum.exadel.com/viewtopic.php?t=120
do share yours!!!
Raman Garg
Hi,
I have a problem regarding struts logic:iterate
I need to show category wise listing of products. so can anybody advice me how to
create nested logic iterate loops to accomplish this.
what i need is there will be two nested logic iterates
Hi,
can anyone tell me I want to show value of my
request.setAttribute("varName",varName);
in my jsp page created in struts,
do we have any method to show the value wihtout using jsp tags
<%=request.getAttr. %>
I want to show it in "
development server
Any other suggestion will be appreciated .
Looking forward to hear from you.
Cheers
Raman Garg
- Original Message -
From: "Caoilte O'Connor" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 12, 2003 3:42 PM
Subject: Re: File
onError("error.text1.required"));}
}
return errors;
}
Hope this may help you
Cheers
Raman Garg , Gary
[EMAIL PROTECTED]
[EMAIL PROTECTED]
- Original Message -
From: "sairam manda" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wedn
weblogic.servlet.internal.ServletRequestImpl.execute
(ServletRequestImpl.java:2573)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
==
Any Suggestion or help will be highly appreciated.
Best Regards
Raman Garg
hi emm,
The best which you can do in a situation like this is search for the error
id on the sun java's bug parade page.
http://developer.java.sun.com/developer/bugParade/
There would definitly be a few more people who have faced this problem and
possibly a few work arounds also.
Another point,
hi
Baybe a dumb question but are you using the custom tag to display the
errors.. I think they are
-and-
hope this helps
anand
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 25, 2002 6:53 PM
To: [EMAIL PROTECTED]
Subject: Still having weir
hi chen
I am not sure how you are deploying your web application. If you are
deploying it the "war" way you need to
1. place the application resources under the
/WEB-INF/class/com/youcompany/yourapplication package
2. restart the application server
If you are deploying the application in a exp
hi
It is simple. Reuse the same mappings which you have defined for this type
of process flow.
e.g.
I am sure that your struts-config file would have similar mappings.
Suppose with this definition for a element if you are on page 3 and
require to go back, you could do a mapping.findForward(
hi guys
In one of mail sent to this mailing list I read
"form bean properties should generally be strings, and you should do the
conversion to int (or any other datatype) later".
My questions is there any specific reason why it should be done this way. I
understand that it is necessitated b
make sure that the name for the password box has a appropriate getter in the
ActionForm. Struts will complain if you trying to display a form on a jsp
but the ActionForm doesnt have a getter, but wont crib if a setter for the
property is not present in the form.
Hope this helps
Anand
-Origin
message for key index.title
can someone clue me in ?
Thanks,
balu Raman
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
hi guys
Definitly u can use the perform method without the ActionForm parameter.
A null will be passed as the ActionForm parameter if the Action configuration
directive in the
struts-config.xml file doesnt contain a "name" attribute
Hope this helps
Anand
On Wed, Mar 14, 2001 at 10:56:16AM -05
hi
most probably u need a ApplicationResources.properties file in the
WEB-INF/classes/mypackage-dir directory..
Try pasting the ApplicationResources.properties file in the directory
and restart..
I think the problem should go away..
Hope this helps
Anand
On Wed, Mar 14, 2001 at 10:51:34AM -0500
Hi Amar
I did something similar..
Whenever i needed a ActionForm for variable scope i always used the
session scope. Now whenever i needed the bean to persist only for the
request, i manully removed the attribute from the session scope.. Not a
very elegant solution, but still managed to solve my
Hi Bryan
I have used both primitive data types like int, float, boolean and
String objects in the ActionForm class..
It has been working fine.. Meaning that a text filed which is filled
with a numeric value populates the primitive setter method
appropriatly.. The same happens in the case of a Str
hi guys
How to retrieve a session scope action form in some other jsp file ..
I tries doing a session.getAttribute("[name]") but didnt work..
I am doing something wrong..
Thanks
Anand
some other jsp files..
However when i use
">
Tomcat reports ::: Attribute paymentMode has no value
Please clarify
Thanks
Anand Raman
maybe one simpe solution.. Why dont you use a simple button instead on a
html submit button.. I think that will simplify ur case as it once did
for me..
Hope this helps
Anand
On Sat, Feb 24, 2001 at 02:30:13PM -0500, Fickes, Vic wrote:
>To answer the question, I'm using IE5.5.
>
>However, I disco
define seperate action mappings and depending on the login forward the
guy to the appropriate mapping..
if(user.isSysAdmin())
return mapping.findForward("sysadmin");
else if(user.isAdmin())
return mapping.findForward("admin");
Hope this helps
Anand Raman
hi pratima
This works for me.. When the html page is rendered try to analyse the
html code and see whats wrong..
Hope this helps
Anand
On Fri, Feb 23, 2001 at 10:40:39AM -0800, Gogineni, Pratima wrote:
>Hi,
>
>This is probably something very straight forward but ...
>I am trying to create a hidde
Hi Vic
The action perform method is called once for every submission..
When u hit the submit button the ActionFromBean is populated and then
the controller passes on the control to the Action class perform
method.
U then return any appropriate action forward method from the same
perform method
I guess this can be typically achieved thru javascript.. Though not very
sure u can try out the layers tutorial on http://developer.netscape.com/
for more information..
Hope this helps
Anand
On Thu, Feb 22, 2001 at 03:02:24AM -0600, Arnold Cano wrote:
>i have run into a bit of a problem. my acti
hi guys
Please bear with me.. I am facing a typical problem though not directly
related to struts..
I am using struts to power my web application..
I am trying to implement a multi page form and in some scenario the
application is hanging because of a database lock which is not going
away afte
try out the additional resources link from the site..
Hope this helps
Anand
On Sat, Feb 17, 2001 at 07:06:21PM +0100, hunkpapa wrote:
>Hi,
>where can I find more exaples ?
>I've only the included examples from jakarta.
>
Hi guys
I noticed in the struts-example application a check to find whether the
ActionForm "form" passed to the perform method of Action class is null or
not.
Is it really necesarry.. I am not able to come up with a situation like
this.. According my knowldge a ActionForm is always populated bef
suggest a way out.. I am not using any html tag lib..
I just want to access a property in the ActionForm and construct a
anchor..
Thanks
Anand Raman
do i access the value of a property..
>
>Please suggest a way out.. I am not using any html tag lib..
>
>I just want to access a property in the ActionForm and construct a
>anchor..
>
>Thanks
>Anand Raman
hi guys
How do we associate more than one ActionForm with a Action
Thanks for your help
Anand
submission
Thanks
Anand Raman
hi guys
I have the following case.
My ActionForm has a ArrayList called artistCollection which gets
populated with Artist objects in the Action class.
I now have to generate a select box using this ArrayCollection.
The jsp page has the following code to populate the drop down box.
Hi Hunt,
can be done in many ways..
one way being
generate errors in ActionForm but dont display in the jsp page by simple
skipping the tag from the file..
hope this is of some help
Anand
On Mon, Jan 29, 2001 at 04:24:37PM -0800, John Hunt wrote:
>If a person invokes a ActionServlet without any
Hi Hunt
Sorry for the late response but i just managed doing something very
similar..
its quite easy to do and can be comfortably accomplished using struts..
The link which leads to ur edit page will have the action mapping and
also a requestParameter to identify the operation that needs to be
p
hi Howard
sorry for the late response but what kind of a mapping have u specified
in the web.xml file.
I think that too matters a lot to rightly match all the actions..
Thanks
Anand
On Mon, Jan 22, 2001 at 05:40:29PM -, Howard Moore wrote:
>I have the following action configured in my strut
)
>method was called -- it would be triggered in your if statement. Have you checked
>that?
>
>Craig McClanahan
>
>
>Anand Raman wrote:
>
>> hi guys
>> I am into making a simple application using struts..
>>
>> A portion of my Acti
hi guys
I am into making a simple application using struts..
A portion of my Action subclass reads
if ("edit".equals(aForm.getAction())) {
servlet.log("display the artist details of id "+aForm.getArtistId()+" for
editing with action "+aForm.getAction(),2);
String sql = "select n
ork fine?
>When you look at the source, what do you see? Also,
>what server are you running under?
>
>Do you have your tags defined at the top of the page?
>
><%@ taglib uri="/WEB-INF/struts-bean.tld"
>prefix="bean" %>
>
>
>David
>
>--- An
hi guys
I am on my way to make my first struts application..
The ActionForm, Action , ActionServlet and my jsp are all in proper
places.
However when i send a request for a jsp page i dont get to see any
content on my browser. The server has serviced these requests and it is
evident as i can see
orm.do
> Invalid path /jsp/logonForm was requested
>
> Can any one please tell me how i can get rid of this..
>
> Thanx for ur time
> Anand Raman
>
>
>
> -
> Get personalized e-mail and a web address or your
> own f
400 error message
Error: 400
Location:/contest/jsp/logonForm.do
Invalid path /jsp/logonForm was requested
Can any one please tell me how i can get rid of this..
Thanx for ur time
Anand Raman
-
Get personalized e-mail and a web address or your
hi guys
I managed to solve the problem.. I dont where the problem was but i deleted the entire
application and created it again.. Things have started rolling again..
Thanx for ur time and patience
Anand Raman
On Sun, 22 October 2000, [EMAIL PROTECTED] wrote:
>
> Hi craig
> I jus
ache.org/struts/dtds/struts-config_1_0.dtd">
I am still stuck at it and need ur help..
Thanx
Anand Raman
ps : can i attach the web.xml and struts-config.xml in question to this list..
On Sun, 22 October 2000, "Craig R. McClanahan" wrote:
>
> Anand Raman wrote:
>
>
hi guys
I stated testing struts after creating a small context almost on the
lines of the struts - example application..
However whenever tomcat starts this applcation it compains of SAXException.
These errors are not thrown for the struts-example application..
What could be the possible cause a
hi guys
I have just started out with struts so bear this naive question
I haev configured all the xml files in WEB-INF directory to appropriatly
forqard requests to the necessary action classes.. However whenever i am
hitting the submit button on myform the server throws a 404 error
Not Found
T
75 matches
Mail list logo