Hello Rupali ,
thanks for the links and advice,
Can i also ask, is there a way i can simulate the code in my local system as
it will work on the server. As i feel that the Desktop i am using is a bit
fast then the server i use, i need to test that the code is not consuming
more resources mainly fro
Hi,
The advantage of the post parameter is that it can't be viewed by the user in
the url. But a attacker can still edit the header and attack the application
without much trouble.
To improve security you can validate the parameter properly where you receive
the parameter. For example number
Hi,
I don't think its a good idea to expose the URLs to the users in a secure
application. Avoid GET requests and stick to POST. Also, sticking to
request forwarding instead of redirects will keep the URL fixed on the
browser's address bar. You might have some issues with back button because
o
On 6/2/10 11:22 PM, Stephane Cosmeur wrote:
I would like to improve the security of my web application. My problem is I
would like to encrypt the visible parameters in the URL to prevent user to
change it to access data he should not see.
No amount of obfuscation can prevent someone from eventu
Hello,
I would like to improve the security of my web application. My problem is I
would like to encrypt the visible parameters in the URL to prevent user to
change it to access data he should not see.
At start i thought the simple attribute encode of s:url will work for what i
need, but it's not
Hi,
We use freemarker results. I'd also like to use freemarker templates to
build an email message.
Can I access the current freemarker configuration object inside my
action? I've seen examples
of how to create a NEW configuration object, but that's not as good. In
particular, I'd like to
stor
Thanks for your response Pawel,
I am still having problems, so I have included a sample setup. I am using
Eclipse and GlassFish v3. The files in my WAR are:
/images/logo.gif
/META-INF/MANIFEST.MF
/WEB-INF/classes/com/example/
actions/MainSite.class
/WEB-INF/classes/struts.xml
/WEB-INF
Thanks for your response Pawel,
I am still having problems, so I have included a sample setup. I am using
Eclipse and GlassFish v3. The files in my WAR are:
/images/logo.gif
/META-INF/MANIFEST.MF
/WEB-INF/classes/com/example/
actions/MainSite.class
/WEB-INF/classes/struts.xml
/WEB-INF
Thanks for your response Pawel,
I am still having problems, so I have included a sample setup. I am using
Eclipse and GlassFish v3. The files in my WAR are:
/images/logo.gif
/META-INF/MANIFEST.MF
/WEB-INF/classes/com/example/actions/MainSite.class
/WEB-INF/classes/struts.xml
/WEB-INF/
On Wednesday 02 June 2010 18:14:29 Dale Newfield wrote:
> On 6/2/10 7:29 AM, RogerV wrote:
> > I'm using the Exec&Wait interceptor in a couple of places. I've noticed
> > that while the long running process is in progress, every time the wait
> > screen polls the action I get [WARN,TokenHelper] Cou
You should not write java code inside JSPs, it's very hard to maintain.
You should use Struts taglib and JSTL taglibs.
Look at the tag and also ${} to display bean values.
Cimballi
On Wed, Jun 2, 2010 at 12:22 PM, Emi Lu wrote:
>>> Could someone tell me how to read actionForm's bean value plea
Could someone tell me how to read actionForm's bean value please?
(1) Bean.java
String name;
... ...
You have a getName and setName methods right?
(2) Action class
public class ProcessAction extends ActionSupport
{
Bean bean1 = new Bean();
... ...
}
You have a getBean and se
Good morning List,
Could someone tell me how to read actionForm's bean value please?
(1) Bean.java
String name;
... ...
(2) Action class
public class ProcessAction extends ActionSupport
{
Bean bean1 = new Bean();
... ...
}
(3) JSP file
Here is my question!
<%
String name = bean1.
On 6/2/10 7:29 AM, RogerV wrote:
I'm using the Exec&Wait interceptor in a couple of places. I've noticed that
while the long running process is in progress, every time the wait screen
polls the action I get [WARN,TokenHelper] Could not find token mapped to
token name struts.token in my logs.
Ex
Use the tag to generate the URL to the css file, this will
ensure it has the correct context.
Like this:
This will generate the correct path even if you deploy your app in a
context other then root.
On Wed, Jun 2, 2010 at 9:36 AM, wrote:
> It would make sense to use absolute links rather th
It would make sense to use absolute links rather than relative ones. Your
CSS folder you shoudl put on your root and always link to it with
"/css/blah.css" and the same with images then you wont get into directory
problems.
Chris
> You should not call your page from a link but always go through a
You should not call your page from a link but always go through an action.
It is more secure and also it would solve your problem.
Nevertheless, one solution is to use the tag.
Cimballi
On Wed, Jun 2, 2010 at 3:12 AM, Guy Thomas wrote:
> Hallo,
>
> On a jsp page booksearchresult.jsp I have ad
thanks for the info that was very useful...
--
Thanks and Regards
Upasana Sharma
On Wed, May 12, 2010 at 9:35 PM, Emi Lu wrote:
> Hello,
>
> Can someone have the permission update this document
> http://struts.apache.org/2.1.8.1/docs/datetimepicker.html
>
> By adding:
>
>
> Also need to be s
I'm using the Exec&Wait interceptor in a couple of places. I've noticed that
while the long running process is in progress, every time the wait screen
polls the action I get [WARN,TokenHelper] Could not find token mapped to
token name struts.token in my logs.
I was wondering why? Is there some fe
Hallo,
On a jsp page booksearchresult.jsp I have added a link to a stylesheet in the
html-header:
/apps/intrabib/booksearchresult.jsp
...
sometimes as the result of a link (case B):
http://localhost:8080/intrabib/apps/intrabib/booksearchresult.jsp?...
The css folder is in the
20 matches
Mail list logo