Hello mythaeus,
I know struts has role-based authorization, actually I'm using it, but my problem comes when my application generates .jsp files as a result of a xml transformation.
In order to make them work as a normal struts application, the transformation will need to generate .class code...
Hello,
For those dealing with a similar situation:
a servlet filter could be used, struts doesn't includes but role based authorization, when needed to add .jsp files dinamically a pattern action and filter could be used.
Regards,
OO
Finally I was answered,
For those who have dealed with the same situation, the solution is:
${requestScope['issueForm'].map.idIssue}
Note the .map attribute added to the sentence,
I don't really know why resin was working with and without it, but now it's working in both containers.
Thanks...
Hello all,
these simple line is driving me crazy:
<c:set var="idIssue" value="${requestScope['issueForm'].idIssue}" scope="page"/>
I'm using struts 1.2.4 and jstl 1.0, the above code woks fine while using resin 2.1.9 locally in my pc.
when I uploaded the appto my hosting provider it didnt...
Hello folks,
I posted this thread in java sun, and still waiting "any" response(actually still waiting any response for any of my questions), but, anyway:
During my free time I'm in the process of re-writing a web app I coded in the near past.
It's an online magazine builder, basically, this...
I wish I provide you with relevant data but remember that somebody is hosting the site not my local PC and somebody's tomcat is giving me the above error, I can't browse the files to find the log files since the file Browser they offered me is a .jsp application, since my tomcat doesn't startup...
I have tried first:
CATALINA_OPTS="$CATALINA_OPTS "-Dezine.properties=/usr/local/shared/tomcat/orly_otero/webapps/ezine/WEB-INF/ezine.properties
and then
CATALINA_OPTS="$CATALINA_OPTS -Dezine.properties=/usr/local/shared/tomcat/orly_otero/webapps/ezine/WEB-INF/ezine.properties"
in both cases...
Hi guys,
I need to start tomcat initiating a system property that has app properties in it, kind of:
-DpropName=propValue
I have modified catalina.sh and startup.sh and I could not accomplish this GOAL.
Regards,
OO
I came up with:
Create table #T(
this_pk int identity(1,1),
other_pk sql_variant, /*not all PKs are of the same type*/
)
go
INSERT INTO #T (other_pk)
SELECT TOP 25250 CAST(rc_AdNo AS SQL_VARIANT) FROM tblRecorder
ORDER BY rc_ListName, rc_AdNo ASC
SELECT */*or specific...
wow, fractions of sec.
very very very nice
amazing
thanks a lot
now I have to adapt it to my needs which not always the criteria filter and PK are going to be varchar and int
by the way, this is a newbie question,
does sqlserver support a kind of variant or void data type, I mean a data...
but I don't understand what:
-- find unique values for 1000th row according to ORDER BY
select top 1000 @rc_AdNo = rc_AdNo, @rc_ListName = rc_ListName
from tblRecorder
order by rc_ListName, rc_AdNo
will produce, I have used that kind of assigment when I'm sure of retrieving just one row, in...
vongrunt, I didn't understand that one,
rc_ListName could be found many times in the table, the PK of tblRecorder is rc_AdNo, the other fields could be found more that once, phones could be repeated, Sale amounts too, Advertisement names too, the only field that is going to be unique is rc_AdNo...
I'm not going to need R.*, now the query is:
SELECT R.rc_AdNo, R.rc_ListPhone, R.rc_SaleAmount, PB.pb_PubType, PB.pb_PubName, PR.pr_Desc FROM tblRecorder R
LEFT OUTER JOIN tblPublication PB ON R.rc_Directory=PB.pb_RecNo
LEFT OUTER JOIN tblProducts PR ON R.rc_Product=PR.pr_ProdNo WHERE...
OK, PK rc_AdNo field from tblRecorder,
and the ORDER BY cluase could contain:
_ rc_ListName(String) from tblRecorder,
rc_Directory is a field in tblRecorder that references a directory id in tblPublications, and the user could choose to order the Publication name, that left us as follow:
_...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.