There are no database operations. It is the simplest one. I am learning by
example.
?xml version=1.0 encoding=ISO-8859-1 ?
!DOCTYPE struts-config PUBLIC
-//Apache Software Foundation//DTD Struts Configuration 1.2//EN
http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd;
Are you sure that the Form Bean class is loaded within the Web
App;lication.
Id teh package correct: code.LoginForm???
Thanks and regards,
Pazhanikanthan. P (Paz)
Consultant for AXA,
Senior Software Engineer,
HCL Australia Services Pty. Ltd.
Off : +61-3-9618-4085
Mob : +61-0411-354-838
Yes. Both LoginAction.java and LoginForm.java are in code package. Please
let me know if I have to send you the entire folder ? What you mean by this
loaded within the Web Appilication. ???
On 9/7/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Are you sure that the Form Bean class is
Is the class files under the folder WEBAPP\WEB-INF\classes???
Thanks and regards,
Pazhanikanthan. P (Paz)
Consultant for AXA,
Senior Software Engineer,
HCL Australia Services Pty. Ltd.
Off : +61-3-9618-4085
Mob : +61-0411-354-838
Tom Jerry [EMAIL PROTECTED]
07/09/2006 04:13 PM
Please
since the package name is code, the .class files are found in
WEB-INF/classes/code folder.
On 9/7/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Is the class files under the folder WEBAPP\WEB-INF\classes???
Thanks and regards,
Pazhanikanthan. P (Paz)
Consultant for AXA,
Senior Software
Thx for the reply puz.
I changed as you said.
and kept the values in pageContext and i also converted the member variable to
public static.
%
request.setAttribute(hours, StaticData.hours);
request.setAttribute(minutes, StaticData.minutes);
%
But in the combo box it is not populating the
The object should be Collection object... not just simple String array
Thanks and regards,
Pazhanikanthan. P (Paz)
Consultant for AXA,
Senior Software Engineer,
HCL Australia Services Pty. Ltd.
Off : +61-3-9618-4085
Mob : +61-0411-354-838
Ashish Vijaywargiya [EMAIL PROTECTED]
07/09/2006
Are you certain your code.LoginForm class extends
org.apache.struts.action.ActionForm? That could
asily explain the problem.
Then again you could get an exact reason by
naming the specific Struts 1.2.X version you
are using (it doesn't appear to be 1.2.7).
Then you could check the svn tag for
I am using Struts 1.2.9
On 9/7/06, David Friedman [EMAIL PROTECTED] wrote:
Are you certain your code.LoginForm class extends
org.apache.struts.action.ActionForm? That could
asily explain the problem.
Then again you could get an exact reason by
naming the specific Struts 1.2.X version you
are
In a struts jsp files can I have more form with different action defined
?
I mean something like that
?xml version=1.0 encoding=UTF-8 ?
%@ page language=java contentType=text/html; charset=UTF-8
pageEncoding=UTF-8%
%@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean %
%@ taglib
Gupta, Rahul ha scritto:
Hi,
I have a page with three tiles. Is there a way to share a variable
between these tiles?
AFAIK you cannot do it, anyway you can store your variable in request
scope and access it with JSP tags.
HTH
Antonio
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Marcello!
Of course you can. But only the values of the special form will be
submitted and transport via the request. Otherwise you have to collect
the values via javascript.
Manfred
Struts goes mobile. See http://www.strutsme.org
Marcello
212 is in method createActionForm:
obj = formBeanClass().newInstance();
So newInstance() isn't working. Can you show the declaration line of your
code.LoginForm class?
i.e. public class ... extends ActionForm ... ?
Regards,
David
-Original Message-
From: Tom Jerry [mailto:[EMAIL
Marcello Savino ha scritto:
In a struts jsp files can I have more form with different action defined
?
Absolutely yes, but why do you ask?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
I think I once did it but you have to put each variable inside each section.
It make the config look very redundant. I probably got it from the Demoulas
(spelling?) PDF. I think I used it once ages ago and no, I don't have the
sample anymore. It was too cumbersome in my opinion.
Regards,
David
Of course you can.
On 9/7/06, Marcello Savino [EMAIL PROTECTED] wrote:
In a struts jsp files can I have more form with different action defined
?
I mean something like that
?xml version=1.0 encoding=UTF-8 ?
%@ page language=java contentType=text/html; charset=UTF-8
pageEncoding=UTF-8%
%@
I am certain that my code.LoginForm class extends
org.apache.struts.action.ActionForm
On 9/7/06, Tom Jerry [EMAIL PROTECTED] wrote:
I am using Struts 1.2.9
On 9/7/06, David Friedman [EMAIL PROTECTED] wrote:
Are you certain your code.LoginForm class extends
Darren Hall ha scritto:
When attempt to view http://localhost/flc through a browser I get a 404
error. What did I do wrong??
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
(I supposed
package code;
import org.apache.struts.action.ActionForm;
public class LoginForm extends ActionForm
{
private String login;
private String password;
public String getLogin() {
return login;
}
public void setLogin(String login) {
this.login = login;
}
public
I do things a little differently in my spring 2.0 + hibernate3.2.0.cr2
config (and it sure looks like you are using a spring 2.0 release candidate
to get the destroy-method attribute). Just note that my someDAO name of
class example.MyHibernateDAOImpl extends HibernateDAOSupport and implements
You mean I cannot, for instance, populate fields in the form2 after acquiring
data from form1 ?
-Messaggio originale-
Da: Manfred Wolff [mailto:[EMAIL PROTECTED]
Inviato: giovedì 7 settembre 2006 9.18
A: Struts Users Mailing List
Oggetto: Re: Several action in a jsp
-BEGIN PGP
Just out of interest, where have you put the struts.jar file? in /WEB-INF/lib?
Tom Jerry wrote:
package code;
import org.apache.struts.action.ActionForm;
public class LoginForm extends ActionForm
{
private String login;
private String password;
public String getLogin() {
return
Thats a html feature. Only the values of the submitted form will be
transported in the request. And only those values, that are transported
in the request, can be populated from the struts framework.
Manfred
Struts goes mobile. See http://www.strutsme.org
Marcello Savino wrote:
You mean I
Yes you can populate one form with data from another form. Assuming both
forms already exist in some scope add the attribute name=someBeanName and
it will take the property from that bean. That allows you to have form1 use
fields pulled from beanA, beanB, it's own form, and more. I've used it
yes !!! Both servlet-api.jar and struts.jar are in WEB-INF/lib folder. Then
I added these 2 jar files to the build path of that folder.
On 9/7/06, Gareth Evans [EMAIL PROTECTED] wrote:
Just out of interest, where have you put the struts.jar file? in
/WEB-INF/lib?
Tom Jerry wrote:
package
Since we're picking your code apart... In your struts-config.xml you
shouldn't need to specify the controller as a TilesRequestProcessor if you
have the plugIn specified. I recommend you comment the
TilesRequestProcessor line out. See:
http://struts.apache.org/1.2.x/userGuide/configuration.html
I want to populate data in the form 2 after acquiring data from form1
Before start coding, i would like to be sure i'm doing the right think.
That's the reason
-Messaggio originale-
Da: Antonio Petrelli [mailto:[EMAIL PROTECTED]
Inviato: giovedì 7 settembre 2006 9.22
A: Struts Users
I commented them. Still the same error comes. :(:( whatelse would be the
other reasons ?
On 9/7/06, David Friedman [EMAIL PROTECTED] wrote:
Since we're picking your code apart... In your struts-config.xml you
shouldn't need to specify the controller as a TilesRequestProcessor if you
have the
Hi ,
I want to remove the jsessionid attached with URL . Can you please tell me
how can i confiure the same. Presently i am using apache tomcat server , can
you please tell me is there any way to configure the same.
Regards,
Sunil Virmani
Double check your struts-config.xml file to ensure there are no extra
characters in the form name or anywhere else. Retype them if you have to.
Have you tried running the examples just to make sure everything will work
normally in your application server? Additionally, what is the name of the
sunil virmani ha scritto:
I want to remove the jsessionid attached with URL . Can you please
tell me
how can i confiure the same. Presently i am using apache tomcat server
, can
you please tell me is there any way to configure the same.
The jsessionid attribute is put when cookies are not
The struts-config.xml is correct. I have already tried sample applications
before, and it works well with this application server (Weblogic).
The url is http://localhost:7001/registeruser
It can also be http://localhost:7001/registeruser/index.jsp
Either way, the same error comes :(
On 9/7/06,
Hi all,
can i change the jsessionid name? is it mandatory to use jsessionid name
to store the id?
thanks to all.
El jue, 07 de 09 de 2006 a las 10:24, Antonio Petrelli escribió:
sunil virmani ha scritto:
I want to remove the jsessionid attached with URL . Can you please
tell me
how
Hi Antonio,
Thanks for your quick reply. I agree with you if cookies are disabled then
URL rewriting will be used.
1. Is there any way to hide the jsession id attribute.
Regards,
Sunil Virmani
On 9/7/06, Antonio Petrelli [EMAIL PROTECTED] wrote:
sunil virmani ha scritto:
I want to remove
Hi Antonio,
Thanks for your quick reply. I agree with you if cookies are disabled then
URL rewriting will be used.
But Is there any way to hide the jsession id attribute? It is my client
requirement or i have to handle the session management using cookie. Can you
provide me the link for the
The problem is not within the formbean...
The web container is not able to find the Action (LoginAction) class...
Please make sure you have a compiled class (LoginAction.class) under
WEB-INF/classes/code folder in your production environment...
On Thu, 7 Sep 2006, Tom Jerry wrote:
The
sunil virmani ha scritto:
But Is there any way to hide the jsession id attribute?
If you don't mind if the first page has the jsessionid attribute, you
have simply to enable cookies in your browser.
It is my client requirement or i have to handle the session
management using cookie.
LoginAction.class is definitely present in WEB-INF/classes/code folder.
It is referenced in struts-config.xml as code.LoginAction.
On 9/7/06, fausto mancini [EMAIL PROTECTED] wrote:
The problem is not within the formbean...
The web container is not able to find the Action (LoginAction)
Ok; I suggest to double check all paths again, classes, libs, pages... (I
do this every time something goes wrong and I can't find the cause...);
Your code is ok... also you configuration files are ok. I'm 100% sure of
this because I've used your code to make test on my server
instance and
I sent the same folder to my friend's system just now... and to my
astonishment, output came :( what is wrong with my system ??? Will there be
something wrong with Eclipse itself ???
On 9/7/06, fausto mancini [EMAIL PROTECTED] wrote:
Ok; I suggest to double check all paths again,
Tom Jerry ha scritto:
I sent the same folder to my friend's system just now... and to my
astonishment, output came :( what is wrong with my system ??? Will
there be
something wrong with Eclipse itself ???
In a previous post you wrote that you put servlet-api.jar in
WEB-INF/lib,
On 9/7/06, Ashish Vijaywargiya [EMAIL PROTECTED] wrote:
Thx for the reply puz.
I changed as you said.
and kept the values in pageContext and i also converted the member
variable to public static.
%
request.setAttribute(hours, StaticData.hours);
request.setAttribute(minutes,
no..no.. no need just now, I run the same application using Tomcat
WebServer and OUTPUT CAME !!! which means... definitely
something is wrong with Weblogic :( How is exception of creating bean
connected to weblogic ???
On 9/7/06, Antonio Petrelli [EMAIL PROTECTED]
Ashish Vijaywargiya ha scritto:
Hello,
I created an Interface as the code shown below :
public interface StaticData {
String[] minutes = { 01, 02, 03, 04, 05, 06, 07, 08, 09,
10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31,
Antonio Petrelli wrote:
Ashish Vijaywargiya ha scritto:
Hello,
I created an Interface as the code shown below :
public interface StaticData {
String[] minutes = { 01, 02, 03, 04, 05, 06, 07,
08, 09,
10, 11, 12, 13, 14, 15, 16, 17, 18,
19, 20,
21, 22, 23, 24, 25,
On 9/7/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
The object should be Collection object... not just simple String array
Can someone please clarify on this, coz AFAIK it can be an array of Objects.
--
Puneet
Hi Puneet,
Thanks for your input. The problem seems only to exist when using
declarative programming in the struts-config.xml file using
DynaValidatorActionForm. I now coded my onwn form class derived from
ValidatorActionForm and everything works just fine with my datastructures.
Tom
Try to check your Application Server specific deployement decriptor files.
Probably something is wrong oe missing.
On Thu, 7 Sep 2006, Tom Jerry wrote:
no..no.. no need just now, I run the same application using Tomcat
WebServer and OUTPUT CAME !!! which means... definitely
hi all,
I want to do Dynamic field check using validator framework.
I have done the following steps:
1.Add validator plugin in struts-config.xml
plug-in className=org.apache.struts.validator.ValidatorPlugIn
set-property property=pathnames
Hi,
Check this
http://www.roseindia.net/struts/address_struts_validator.shtml
above link shows you how to validate your form at client side.
Regards
Deepak Kumar
-Original Message-
From: leo mj [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 07, 2006 4:53 PM
To:
How can i implement connection pooling in struts. What will be the
server.xml? and what the things i would have to do.Give the code.
hi all,
I want to do Dynamic field check using validator framework.
I have done the following steps:
1.Add validator plugin in struts-config.xml
plug-in className=org.apache.struts.validator.ValidatorPlugIn
set-property property=pathnames
WoW.
On 9/6/06, amit fulambarkar [EMAIL PROTECTED] wrote:
How can i implement connection pooling in struts. What will be the
server.xml? and what the things i would have to do.Give the code.
-
To unsubscribe, e-mail: [EMAIL
You have validate=false in your action mapping. Change that to true.
Adam
-Original Message-
From: leo mj [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 07, 2006 6:59 AM
To: user@struts.apache.org
Subject: Field check using DynaValidatorForm
hi all,
I want to do Dynamic field
like how ??? can u elaborately explain the steps... this will help me in
understanding better what is actually deployed in the web application.
On 9/7/06, fausto mancini [EMAIL PROTECTED] wrote:
Try to check your Application Server specific deployement decriptor files.
Probably something is
adam,
Thanks...
I have changed the validate=true but i am getting an exception at the
plug-in part of struts-config.xml
The exception is
ValidatorPlug I org.apache.struts.validator.ValidatorPlugIn initResources
Loading validation rules file from '/WEB-INF/validator-rules.xml'
[9/7/06
Hi,
You can use apache DBCP for connection pooling. Apache DBCP is free and
robust connection pooling software.
Have a look at
http://www.roseindia.net/struts/strutsdatasourcemanagerontomcat5.shtml.
Tutorial shows you how to use DBCP with tomcat for your struts applications.
Regards
Deepak Kumar
Can anybody tell me how to set a form bean property of type
java.util.HashMap in a jsp page.
Actually i am prepolulating this property in action and then forwarding to
a jsp page.
In this jsp page i need to again set this property ,so tht if there is
some validation error then this HashMap is
Hi.
That's a little bit OT. The connection pool should be part of the tomcat
configuration (or an other servlet engine). The server.xml may be a good
part, better you place a xml into the
$CATALINA_HOME/conf/Catalina/localhost folder such as:
Context path=/example
Add following code in server.xml to create a JNDI under context tag:-
Here is the JNDI created for oracle DB
Resource name=jdbc/XYZ auth=SERVLET
type=oracle.jdbc.pool.OracleConnectionCacheImpl/
ResourceParams name=jdbc/XYZ
parameter
I will be out of the office starting 09/05/2006 and will not return until
09/11/2006.
I will respond to your message when I return.
The contents of this email are the property of the sender. If it was not
addressed to you, you have no legal right to read it. If you think you received
it in
Hi All:
I want to pass a Variable to my Javascript Function in the following manner
html:link action=/delete onclick=return
confirmationMessage('jsMessage')
Where jsmessage= Are you sure you want to delete?
Currently the Confirm-Box is printing jmessage.
How do I force it
Just pass the variable jsMessage(remove the quotes) i.e.
html:link action=/delete onclick=return
confirmationMessage(jsMessage)
and use this variable in javascript.
On 9/7/06, Chetan Pandey [EMAIL PROTECTED] wrote:
Hi All:
I want to pass a Variable to my Javascript Function in the
I do not work with weblogic; each AS has its own deployement descriptors
to configure enterprise applications modules (in your case the web
application is one of this modules.)
Take a look here
http://edocs.bea.com/wls/docs81/programming/concepts.html#1050656
Perhaps you can ask in some
Hai,
Is the validator framework is only for dynavalidatorform?
I am using actionform using validator framework.Its not working fine how?
Kindly regards
Gomes
Antonio,
Thank you for your reply.
And you forgoto the processorClass attribute in controller tag in
struts-config.xml:
controller pagePattern=$M$P inputForward=true
processorClass=org.apache.struts.tiles.TilesRequestProcessor/
I've update my controller element in my struts-config to
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 application is not the root application, it is the flc application,
located at the path /flc (under the
Interesting.
Isn't the .do extension just a placeholder for .jsp or some other
extension that is mapped in your struts-congif.xml?
I was also under the impression (maybe incorrectly) that I could map a URI
to a file (or in this case a tile definition) in my struts-config.xml and
also associate
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.xml (when you configure the
ActionServlet), and anyway the welcome file is treated as a different
entity. I really
Hi, i want to call a LookupDispatchAction passing more parameter
I mean something like this
public ActionForward myMethod(
ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
Ok, after some heavy digging, here's the deal:
Support for abbreviations is only kept around for compatibility for Java
1.1.x and apparently AEDT is not a standard time zone abbreviation
(though I bet Sydney residents would beg to differ...). It appears that
the preferred time zone string
On 9/7/06, nirav bumia [EMAIL PROTECTED] wrote:
Just pass the variable jsMessage(remove the quotes) i.e.
html:link action=/delete onclick=return
confirmationMessage(jsMessage)
and use this variable in javascript.
I suppose you are trying to pass a variable that you have in some scope in
On 9/7/06, Vaneet Sharma [EMAIL PROTECTED] wrote:
Can anybody tell me how to set a form bean property of type
java.util.HashMap in a jsp page.
Actually i am prepolulating this property in action and then forwarding to
a jsp page.
In this jsp page i need to again set this property ,so tht if
Thanks a lot for ur help :):) I will look into it and get back to you :)
On 9/7/06, fausto mancini [EMAIL PROTECTED] wrote:
I do not work with weblogic; each AS has its own deployement descriptors
to configure enterprise applications modules (in your case the web
application is one of this
Have a Drop down and an input field.
When user selects Type 1 from drop down only then the input field is
required. otherwise it's not a required field.
Looking at the validator guide in struts maybe I have to create a new
validator rule which should check if drop down value Type 1. But not
What is all this hibernate.c3p0 stuff and where can I find
documentation on what to use?
Where can I find the spring-hibernate3 examples at?
Last I knew the props were just suppose to be prefixed with hibernate.
Thanks,
Shawn
-- Forwarded message --
From: David Friedman [EMAIL
From the note about the MalFormURL Exception I would initially guess you
started the header DOCTYPE in the file incorrectly. You gave a 6 line entry
from your validation.xml file split like so:
!DOCTYPE form-validation
PUBLIC -//Apache Software Foundation//
DTD Commons Validator Rules
I need to write an FTP client to upload/download files from a server
I've implemented StrutsFileUplaod and StrutsFileDownload from the Struts
Wiki
How can I retrieve and display a directory/file list of the server?
Does anyone have a Struts example which displays a list of directories and
files?
Ok, maybe I'm approaching this from the wrong direction.
In my web.xml, I have an ActionServlet called front-controller mapped to
/flc. Anything with the /flc URI will get routed to the front-controller.
Additionally my welcome-file-list specifies index.jsp as the default page.
I've set up tiles
Since everything looks in order then you are missing something key in a
log file. 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?
Regards,
David
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. I
*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: configuring tiles
Don't feel bad, I did the same thing last week... staring for about ten
minutes at a bit of JavaScript, unable to figure out why a particular
AJAX call didn't seem to be firing... because it was commented out! As
Carlos Mencia would say... dee-dee-dee!!
Frank
(And yes, it was color-coded,
With Struts 2, something to keep in mind is that it already uses
Spring under the covers. There should already be a Spring 1.2.8
listener included the default web.xml. Generally, you can just put
applicationContext.xml in the WEB-INF and have at it.
Using Hibernate with Struts 2 shouldn't be a
Hi Puneet,
Thx for the reply.
I think if you have the facility to import classes then you should use the
import statement at the top of JSP file.That's what I did in my case.
Like this :
%@ page import=java.util.*, com.exporder.web.StaticData %
and then as simple as I used is shown
I am trying to read from a file using a utility class that I invoke from
an action. However, my application is unable to find the file and a
java.io.FileNotFoundException is thrown. I have tried placing the file in
/WEB-INF/classes as well as the root directory of the application however
the
Gomathi wrote:
Hai,
Is the validator framework is only for dynavalidatorform?
I am using actionform using validator framework.Its not working fine how?
You need to derive your form beans from ValidatorActionForm, not just
ActionForm. DynaValidatorForm extends ValidatorForm, so that should be
Asad Habib wrote:
I am trying to read from a file using a utility class that I invoke from
an action. However, my application is unable to find the file and a
java.io.FileNotFoundException is thrown. I have tried placing the file
in /WEB-INF/classes as well as the root directory of the
sheetal wrote:
Thanks for the help..
Yesterday I tried and it worked...
But the problem now is that its message string is not coming...
I had made an entry for it in applicationresoUrces.properties...
BUT STILL IT'S UNABLE TO PICK IT FROM THERE..
What message string? How are you specifying
fea jabi wrote:
Have a Drop down and an input field.
When user selects Type 1 from drop down only then the input field is
required. otherwise it's not a required field.
Looking at the validator guide in struts maybe I have to create a new
validator rule which should check if drop down value
Hi,
I'm using ActionMessages stored in the session to display messages on a page and
everything works splendidly except that the messages never get removed from the
session so every time the user re-enters the page old messages get redisplayed.
After a bit of digging around, this appears to be
Hi Puneet:
None of the suggestions worked.
I even tried
onclick =returnconfirmationMessage(%=jsMessage%)
And other combinations with no help.
Thanks.
Chetan
-Original Message-
From: Puneet Lakhina [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 07, 2006 11:13 PM
To: Struts
Is the value of jsMessage a string with quotes around it? I'm assuming
it's a string value, maybe it isn't, but if it is, you'll need quotes
around it, and single quotes at that since its within a quoted event
handler.
Did you look at the generated source to see if your expected value was
Is jsMessage a java variable or a javascript variable? If it's a java
variable and you want to pass its value to the javascript function, I think
onclick=return confirmationMessage('%=jsMessage%'); will work. The
quotes inside the parentheses shouldn't be omitted.
2006/9/8, Chetan Pandey [EMAIL
Doing what you suggested results in a Confirm Box with Text = %=jsMessage%
Is something wrong with my JS function.
Here it is:
script type=text/javascript
function confirmationMessage(message)
{
var agree = confirm(message);
if (agree)
return true ;
else
return false ;
}
What if you replace the html:link tag with a anchor tag of the standard html
tags? Just for a try.
2006/9/8, Chetan Pandey [EMAIL PROTECTED]:
Doing what you suggested results in a Confirm Box with Text =
%=jsMessage%
Is something wrong with my JS function.
Here it is:
script
Then your JSP expression is not being evaluated... this *is* in a JSP,
right??
Frank
Chetan Pandey wrote:
Doing what you suggested results in a Confirm Box with Text = %=jsMessage%
Is something wrong with my JS function.
Here it is:
script type=text/javascript
function
Yes it is a JSP Page.
I am printing %=jsMessage% also for debugging purposes and it prints
correctly.
-Original Message-
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 07, 2006 11:47 AM
To: Struts Users Mailing List
Subject: Re: Setting a Variable in
Hi Laurie. Actually, I am not using any method to determine the path of
the file. Should I be doing that? In general, where should one place files
used for I/O within the WAR structure? Thanks for your help.
- Asad
On Thu, 7 Sep 2006, Laurie Harper wrote:
Asad Habib wrote:
I am trying to
Chetan Pandey wrote:
Yes it is a JSP Page.
Ok, that's good at least :)
I am printing %=jsMessage% also for debugging purposes and it prints
correctly.
The only way for you to see a confirmation popup with the text
%=jsMessage% in it is if that expression isn't being evaluated,
because
1 - 100 of 102 matches
Mail list logo