downloading a file using struts action class

2006-01-17 Thread temp temp
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

file download problem

2006-01-18 Thread temp temp
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

Fwd: Re: file download problem

2006-01-18 Thread temp temp
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

order in which filters are executed in web.xml

2006-01-27 Thread temp temp
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

forwarding to a global forward using RequestDispatcher

2006-01-27 Thread temp temp
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

forward using RequestDispatcher

2006-01-27 Thread temp temp
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

using requestDispatcher.inlude()

2006-01-31 Thread temp temp
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

Re: using requestDispatcher.inlude()

2006-01-31 Thread temp temp
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

servlets filters

2006-02-07 Thread temp temp
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

filters in web application

2006-02-13 Thread temp temp
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

using tag

2006-03-10 Thread temp temp
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

Re: using tag

2006-03-10 Thread temp temp
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

using logic tag

2006-03-10 Thread temp temp
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

In ant build.xml can I call a target from other ant build.xml

2006-03-17 Thread temp temp
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

opening a pdf file from action class

2006-03-21 Thread temp temp
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

[java.util.Map] How can I alter a java.util.Map while I am iterating it

2006-03-23 Thread temp temp
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

Re: [java.util.Map] How can I alter a java.util.Map while I am iterating it

2006-03-23 Thread temp temp
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

prepopulation action form

2005-03-30 Thread temp temp
I have two actionforms two action classes and two jsps .Clicking on a link in a jsp should take me to next jsp .Here I must pass some parameter to next jsp. In the first jsp I display some data from a collection containing objects which I generate from database in action class and set thi

RE: prepopulation action form

2005-03-30 Thread temp temp
I said as you said . It works fine with session but not with request.Which is better to use request or session. thanks & regards --- "Fogleson, Allen" <[EMAIL PROTECTED]> wrote: > Sure... > > Lets say jsp1 posts to actionA which forwards to > jsp2 > > In actionA simply create and instance of

RE: prepopulation action form

2005-03-30 Thread temp temp
e time for request scope. > Are you setting > redirect="true"? that would likely mess it up. > > Al > > > -Original Message- > From: temp temp [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 30, 2005 9:44 AM > To: Struts Users Mailing List >

bean in a Actionform

2005-03-30 Thread temp temp
I have an actionform which contains a bean as a property. This bean has getter and setter methods for few Strings . 1. How to display properties from this bean in my jsp in a list . And when the form is submitted 2. Can I automatically populate my bean in actionform with the values

passing object in request from jsp to action

2005-03-31 Thread temp temp
I want pass an object from a jsp to an struts action in request attribute. I have a jsp it got link to an action upon click the action is invoked. How can I pass object to this action using request Attribute. thanks & regards __ Do you Yaho

RE: passing object in request from jsp to action

2005-03-31 Thread temp temp
; Is that correct? If so, on the jsp, in the link to > your action, add that > parameter as well. Instead of just > > use >. > > Hope this helps, > Dhanashree. > > -Original Message- > From: temp temp [mailto:[EMAIL PROTECTED] > Sent: Th

Re: passing object in request from jsp to action

2005-03-31 Thread temp temp
request attributes while the JSP > was processing are > gone. To pass data from the generated HTML to an > action, you need to > submit a form or include request parameters in a > link. Another option > is to store the object in session scope. > > Hubert > > >

RE: passing object in request from jsp to action

2005-03-31 Thread temp temp
should work for you... > -----Original Message- > From: temp temp [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 31, 2005 1:18 PM > To: Struts Users Mailing List > Subject: RE: passing object in request from jsp to > action > > I want to use request.getAttribute(&

code repetation in action classes

2005-04-14 Thread temp temp
I am implementing pagination for most of my jsp's so I created a pagination bean with properties corresponding to pagination and this bean extends to ActionForm . All my formbeans extend to the pagination bean class. In all my action classes I am repeating code to set values corresponding to pa

single action for multiple forms

2005-04-20 Thread temp temp
I have three search pages (jsp) with different levels of search . All the three search pages use the same search engine to get search results. Can I use a single action for all these search pages. thanks & regards __ Do You Yahoo!? Tired of spam

Caching Java Objects

2005-04-25 Thread temp temp
Is it similar to sessions ie each user will have his own cached Object or all the users share the same Cached object . I have a jsp with multiple submit buttons .Each submit buttoncalls database to get data. Its like I have 3 submit buttons 1st gets User comments . 2nd gets some re

name attribute

2005-04-28 Thread temp temp
I am using jsp include to include a jsp in a jsp. + I want to pass dynamic value to name attribute is this possible. " value=<%"string from an object"%>/> I want to pass property of a bean for the value of name attribute .How can I acheive this. thanks®ards ___

struts file upload problem

2005-05-04 Thread temp temp
I am using struts to upload a file . It works fine with small files . But for files with size 1Gb it works fine when I upload from localhost but does not work when I upload it from network .It gives network exception socket connection closed by peer. Can somebody help me with this. thanks & re

struts( commons -fileupload) file upload

2005-05-04 Thread temp temp
I am using struts (commons-fileupload) to upload a file . It works fine with small files . But for files with size 1Gb it works fine when I upload from localhost but does not work when I upload it from network .I am using websphere 5.0 . Is there any setting for the server which prevents the s

RE: struts file upload problem

2005-05-04 Thread temp temp
ad, isn't there alimit? I > thought there was > > -Original Message- > From: temp temp [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 04, 2005 4:20 PM > To: user@struts.apache.org > Subject: struts file upload problem > > I am using struts to upload a file .

Re: struts file upload problem

2005-05-04 Thread temp temp
<[EMAIL PROTECTED]> wrote: > temp temp wrote: > > >No there is no limit for file upload as per > commons > >fileupload. > > > > > The server or container might have an upload limit, > for intance Apache > has (or d

File Upload with Struts .

2005-05-04 Thread temp temp
Can I upload very large files like 8 Gb with struts file upload . thanks & regards __ Yahoo! Mail Mobile Take Yahoo! Mail with you! Check email on your mobile phone. http://mobile.yahoo.com/learn/mail ---

struts file upload

2005-05-04 Thread temp temp
I am using struts and trying to upload files of any type and size.If the server as well as client is on the same PC no issues ,but if I try to accomplish this across the network then I am only able to upload a file if the size is less then 1 MB .Not sure what the problem is. thanks & regards

unable to access properties from formbean in included jsp

2005-05-11 Thread temp temp
I am creating a new bean containg struts formbean in jsp .I put this new bean in request scope. I want to include another jsp in this jsp. In another jsp I want to access the properties from the new bean . Any property I try to write or define I get error message no getter and setter metho

xml databinding using castor

2005-05-24 Thread temp temp
I want to use castor for java and xml binding . I am not aware of where to download castor . I tried www.castor.orgbut the site was down I am trying it since last friday I was not sucessful . Can somebody guide me with this . thanks & regards

casting a string to a ValueObject

2005-06-16 Thread temp temp
I am using BeanUtils.setProperty and BeanUtils.getProperty for setting the values and retrieving values from my formbean.It works fine for a property of type String .In case I have a VO (valueObject ) as a property in my formbean , getProperty method from BeanUtils returns a string rep

bean tag

2005-07-12 Thread temp temp
I would like to retrieve message from application Resources property file and save it into a bean in a jsp. writes to response . But I want this value to be saved in a bean in page scope can I do this. thanks & regards __

unable to parse xml string

2005-07-22 Thread temp temp
I get premature end of file sax exception when I try to parse a string which is an xml file returned from database as blob . I printed this string in console copied and pasted in browser .Browser displayed xml without any parse errors.Can somebody guide me what could go wrong or where did the p

jakarta taglibg countMatches syntax

2005-07-29 Thread temp temp
I wantindex of substring from a string . I would like to acheive this using jsp tags. I found jakarta taglib countMatches tag which would print no of times substring is present in the string.Rather than printing I want to capture the output from this jsp tag into a variable .This tag

error page mapping using web.xml

2005-08-08 Thread temp temp
I used error-page tag in web.xml to map any 404 Http error code to page specified in location tag.It works fine it netscape but does not work in internet explorer .I am using IE 6.0. 404 default.jsp In Internet explorer I get the page thanks & regard

error mapping problems with Internet Explorer

2005-08-08 Thread temp temp
I used error-page tag in web.xml to map any 404 Http error code to page default.jsp specified in location tag.It works fine in netscape but does not work in internet explorer .I am using IE 6.0. 404 default.jsp So when I try to acess any unkn

problems with IE browser when disabling cache

2005-08-09 Thread temp temp
I am disabling the browsers chache using jsp setHeader method , exact code is below. response.setHeader( "Expires", "Sat, 6 May 1995 12:00:00 GMT" ); // set standard HTTP/1.1 no-cache headers response.setHeader( "Cache-Control", "no-store, no-cache, must-revalidate" );

reset method of formbean

2005-08-10 Thread temp temp
I have an action which has a formbean in session scope . I want to reset this formbean whenever request is made to this action with a request parameter (say refresh). I have a reset method in the formbean which sets all the properties of this bean to null. In the action class I look for

[Commons-FileUpload]problem with file upload over https using common fileupload

2005-08-12 Thread temp temp
I am using jakarta commons fileupload to upload a file . It worked fine with Internet explorer and netscape navigator with http protocol. I configured my server to use https protocol. I tried to upload a file it worked fine with netscape but did not work with internet explorer. I am

Re: [Commons-FileUpload]problem with file upload over https using common fileupload

2005-08-12 Thread temp temp
Yes I have multipart/form-data in my jsp . --- Laurie Harper <[EMAIL PROTECTED]> wrote: > What does your tag look like? Are you sure > you've specified > method="POST" and enctype="multipart/form-data"? > > L. > > temp temp wro

how to represent nested bean properties in a jsp form

2005-09-08 Thread temp temp
I have a jsp a formbean and an action class. My formbean has a value object and getter setter methods for that. here is my forbean public class ServiceSelectionForm extends ActionForm { private AddressVO addressVO; public AddressVO getAddressVO() {

Fwd: RE: how to represent nested bean properties in a jsp form

2005-09-08 Thread temp temp
ublic int getWindowHeight(){    return _windowHeight;  }HTH - If you are getting a specific error I might be able to help more.Greg-Original Message-----From: temp temp [mailto:[EMAIL PROTECTED]]Sent: Thursday, September 08, 2005 10:37 AMTo: user@struts.apache.orgSubject: how to represent ne

RE: RE: how to represent nested bean properties in a jsp form

2005-09-08 Thread temp temp
Pelly <[EMAIL PROTECTED]> wrote: > Temp temp, > > I'll need some more information from you before I > can be much help. > > Is the Form class (ServiceSelectionForm) being > invoked properly? > Are non-nested elements being populated correctly? >

Fwd: Re: RE: how to represent nested bean properties in a jsp form

2005-09-08 Thread temp temp
sage --- What, it does not work? How about setting form name explicitly: You have defined the formbean in the struts config, have you? Michael. On 9/8/05, temp temp <[EMAIL PROTECTED]> wrote: > This is my jsp > > > > > >I want input textfield

Fwd: Re: Re: RE: how to represent nested bean properties in a jsp form

2005-09-08 Thread temp temp
tter just in case, is it called? Michael. On 9/8/05, temp temp <[EMAIL PROTECTED]> wrote: > > > here is my struts config > > type="com.bankerssystems.pac.onlinetrans.service.forms.ServiceSelectionForm"> > &g

Fwd: Re: Fwd: Re: Re: RE: how to represent nested bean properties in a jsp form

2005-09-09 Thread temp temp
ublic (the sample source you posted does that, so that's probably not it) or that addressVO is null in the form bean. How do you populate the form bean? What happens if you call getAddressVO().getState() on the form bean directly? L. temp temp wrote: I get the following error [Invali

form resubmission on refreshing page

2005-09-20 Thread temp temp
I have a list in my jsp .For each item in the list I have a submit button through which user can remove an item in list. When user clicks on remove link I submit the form to my action class .Action class removes selected item from the collection and then sends him back to the same page . After t

problems configuring jakarta-catcus in RAD for testing action classes

2005-09-23 Thread temp temp
I want to use jakarta cactus for testing struts action classes. I am using websphere RAD , struts 1.2.6 ,jakarta-cactus-12-1.7.1 and websphere 5.1 This is catcus.properties file # Configuration file for Cactus. # Each project using Cactus need to have such a file put in the CL

downloading a file using struts action class

2005-09-29 Thread temp temp
I want a struts action class to download xml file .I do not want to use Struts DownloadAction because I have a super class called AbstractActionBase which extends to struts action class and all my action classes extends to this AbstractActionBase. For downloading a file I am using normal s

casting a request attribute into Object

2005-10-13 Thread temp temp
I have a jsp (Parent Jsp) in which I use jsp:include to include other jsp (child Jsp) . In the Parent Jsp I retrieve an Object from the formbean and set it in request scope. <%=ramQuestionsDocument%>

using request tag from jstl

2005-10-13 Thread temp temp
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

[eclipse] is it possible to debug jsp in eclipse ?

2008-02-21 Thread temp temp
Is there any free jsp debugger plugin for eclipse ? miro - Never miss a thing. Make Yahoo your homepage.

bean utils copy properties

2008-02-22 Thread temp temp
Is it possible to copy nested properties from one bean to another using beanUtils? - Never miss a thing. Make Yahoo your homepage.

any tag library to set an object in request in jsp

2008-03-05 Thread temp temp
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

redirect to welcome page

2008-04-11 Thread temp temp
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

logout when using j_security_check

2008-04-17 Thread temp temp
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

notification on sccessful with login with j_security_check

2008-04-17 Thread temp temp
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.

posting form

2007-05-08 Thread temp temp
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 --

retrieving value of attribute from tiles definition

2007-05-24 Thread temp temp
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.

[JAR -CLASSPATH] class-path how to

2007-06-11 Thread temp temp
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

Fwd: [JAR -CLASSPATH] class-path how to

2007-06-11 Thread temp temp
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

Fwd: virus scanner after fileupload

2007-06-11 Thread temp temp
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

Fwd: virus scanner after fileupload

2007-06-11 Thread temp temp
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

RE: [JAR -CLASSPATH] class-path how to

2007-06-11 Thread temp temp
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

[JAVA] anti virus integration with java

2007-06-12 Thread temp temp
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.

best practices for passing long list of parameters across pages

2007-06-21 Thread temp temp
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.

[JAVA] using clas.forname()

2007-07-18 Thread temp temp
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.

RE: [JAVA] using clas.forname()

2007-07-18 Thread temp temp
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

Struts 1.1 multiple modules and application resources

2007-08-20 Thread temp temp
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

Multiple application-resource property files in struts 1.1

2007-08-21 Thread temp temp
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

writing dynamic content using JspWriter out

2007-09-12 Thread temp temp
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 ---

Re: [OT] Re: writing dynamic content using JspWriter out

2007-09-12 Thread temp temp
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

Re: [OT] Re: writing dynamic content using JspWriter out

2007-09-12 Thread temp temp
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

Re: [OT] Re: writing dynamic content using JspWriter out

2007-09-12 Thread temp temp
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

Re: [OT] Re: writing dynamic content using JspWriter out

2007-09-12 Thread temp temp
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

Re: [OT] Re: writing dynamic content using JspWriter out

2007-09-12 Thread temp temp
> > > > > > 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]>

servlet-mapping to action servlet

2008-08-14 Thread temp temp
how can map all request to struts action servlet ? will this work /*

[java:Conditional Operators]

2006-03-30 Thread temp temp
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

servlets filters

2006-03-31 Thread temp temp
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

[using class.forname()]

2006-04-03 Thread temp temp
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

convert collection to excel spread sheet

2006-04-07 Thread temp temp
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

including taglib in jsp

2006-05-05 Thread temp temp
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

Fwd: [java.util.regex ]using Regular Expressions

2006-05-10 Thread temp temp
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

Browser Back Button

2006-05-11 Thread temp temp
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.

Re: Browser Back Button

2006-05-12 Thread temp temp
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

How to dertermine the url from which a request is made ?

2006-05-15 Thread temp temp
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

Re: Browser Back Button

2006-05-15 Thread temp temp
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

How to dertermine the url from which a request is made ?

2006-05-15 Thread temp temp
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

Re: Browser Back Button

2006-05-16 Thread temp temp
* /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

PDF forms

2006-05-16 Thread temp temp
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 ---

Re: PDF forms

2006-05-16 Thread temp temp
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

struts token

2006-05-18 Thread temp temp
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.

Re: struts token

2006-05-19 Thread temp temp
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

  1   2   >