Hello All,
I am trying to use STRUTS Validator for validating some attributes of
primitive data type like double, int etc. However this fails as those
attributes are defaulted to their corresponding default values for the
datatypes like 0.0 for double and 0 for int.
I guess we can get around it b
I am creating a STRUTS based app with .EAR as the deployable in which I
want to host 2 .WARs, one for the internal user and the other for external
user. I want to have exactly the same code base for both WARs including any
resources and property/configuration files etc but for one Action class.
Any
Hi,
I have ActionA and FormA associated to screenA, similarly ActionB and FormB
associated to screenB. Upon click of a button on ScreenA, I need to
dispatch ScreenB with some values prefilled. I was wondering where should I
be writing the logic to populate the FormB for showing those values
prefil
Does STRUTS provide any feature so that the same jsp can be used for
showing the page in Display Mode as well as Edit Mode without having to
manually code the same in JSP ?
Regards
Sreekant G
@ 98404-65630
This mail was scanned by Interscan Virus Wall of Mailserver2 at SNR, TCS, Chennai
---
Please have a look at the piece of code below
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%!
void showMenu(JspWriter out)
{
for(int i=1; i<10; i++)
{
out.print("" + i + "");
}
}
%>
<
I have a few questions reg the below
Is this recreatable
is there a certain place where you get this OutOfMemory exception
Are you using JNI
Also Can you please send the stack trace.
Regards
Sreekant G
@ 98404-65630
+1
Regards
Sreekant G
@ 98404-65630
"Andrew Hill"
I did look into the subclassing the RequestProcessor class as well. I am
not sure if it can do the following
-- throw Exceptions.
-- NOT call the corresponding action class (instead return to a default
page) depending on some conditions.
Is there any advantage subclassing the RequestProcessor cla
Hi All,
Please give me your comments/suggestions on the below design.
I need to perform some common functionality across all the application
action classes, so I have written an abstract MyOwnAction class inheriting
from STRUTS Action class. All application action classes will be extending
MyOwnA
Basically what I wanted to do in the processPreprocess() method of
MyRequestProcessor class was "Check if there were any User related
credentials in the session, if yes let the process continute. If not then
throw the Logon page". Is there any otherway I can achieve this so that the
application de
I have written my own RequestProcessor class (MyRequestProcessor.java) by
extending the STRUTS provided RequesrProcessor class. I have overridden the
processPreprocess() method as below. Also I have defined the
java.lang.NullPointerException in the of
struts-config.xml as shown below. But still I
Actually I would like to extend the RequestProcessor class (let's say
MyOwnRequestProcessor inheriting from RequestProcessor) and override the
preProcess() method to embed some security related code. I was wondering
how would I let STRUTS framework know that MyOwnRequestProcessor should be
called
HI All,
As a general practice all the application action classes are inherited from
org.apache.struts.action.Action class. What are the Pro's and Con's of
inheriting the application action classes from
org.apache.struts.action.RequestProcessor class instead ?
Regards
Sreekant G
This mail was sc
Has anyone tried remote debugging an App under SunOne JVM using ECLIPSE
Remote Debugging facility.
Regards
Sreekant G
@ 98404-65630
This mail was scanned by Interscan Virus Wall of Mailserver2 at SNR, TCS, Chennai
-
To unsubscr
Has any one successfully used the "Remote Debugging facility" of ECLIPSE
with TOMCAT 4.0.X ? I tried using it but am getting a message that says
"Failed to connect to remote VM, Connection refused". Below is how I setup
TOMCAT & ECLIPSE for debugging.
Added the below statement to CATALINA.bat
SET
I am trying to run the struts-example webapp under standalone Tomcat 4.0.x
and I was successful.
How ever, when I installed the Tomcat plugin for Eclipse and launched the
same struts-example webapp under the Tomcat plugin for Eclipse, it fails in
the very first screen throwing the below stack. Any
How do I import the Source distribution of STRUTS as a project in ECLIPSE ?
Regards
Sreekant G
This mail was scanned by Interscan Virus Wall of Mailserver2 at SNR, TCS, Chennai
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For ad
HI All,
As a general practice all the application action classes are inherited from
org.apache.struts.action.Action class. What are the Pro's and Con's of
inheriting from org.apache.struts.action.RequestProcessor class instead ?
Please bear with me if I am making no sense at all as I don't claim t
Can someone please suggest me a free J2EE IDE suitable for development of
webapps using STRUTS. I know of some IDE's like the FORTE, ECLIPSE,
NETBEANS. However I wanted to ckeckout if anyone has already evaluated any
of these since I am not sure which one is easy to use and has reasonably
good feat
Hi All,
I am trying to implement my own security piece, towards that I would like
to plug in the call to my security check logic. My requirement is that for
every action on a form/page security should be validated, Thus I need to
plug my security check call at a place which will be called at least
Is the generated javascript compatible for both IE and NS ??
Regards
Sreekant G
@ 98404-65630
"Nagendra
Does STRUTS provide integration with any security framework independent of
the underlying application server. Basically I am looking at services like
isUserInRole(), getRole() and the sort.
Regards
Sreekant G
@ 98404-65630
This mail was scanned by Interscan Virus Wall of Mailserver at Cathedral
Hi All,
I need to make a decision whether to use STRUTS 1.0 or STRUTS 1.1 for the
application that I am going to develop. The application is fairly a large
sized application. I would like to know which would be a better choice out
of your experience. I have gone through the documentation @
http://
The weolcome page of the struts-university example uses . When the custom tag resolves the image source path it resolves it as
http://localhost/struts-university/assets/view.gif where as it should be
resolving it as http://localhost:8080/struts-university/assets/view.gif.
The port number is missing
Any idea on the performance (turn-around-time) improvement achieved by
using OSCache ? A rough range might do.
Thanks
Sreekant G.
TCS AMBATTUR
This mail was scanned by Interscan Virus Wall of Mailserver at Cathedral Road TCS
Chennai
-
Though this is not directly related to STRUTS, I was wondering if someone
has come across something like below that can be integrated with STRUTS.
Is anyone aware of any generic component for Domain Value LookUp. Domain
Values might be based on one or more contexts. e.g
list of states is sing
So where does JAAS (Java Authentication and Authorization Service) come
into picture in the J2EE world ? The other day I was reading a whitepaper
that said STRUTS provides integration with JAAS. What would that mean ?
Thanks
Sreekant G.
TCS AMBATTUR
I agree with Alen, but at the same time if all the containers are
supporting J2EE security standards then porting to different containers
should not be an issue. SecurityFilter as I just browsed through seems
interesting but all the latest J2EE containers will have to support Servlet
2.3 for using
Which is the best place to hook the security call for an application in the
STRUTS framework so that for every request security check is made. Does
STRUTS provide integration with any Security framework ?
thanks in advance.
Sreekant G.
This mail was scanned by Interscan Virus Wall of Mailserver
Thanks for the response,
Is it possible to map more than one ActionForm to a page, If not in the
below example how would the framework understand to populate the
departmentName entered in the form give that the page is associated with
the MyActionForm below.
Thanks
Sreekant G.
TCS AMBATTUR
Can the ActionForm contain some other Message Objects as attributes ? If so
where should the getters and setters for the child MO be coded ? For
example in the below structure MyActionForm is the ActionForm that contains
the user defined MO's MyDepartment and MyProject. First of all is
MyActionForm
31 matches
Mail list logo