how can map all request to struts action servlet ?
will this work
/*
is there a way my application gets notified of successful login using
j_security_check ?
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
my application uses container managed security , j_security_check,
we create session before user login so i dont want to call
session.invalidate
if users wants to logout is there anything i can do to logout user ?
-
Be a better friend, newshound, and kn
Is there a way to specify welcome page through struts-configration like when
a request comes to my application can I redirect him to login.do ?
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.ya
I usally use scriptlet in jsp to set some object in request is there a way tro
do this using any tag library
instead of this
<%request.setAttribute(CustomReviewFormflowAction.IReviewFormFlowProperties.ATTRIBUTE_REVIEW_FORM_SECTION,vReviewFormSectionHeader);
%>
can I use any exsisting taglibra
Is it possible to copy nested properties from one bean to another using
beanUtils?
-
Never miss a thing. Make Yahoo your homepage.
Is there any free jsp debugger plugin for eclipse ?
miro
-
Never miss a thing. Make Yahoo your homepage.
>
>
>
>
>
>
In my resource Iinsteand of
I used
and in this jsp I used
.
This way i can write all my dynamic stuff in a in a jsp and call that jsp in
iframe.
miro
Antonio Petrelli <[EMAIL PROTECTED]>
miro
Antonio Petrelli <[EMAIL PROTECTED]> wrote: 2007/9/12, temp temp :
>
> What if I use Iframe I tested it it worked do you see any problems using
> iframe ?
What do you put in the iframe?
Antonio
-
Take the Internet to Go: Ya
What if I use Iframe I tested it it worked do you see any problems using
iframe ?
Miro
Antonio Petrelli <[EMAIL PROTECTED]> wrote: 2007/9/12, temp temp :
>
>
> My applications writes html out of an xml file.this xml has feilds
> with there presentation type.This field e
Petrelli <[EMAIL PROTECTED]> wrote: 2007/9/12, temp temp :
>
> in this case is there is no way to invoke jsp compiler or is there any
> workaround for this problem ?
Do you want to invoke a JSP compiler inside a webapp? If it is possible,
surely it is not portable.
I suggest you to
in this case is there is no way to invoke jsp compiler or is there any
workaround for this problem ?
Miro
Antonio Petrelli <[EMAIL PROTECTED]> wrote: 2007/9/12, temp temp :
> In my jsp I use JspWriter to write my page content .I can write lot of
> static data but I cannot w
In my jsp I use JspWriter to write my page content .I can write lot of static
data but I cannot write dynamic content like scriptlet or tag library ie even
if I write tag library or scriptlet it will not be executed .Is there any
solution for this ?
Miro
---
I have several struts-config-xml files .I mapped them in my web.xml.
Each struts-config has its own application-resources.
Action servlet mapping in web.xml
action
org.apache.struts.action.ActionServlet
My application has several modules (several struts-config files )and
each module has its own application.resources files.
How to handle multiple application.resource files ?
Sairam
-
Luggage? GPS? Comic books?
Check out fitting gift
al <[EMAIL PROTECTED]> wrote: Miro:
You can call Class.forName() as many times as you
like without a problem.
Neil
--
Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com
FREE! Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details.
-Original Me
How can I know whether a class is already loaded ?
or if I call class.forname(Some class name) twice will there be any
problems ?
Thanks
Miro
-
Need a vacation? Get great deals to amazing places on Yahoo! Travel.
Is there any best practices to avoid long list of parameters .
Thanks
Miro
-
Building a website is a piece of cake.
Yahoo! Small Business gives you all the tools to get online.
I want to scan files for virus after upload .Are there any open source java api
available .
Thanks
Miro
-
Get your own web address.
Have a HUGE year through Yahoo! Small Business.
I am struts using fileupload I want to scan to uploaded -files .
Thanks
Miro
Al Sutton <[EMAIL PROTECTED]> wrote: I'm afrid this mailing list focuses on
development with Struts
(struts.apache.org). Can you tell me how your question relates to the struts
framework?
-Original Message-
Fro
Note: forwarded message attached.
-
Be a better Globetrotter. Get better travel answers from someone who knows.
Yahoo! Answers - Check it out.--- Begin Message ---
After I upload the file I want to check the file for virus .Are there any open
source virus
Note: forwarded message attached.
-
Choose the right car based on your needs. Check out Yahoo! Autos new Car
Finder tool.--- Begin Message ---
After I upload the file I want to check the file for virus .Are there any open
source virus scanners which I
Note: forwarded message attached.
-
Now that's room service! Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.--- Begin Message ---
I have a jar file it has the follwing structure
META-INF
lib
I have a jar file it has the follwing structure
META-INF
lib
com
This is my manifest.mf file.
Manifest-Version: 1.0
Main-Class: project.converter.Test
Class-Path:
lib/converter-actions-xsd.jar;lib/commons-lang-2.3.jar;lib
I have a tiles def
My page uses this definition. In my jsp I want to capture the value of title
in a bean
How to?
Thanks & Regards
Miro
-
Got a little couch potato?
Check out fun summer activities for kids.
My struts action class forwards to view which has form tag (html form
tag)
Here I did not specify action attribute to the form just specified
attribute method=POST when user submits this form where does it go ?
Thanks & Regards
Miro
--
.
Thanks & Regards
Miro
Dave Newton <[EMAIL PROTECTED]> wrote: --- temp temp wrote:
> Is there any way I can set super class using bean
> retrospection ?
> I create a instance of a class is there a
> possible way to to add a super class using bean
> ret
Is there any way I can set super class using bean retrospection ?
I create a instance of a class is there a possible way to to add a super
class using bean retrospection ?
Thansk & Regards
miro
-
Ahhh...imagining that irresistible "new car" sm
How can I iterate a collection and modify at the same time ?
Example
public static Collection getAncestors(
Entity aEntity, Object aContext ){
Collection vAncestors=new ArrayList();
IDocument vDocument= findDocumentByName(
aEntity.getSuper(), aCon
I have a singleton class with private constructor
Example
public class ResourceManagerFactory {
private static ResourceManagerFactory fResourceManagerFactory= new
ResourceManagerFactory();
private
I have to create highly interactive web page ie use of lot of java
script. Are there open source java ajax frameworks where I code only in java
and do not write any java script? I mean any ajax framework where I have
the whole power of java script but I work with only ja
OTECTED]> wrote: No problem.
I'm happy that JSControlsTags please you.
Regards Angelo
2007/3/23, temp temp :
>
> It works Thank you very much.Sorry for the complain It was my mistake i
> just downloaded src after ur reply i downloaded use cases i was able
> to run the j
I have a super class with an abstract method and a non default
constructor and it calls this abstract method in its constructor
This abstract method is implemented in the base class.
First thing base class constructor does is call super()
Exa
I need a object which generates unique identifiers for all instances I
create how to do this ?
Thanks & Regards
-
Expecting? Get great news right away with email Auto-Check.
Try the Yahoo! Mail Beta.
ble.js">
src="../js/jscontrolstags-swap.js">
type="text/css" />
Angelo
2007/3/22, temp temp :
>
> I downloaded all the required files but they donot have a sample
> application with which I can play make changes test results
2007/3/22, temp temp :
>
> I tried swap control in my application but it does not work the site
> has no documentation, no complte examples can I get more assistance with
> this ?
> Thanks & Regards
>
>
>
>
> Angelo zerr wrote: Hi,
&g
/swap.html
Regards Angelo
2007/3/22, temp temp :
>
> I want a jsp page which should have the capability to drag and
> drop in the sense suppose I have a two list
>
>
>
> California -- CAColorado -- COConneticut -- CN
>
>
> C -- CAC -- CO Conneticut -- CN
>
>
I want a jsp page which should have the capability to drag and drop in
the sense suppose I have a two list
California -- CA
Colorado -- CO
Conneticut -- CN
C -- CA
C -- CO
C
What is the advantage of declaring method abstract in a intreface ?
for example
difference between
Intreface Test
{
public void test();
}
and
Intreface Test
{
public abstract void test();
}
Thanks & Regards
Sairam
-
What in case of redirect and I donot want to use session?
Thanks & Regards
Paul Benedict <[EMAIL PROTECTED]> wrote: temp temp wrote:
> Is there a way I can add parameters to an actionforward which uses
> tiles definition ?
> If its not ti
I am using tiles definitions in my actionforward
Is there a way I can add parameters to an actionforward which uses tiles
definition ?
If its not tiles I can append to actionForward.getActionPat
I using synchronized block and need help in using it ?
I have a SingleTon class which has a global valriable Map.
I will updating this Map at runtime.
Example
synchronized (fActionHandlers) {
fActionHandlers.put(
vAction.getCla
I want portal like capability where a user can change or create fields .
I want to add functionality through which a user can add more fields or
remove fields or change the display name of the field like portal page, where
a user can create a form just with drag and drop,
I want to create instance of a class using object.getClass().new
Instance() but this object constructor needs another object so how can I do
this ?
Suppose I have a class
DefaultMetaInfoHandler default=new DefaultMetaInfo(test);
Ca
Can I use bean:define tag as below
I get
illegal start of expression __jsp_taghandler_3.setValue(
OracleJspRuntime.toStr( serviceNameSpace%><%="bp.afg.award."));
what is the problem ?
Thanks
Miro
-
Sponsored Link
$200,000 mort
If I donot use this.aField implies that complier will never point to global
field ? and only way I can access the global variable is using this ?
Thanks & Regards
Miro
[EMAIL PROTECTED] wrote: Hello temp temp,
Use this.aField inside the method.
public class Test2 {
pri
I declared a private global field called aField.
The same variable I decalred in a method .
For example
public class Test2 {
private String aField = " aField ";
public static void main(String[] args) {
Test2 test2 = new Test2();
I want contents of java.util.list as string array
Object aObject[]= list.toArray();
How can I cast this to string []?
Thanks & Regards
Miro
-
Everyone is raving about the all-new Yahoo! Mail beta.
For good exceptional handling should I create all my methods in try
catch block and throw exception in the catch block with e.printstacktrace()
Exammple
public void processQueryResults(Map metaInfo, Map
entityInfo) throws WorkflowException {
I want all the parameters in ServletRequest object for this I am using the
method request.getParameterMap(). It returns java.util.Map which contains
request parameter name and its value.When I print out the Map I can read the
key but I cannot read the value .
Here is the p
I tried that it did not work .
Regards
Miro
Li <[EMAIL PROTECTED]> wrote: try the following
Wish it works
On 10/27/06, temp temp wrote:
>
> Here is my xml could you tell me how to put new line char?.
>
> Here is my xml
>
>
>
>
Here is my xml could you tell me how to put new line char?.
Here is my xml
Li <[EMAIL PROTECTED]> wrote: have you tried "\n"? it should work
On 10/27/06, temp temp wrote:
>
> I have some text in xml file which I will show in
I have some text in xml file which I will show in a text area to edit .
I dont know how to specify a new line char in xml. Currently I am using
tag instead of a new line char .Using works in jsp
but a text area displays them as which would confuse user .So I
need to put
I using ant build file to compile .java files .I get
java.lang.OutOfMemoryError.
Here is the build file
Are there any uitl classes or api which converts two different
collections into a map ?
-
Do you Yahoo!?
Get on board. You're invited to try the new Yahoo! Mail.
SearchResultsFilter.CheckIn
com.reisys.fema.ndsp.web.filter.SearchResultsFilter
req_attribute_name
taskInstances
SearchResultsFilter.CheckIn
/action/workflow/taskinstance/checkin.do
I am using struts bean tag bean:write .Is there any option in the tag
which converts \n character to
-
All-new Yahoo! Mail - Fire up a more powerful email and get things done faster.
My java standalone application wants connection to database with lookup to
datasource name which is configured in the oc4j app server.
Please guide me with some ideas to achieve this.
-
Do you Yahoo!?
Everyone is
How to read the following code ?
boolean vIsForm = vWorkTypeId.equals(IFormflowWorkTypeIds.FORM);
String vWorkForwardName = MessageFormat.format("work={0}", new Object[]
{vWorkAlias});
String vForwardName = (aActionMapping.findForward(vWorkForwardName)
== null)
get compilation error stating that cannot cast a String to integer
in this case do I have to create a new Integer every time ?
Thanks & Regards
Scott Van Wart <[EMAIL PROTECTED]> wrote: temp temp wrote:
> What is the best way to convert an object to an Integer .If ca
What is the best way to convert an object to an Integer .If casting dosen't
work?
Thanks & Regards
-
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+
countries) for 2¢/min or less.
I have is a constants interface with static final fields .
Each field value is a call to DAO.
For example
interface IObjectTypeIds{
public static final int APPLICATION =ObjectDAO.get("APPLICATION");
}
Is this is a good practice ?
-
Do you Yaho
I have a map with a string as key .The string contains some dots like
p.s.amemdment.type.sow. In jsp I want display the value for key
p.s.amemdment.type.sow.
For this I should use but the bean tag assumes the key as nested
property and I get error .Is there a
I have a string which I want to convert into a date .
The string 06-APR-07
How can I convert this date into sql date ?
Thanks
-
Yahoo! Groups gets better. Check out the new email design. Plus theres much
more to come.
Web services. How web services are written in java. Are there any
tutorials to understand the concept of web services?
Several application servers provide tools which builds web service on a
button click.
This way I can create a web service but I cannot understand what files
What hidden field should I use in jsp to pass the generated token to next
action class?
Thanks & Regards
Manfred Wolff <[EMAIL PROTECTED]> wrote: Hi mr. temp.temp
1. The Action calls saveToken(request);
2. A unique token will be generated and saved in the session and in the
jsp as a hidden
Can you tell me how can I use struts token mechanisim with out a form bean?
Thanks & Regards
Manfred Wolff <[EMAIL PROTECTED]> wrote: Yes, you can. The token will be
stored in the request.
temp temp wrote:
> Can I use struts token mechanism for an action withou
Can I use struts token mechanism for an action without a form bean ?
Thanks & Regards
-
Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.
User should fill the form and submit to the server also should have an
option to print I mean a print button in pdf which will print the pdf.
Thanks & Regards
-
New Yahoo! Messenger with Voice. Call regular phones from your PC and sa
My application should have PDF forms. The servlet should create a PDF form
which user should be able to edit, take print out and server should receive
inputs entered by the user.
What should I look for to achieve this?
Thanks & Regards
---
* /on the return trip,/
o isTokenValid(request)
o resetToken(request)
Perhaps someone (me?) must write a documentation? If I have a little
time, and no has do so, I will do.
Manfred
temp temp wrote:
> Can U suggets me an article which clearly explains using s
The method request.getServletPath returns current request uri.Can I get the
previous request uri .ie
I have a filter which is mapped to all .do's .So any .do is called this
filter is invoked.In this filter I can retrieve the requested url.
Is there any way I can determine url from which th
Can U suggets me an article which clearly explains using struts tokens
mechanisim?
Manfred Wolff <[EMAIL PROTECTED]> wrote:
Lixin.
I think mostly it is no problem to go back in a struts implemented
application. If it ist a problem (e.g. after a logout or if you saved
data) you can take the s
The method request.getServletPath returns current request uri.Can I get the
previous request uri .ie
I have a filter which is mapped to all .do's .So any .do is called this
filter is invoked.In this filter I can retrieve the requested url.
Is there any way I can determine url from which th
perhaps we need an
auto-responder!
Rob
Philihp Busby wrote:
> No.
>
> When people have a problem with back buttons, 95% of the time they are
> either doing one of the following:
> - Confusing the GET and POST methods and their intended purpose with
> forms.
> - Abusing c
Is there any way I can realize using java that the user clicked on
browsers back button ?
Thanks & Regards
-
Yahoo! Mail goes everywhere you do. Get it on your phone.
Note: forwarded message attached.
Blab-away for as little as 1¢/min. Make PC-to-Phone Calls using Yahoo! Messenger with Voice.--- Begin Message ---
I am having problems with Regular Expressions usage. I want to ensure that the user enters only digits and no other characters. For
including a taglib in jsp will it cause performance problems ?
for example
my jsp has path to taglib
<%@ taglib uri="/tld/struts-bean" prefix="bean"%>
and I am not using declared tag any where in my jsp.
As per performance measure can I ignore tld declaration or should re
I must create "export to excel spreadsheet" capability for my pages .
I will be having java.util.Collection containing search results which I
have to convert into an excel sheet.What is the best and simplest way to
convert a Collection into excel spreadsheet .
Thanks & Regards
I am using class.forname() in several classes to load other classes so that
my application can be configured without changing the exsisting code .
I am not very clear about the issues which can come across using class
loaders .
I tested in my localhost where all classes reside in one
I have a servlet filter which should behave different for different ".do's"
and init params are different for different ".do's" .
One way of solving this situation is below.
SearchResultsFilter.CheckIn
com.reisys.fema.ndsp.web.filter.SearchResultsF
I did not understand the following code with multiple conditional operators.
boolean vIsForm=true;
String vForwardName = (aActionMapping.findForward(vWorkForwardName)
== null)
? (vIsForm) ? "form" : "task"
: vWorkForwardName;
Can some body expla
OTECTED]> wrote: temp temp ha scritto:
> I have a HashMap with some data .I must alter the Map by replacing
> the keys with their upper case.
Ok first of all you cannot modify a HashMap while you are iterating it.
But your problem has a solution.
Iterate the map and store into ano
I have a HashMap with some data .I must alter the Map by replacing the
keys with their upper case.
Map searchResultMap=
(Map)request.getAttribute("searchResults");
ListIterator
searchResultMapIte=Arrays.asList(searchResultMap.keySet().toArray()).list
In my download action class I set the content type and write byte array to
the response which makes the browser open a dialog box save or open" . Is
there a way to open the file without the option save or open i.e. when
user clicks on file link I want to open the file in the bro
In ant build.xml can I call a target from other ant build.xml
For Example I have two ant build scripts build1.xml and build2.xml
and default target from build1.xml below
In the above target can I cal
I am using struts 1.1
I using logic equal tag to check whether a page context attribute value.
here is my code
So only one logic equal will be true but not both .But when I call this
jsp in the browser I get
Can somebody help me with this?
Michael Jouravlev <[EMAIL PROTECTED]> wrote: On 3/10/06, Michael Jouravlev
wrote:
> On 3/10/06, temp temp wrote:
> > I am using struts 1.1
> >
> > I using logic equal tag to check whether a page context attribute value
I am using struts 1.1
I using logic equal tag to check whether a page context attribute value
equals to some value .
here is my code
So only one logic equal will be true but not both .But when I call this
js
In a web application can I use several filters like 20 to 30 filters each of
them serving some functionallity usefull for more than one '.do' .Is this a
good design or there could be any performance issues when using several
filters in a web application.
Thanks & regards
Filters in web application.
Are servlet filters similar to session ie each session will have its own
filter or its like sevlet context ie common to all sessions .
Thanks & Regards
-
Yahoo! Mail - Helps protect you from nasty
Can I include ".do"using jsp include ?
Thanks & Regards
Michael Jouravlev <[EMAIL PROTECTED]> wrote: On 1/31/06, temp temp wrote:
>
>
>
> Can I include multiple .do's using request dispathcer include?
Sure. Be careful wit
Can I include multiple .do's using request dispathcer include?
or can I have
<%request.getRequestDispatcher("/action/budgetInformationRead.do?form=ndsp:budget.Information&object.ndsp:sf.budget=811").include(request,response);%>
multiple times.
like
I using ServletFilter to check whether the user is authenticated or has
permissions to access resource.
In case of not authenticated or not authorized I must redirect user to some
page (Error Page ) .
For this I must use RequestDispatcher to forward him to error page.
If I do this I mu
How can I pass a Struts Global forward to
request.getRequestDispatcher("struts global Forward).forward(request,response)
or
How can I forward to a struts Global forward using RequestDispatcher.
I tried passing struts global forward , but always I got page not found
error . I can creat
I written two filters for my web application.
One filter is to check whether session has userId called SecurityFilter.(This
filter is applied to all *.do)
Second filter to check if login user has access to a particular page called
AccessControlFilter .(This filter only to some .do)
in t
ught. Isn't there a specific content type for .doc
documents? That might solve your problem.I looked it up. .doc
documents are "application/msword". Try that and see what happens. I
am actually building a list of all the extensions and their content
types. Hope this helps.
On
I am using struts action class to download a file .
Here is the action class
public ActionForward execute(ActionMapping aActionMapping, ActionForm
aActionForm,
HttpServletRequest aHttpServletRequest, HttpServletResponse
aHttpServletResponse)
throws
I am using struts action class to download a file .
Here is the action class
public ActionForward execute(ActionMapping aActionMapping, ActionForm
aActionForm,
HttpServletRequest aHttpServletRequest, HttpServletResponse
aHttpServletResponse)
thr
I am trying to use jstl request tag to save an
object into request scope.
As per the docs syntax is
AAbb
I want to put an object rather than a string in the
request.How can I acheieve this?
thanks®ards
__
Yahoo! Music Unlimited
Acces
1 - 100 of 140 matches
Mail list logo