akshit kumar

Greenhorn
+ Follow
since Jul 03, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by akshit kumar

Could anyone please provide the basic security flaws in a web app or the normal app we make how to avoid them and secure your app or web app
just from the application programmer point of view. Some links please...

13 years ago
you can check the dao by running the application directly through a simple.java class and pas parameters there
anyone having any better method for this... :
Thanks a lot for the sans info ... hope it turns out to be glamrous field in the years to come
is anybody hagin more info on javaWithSecurity certification please share...
it is just a matter of prespective you can argue about it all day long

i prefer to use hibenate with .hbm fiels while other prefer with annotations and we both had our
points.
As such no official certificaition for design patterns .
for uml check omg and ibm certs. good luck
AS such no official certification for struts and hibernate only the JPA is coverd in certification which is a sort of standard rather than the
framework like hibernate.
No specific certification as such better to go for JPA standard rather than hibernate certification becaus there is no officail certificatioin.
check sun certifiacation now oracle website.
So if there is no official certification for the hibernate. which certifications are available in market which are at least having a bit recogniation ..???
if any ....
i am not clear on question but this approach you can use

13 years ago

Richard Golebiowski wrote:From your question I don't know if you are having a problem calling an action to return the result or a problem display the result or noresult pages so I'll cover it all etc. ...............................................................................................................


I think I didn't phrased the question right so you misunderstood me anyways for other here is the solution for any page to be displayed in your tiles
if that a jsp page is getting called from other jsp say on submission of login.jsp page
you need to do two things notice the name "login.success" below
13 years ago
let me rephrase the questions,,,,,

i am using struts 1.x and with tiles...
now if something goes wrong in the application due to tiles how to log those things...only due to tiles... i want to log those things if possible then how ???

what about the file "commons-loggin.properties "
org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog

and how to use it "simplelog.properties"
# Logging detail level,
# Must be one of ("trace", "debug", "info", "warn", "error", or "fatal").
org.apache.commons.logging.simplelog.defaultlog=trace

any links for further reference or working example would be helpful.

and thanks for the prompt replies.
========================

And for Jay Shukla

to set the logging --->set it in log4j.propeties
change logging level to "debug"
following are the logging levels ("trace", "debug", "info", "warn", "error", or "fatal"). Search them out.

and if using tomcat start it by going to webapps/bin --> the console displays lot of information.

and lastly have some and post the helpful links.
good luck
13 years ago
check your WEB-INF.XML what is the configuration file you are specifying
struts-config.xml file. or struts-config2.xml file or are you using "switch action"
may be some problem with that
Please re-phrase the question.

cheers

13 years ago
Question -> running the application with tiles classic layout it is working fine.
now clicking on the Search the Search page getting displayed

when user press submits the query on "Search page" want to navigate to --> "Result.jsp" OR "NoResult.jsp"
but both jsp [ "Result.jsp" OR "NoResult.jsp" ] should be displayed in the body part of the tiles
i can't figure out how to do it below is my working code.
that is how to submit the request so it gets displayed using tiles



--------------------linkAction.java-------------------

---------------------------------Menu.jsp----------------------

---------------------------------Struts-config.xml--------------------

-------------------------------------and the tiles-defs.xml------------------------------



Thanks in Advance.....
====================
13 years ago