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 servlets
but it is working for one site not for other... i don't know why??
and giving me error like
nvalid path /Login was
two servlet tags with names
action and action1 and
in mapping changed *.do for action and *.do1 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
(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
CREATION OF ANOTHER STRUTS CONF FILE for admin IS ONE OF my trials that I made Any
better and workable solutions will be appreciated.
Regards,
Raman Garg
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
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: Saturday, February 21, 2004 4:00 AM
Subject: Re: How
to figure out the reason.
Pls help..
-- Raman
Hello,
I hope following will resolve your problem:
logic:iterate id=maxreqiddetail name=maxreqiddetails
%
String s=maxreqiddetail.getPrimary_skill();
%
/logic:iterate
I haven't tested it but i think it will work.
Thanks,
-- Raman
- Original Message -
From: Ramachandran [EMAIL
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]
tried and couln't find solution.. Pls help.
Raman Garg
till now:
I have bean:define id=val1 name=subfilters property=subFilterId/
and assign this as html:checkbox property=subfilterids value=%=val1%
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
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 [EMAIL PROTECTED]
To: 'Struts Users Mailing
html:form action=/UpdateUserQst
/logic:notEqual
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
...
-- Raman
[EMAIL PROTECTED]
- Original Message -
From: Mark Lowe [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Saturday, December 20, 2003 7:59 PM
Subject: Re: BeanUtils.populate Error
On 20 Dec 2003, at 11:28, Raman wrote:
ya the properties are same both
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.
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: BeanUtils.populate Error
When are you
scope=request
parameter=List
validate=false
forward name=success path=ask-a-question-list/
/action
-- Raman
- Original Message -
From: Firat TIRYAKI [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent
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 bean:write tag
Help me in this...
Thanks
Raman Garg
?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() throws exception.
Hi,
Calling 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
bean:write name=myLogic property=content_body filter=true/
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
hello all,
i have a basic problem in html:radio
I want to use it in the loop for radio buttons. But facing problems in
setting the value of the control. i have tried
html:radio property=id value=bean:write
name=filters property=FilterId /
but this is not working.
Any help regarding this??
=module property=module_id
/abc/option
/logic:iterate
/html:select
article title:html:text property=article_title /
br
/html:form
and it show me the errors:
equal symbol expected
---
can't nested tag like that? any solution about this?
- Original Message -
From: Raman
=definitions-parser-validate value=true /
/plug-in
Also,
try to 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
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'm trying to use tiles with my existing struts application, but I can
't
get
name=category property=categoryname/
logic:iterate id=products
bean:write name=products /
/logic:iterate
/logic:iterate
I have a bean catergory class which has productlist[] and catergoryname as its
properties
Thanks in advance
Raman Garg
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
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
!--this is for listing of catergory--
logic:iterate
!--this is for products under a catergory--
/logic:iterate
/logic:iterate
How can populate the inner loop variable???
Thanks in advance,
Raman Garg
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
of catergory--
logic:iterate ...
!--this is for products under a catergory--
/logic:iterate
/logic:iterate
How can populate the inner loop variable each category id??
Thanks in advance,
Raman Garg
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 PROTECTED]
Sent: Thursday, November 13, 2003 4:53 PM
Subject: action-mappings, action not working
Hi
I am using
(ExecuteThread.java:151)
==
Any Suggestion or help will be highly appreciated.
Best Regards
Raman Garg
));}
}
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: Wednesday, November 12, 2003 3:14 PM
Subject: validation
Hello Sir,
I am
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 upload problem with Struts 1.1
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 html:link tag what will be value of
paramId=id, paramProperty
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 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
hi
Baybe a dumb question but are you using the custom tag to display the
errors.. I think they are
html:errors/
-and-
html:messages id=error
libean:write name=error//li
/html:messages
hope this helps
anand
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent:
hi guys
In one of mail sent to this mailing list I read
quote
form bean properties should generally be strings, and you should do the
conversion to int (or any other datatype) later.
/quote
My questions is there any specific reason why it should be done this way. I
understand that it is
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
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
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
ection="paymentModeList" property="id"
labelproperty="value"/
/html:select
Tomcat reports ::: Attribute paymentMode has no value
Please clarify
Thanks
Anand Raman
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
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
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 hidden
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
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.
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
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.
html:select
such a submission
Thanks
Anand Raman
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
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 html:errors/ 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
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
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 Action subclass reads
if ("edit".equals(aForm.getAction())) {
servlet.lo
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
jsp"/
/action
/action-mappings
Tomcat reports back with a 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
---
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
59 matches
Mail list logo