This week's book giveaway is in the Server-Side JavaScript and NodeJS forum.
We're giving away four copies of Modern JavaScript for the Impatient and have Cay Horstmann on-line!
See this thread for details.
Win a copy of Modern JavaScript for the Impatient this week in the Server-Side JavaScript and NodeJS forum!

Alex Sh

Greenhorn
+ Follow
since Dec 10, 2012
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
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Alex Sh

Yes, i know it, but how don't use action in URL. I want to give the same result when i do: <forward name="edit" path="newsedit.jsp" redirect="true">; change it on <forward name="edit" path="newsedit" redirect="true"> - and will give the same effect. I need use only tiles-defs.xml for definition tiles, don't definition tiles in jsp.
7 years ago
First is correct. I don't want to handle action when i refresh page, i want to refresh anly page, may be page must saved in cache and load from cache.
7 years ago
Hi, Shailesh!

I have progect, in it i use Struts + Spring frameworks: Struts MVC, tiles; Spring IoC. When i go to page, the URL is: (e.g.) localhost/Project/NewsAction?actionMethod=edit. And when i reload page, it send request on server, but i want to redirect on page and cause the action when submit form. Page consists of tiles. I can make <tiles:insert definition="newsedit"> in jsp, and it will be work, but i must declare tiles only in tiles-def.xml.

my tiles-def.xml:



struts-config.xml:

7 years ago
Hello, I need help in Struts tiles framework. How to make loading jsp in the URL is not recorded action, ie page is loaded and is in action, and when it restarts the browser sends a request to the server, it is necessary that it was not. Page layout should be done only in the tiles-defs.xml.
7 years ago

Alex Sh wrote:Thenk all for the farst ansveres! I found ansver by himself!

7 years ago
thenx all for the first ansveres! I found ansver by himself!
7 years ago
Hi, coderanch!

I use Struts 1.x and have problem with client side validation. Struts generate validation script in JSP, i transfer this script from JSP to .js file, that it was cashed in client computer. But localisation doesn't save. For other language i need generate new validation script - it's problem. My boss give me advice: create new jsp when will be generate validation script. How do transfer Struts validation script from JSP to .js file keeping localization?
7 years ago