asdf lkjh

Greenhorn
+ Follow
since Oct 17, 2008
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by asdf lkjh

Hi
From what you've provided, it looks like, it did not find the xml's at the mentioned path.

Please check if the XML files are present under WEB-INF/.
16 years ago
What is the motive behind calling a different application?
Are you trying hit some servlet running on the URL and get the data? or simple forward?

In any case the custom forward will not help you. It will be altogether different solution. Please let us know what you want to achieve by calling an outside application.
16 years ago
Depends on what you want to achieve.
16 years ago
Please make sure you put a little more description for the question. Make the guesswork less for the people who read the questions.

Please provide more information about the scenario, to increase your chances of getting it resolved.
16 years ago
@Mike: Don't get confused between jsp and servlets.

JSP's should be HTML with small Java.
Servlets should be Java with little or no HTML
16 years ago
JSP
We had a similar requirement in our application, we solved it by displaying a gif image on every sumbit (which has a marquee arrow which moved back and forth.) But the Unix server on which we have hosted our application did not animate the gif image, so, we had to take 50 images and rotate them in the loop. (second one is very bad solution, but it worked.)
16 years ago
JSP
If the question is still relevent
<code>
<html:img action="/ImageAction.do?imageId='<%=imageIds[0] %>'" height="100" width="100"/> </code>

Remove '' that surrounds <%=imageIds[0] %>
16 years ago
If you image and jsp file are under same directory, you can give just a name of the image.
16 years ago
JSP
I think you can specify the session timeout in web.xml as:

<web-app>
<session-config>
<session-timeout>60</session-timeout>
</session-config>

...
</web-app>
16 years ago
doGet() or doPost() methods will be called based on what method you define in the jsp/html i.e. if you define method="post", doPost() will be called, and if you define method="get", doGet() will be called.
And again there is easiest way to find out what is getting called when, by using either debugger or logs
16 years ago
This is indeed not-so-easy to implement task. You will need to create 3 separate entities in the system:
1) User Group:
2) Permissions:
3) User:

Then, define/assign permissions to each user group, and assign user to the group. You can at the time of log-in set the user group into the session and perform the checks based on that. I have implemented such a system and know the pain of it. I would be glad to help you further. wish you all the luck
16 years ago