You are correct that normally you would user but this
isnt possible via a hyperlink where your only real choice is to do it as http://www.blah.com?param1=value1¶m2=value2. . . "> etc.
So your choices are to either use a button (to perform the submit action on
the form) or to make an image of som
These do work, I was incorrect in my earlier message :)
Specifically, the second one requires a blank href value as he shows
Sorry if my earlier post confused you, wasnt thinking correctly this early
on monday :)
J
> You can do this by using Javascript.
>
>
>
>
>
>
> A link that posts
>
>
Quick question
Has anyone implemented a method to access the username of the person logged
into an NT system through a JSP in any way? Specifically the username of
the person accessing the jsp through a browser.
Sort of like using System.getProperty("user") from a JSP (sorta)
I remember readin
Quick question
Has anyone implemented a method to access the username of the person logged
into an NT system through a JSP in any way? Specifically the username of
the person accessing the jsp through a browser.
Sort of like using System.getProperty("user") from a JSP (sorta)
I remember readin
Hello there folks
I was wondering what would be my best approach to performing secure
authentication on an NT network through a jsp?
Currently I am mirroring all accounts that exist on the domain controller in
order to determine access levels and employee information (in a db). I was
wondering
Hi all,
Was just wondering if there was a way to call a constructor other than the
default one using
For example,
// Default constructor
MyBean() {
testVal = 0;
}
// Something different
MyBean(int i) {
testVal = i;
}
I understand I can do something like this:
<%
MyBean m = new MyBean(1
u use
> <% MyBean testBean = new MyBean("Karl") %>
> then the other constuctor will be used. The thing is the
> tag is
> a generic bean loader and has to have a standard method of
> launching all beans.
> The only thing I can sugest is for you to write your own
Here is one way to do what you are attempting in javascript
Lets assume you have a group of divisions and a larger group of deparments
which each belong to one of the divisions.
The divisions have ID values and the departments have a parent division in
the database
(I am utilizing scriptlets in
Assuming i have this in a file called test.jsp
Is there an easy way to update the url so that it shows the true location of
the file http://blah.net/somepage.jsp instead of http://blah.net/test.jsp ?
URL rewriting was a possible option but I cant figure out how to make it
work if i want to mov
If you are binding an object to the session for the life of the application
(to pass the connection across multiple pages), you can simply extend
HttpSessionBindingListener (in your bean) and add a method similar to:
public void valueUnbound(HttpSessionBindingEvent e) {
connection.close()
Has anyone checked out the following book:
Professional Java XML Programming with Servlets and JSP (Wrox Pres)
If so would someone be so kind as to post a review of this book or point me
to a URL where one can be found?
amazon.com, fatbrain.com and bn.com were all lacking reviews.
Thank
This question seems very elementary but:
I have heard these things mentioned a few times and seen them mentioned in
passing and was wondering if anyone has a link to some sort of tutorial or
good explanation of creating custom "taglets"?
Up until now I have performing dual duties creating both t
Hi all, this is a fairly elementary question but I cant seem to dig up an
answer or tutorial that covers this clearly.
I want to have something like
output "The value is Something" to the page
I have seen a number of examples (and even wrote a few of my own tags) which
extend BodyTagSupport an
Title: JSPs and Orion app server
Fiorini,
It
would be much easier to help you if you could describe the error you are
receiving or possibly paste the error message in your email.
Is it
404 Error?
jsp
error?
500 Error?
Try to
view the page in netscape as it typically gives more meaningful
I searched through the archives and didnt find a resolution so I thought I
would ask. . .
I am getting java.lang.NullPointerException anywhere I attempt to use
Jason's MultipartRequest class.
I have even copied the exact example from
http://www.servlets.com/book/examples/ch04/UploadTest.java and
Hi all,
I have a fairly trivial problem but cant seem to figure out a good solution.
I am writing a very simple jsp page which searches a database. I want to
utilize beans to represent the objects returned (as some sort of collection)
to simplify the display.
What would be the easiest way to i
This message is rather long, just a warning. . .
Hello all,
I would like to start this message by thanking those who have contributed to
the model 2 discussion that I have been following. After reading (and
re-reading) over the threads, I thought it would be a good time to discuss
my design str
> Dynamic class loading (without fleshing out the error
> handling) looks like this:
>
> String actionClassName = ...;// Whatever action class you need
> Class actionClass = Class.forName(actionClassName);
> Action action = (Action) actionClass.newInstance();
How do I make this
Well, I actually got the controller -> Action class model working
appropriately (Thanks to all those who answered all these trivial questions
of mine). . . .but I have another question.
What sort of methods are others out there using to obtain a "match part"
from the requestURI? I am ripping the
Peter,
> The expression :
>
> <%=
> inputparams.getAreatype().equals("Nativeforest")?"Checked" :
> "Notchecked" %>
>
> compiles OK but crashes the JSP
I assmune the jsp crashing you are getting is a NullPointerException being
thrown?
If so, the most likely cause of this is inputparams.getAreat
Hello folks,
I think this question may be more j2ee than simply model 2 related, but
thought I would give it a shot here. I would like to utilize the security
mechanisms built into the j2ee (and servlet 2.2) spec but with a custom
authentication module.
More specifically, I want to be able to d
I asked:
> >More specifically, I want to be able to define security constraints using
> > the url-pattern matching techniques in the web.xml portion of my .war
(which
> > is a portion of my .ear) but use an external application (or servlet or
> > whatever) to assign users to groups. This would al
Hello all,
I have some questions about some design ideas regarding a particular type of
app that I have never tried to construct before so thought I would post them
here as there are a number of very intelligent application designers with
lots of experience integrating a number of technologies to
23 matches
Mail list logo